2017-07-21 16:21:34 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
2023-04-06 07:23:37 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2017-07-21 16:21:34 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
2021-08-04 08:11:12 +00:00
|
|
|
#pragma once
|
2017-07-21 16:21:34 +00:00
|
|
|
|
|
|
|
#include <QskDialog.h>
|
2018-08-03 06:15:28 +00:00
|
|
|
#include <QskWindow.h>
|
2017-07-21 16:21:34 +00:00
|
|
|
|
|
|
|
class QskDialogButtonBox;
|
|
|
|
class QskLinearBox;
|
|
|
|
|
|
|
|
class Window : public QskWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
public:
|
2017-07-21 16:21:34 +00:00
|
|
|
Window( Qt::Orientation );
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
private Q_SLOTS:
|
2017-07-21 16:21:34 +00:00
|
|
|
void flipOrientation();
|
|
|
|
void centerButtons();
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
private:
|
2018-11-05 12:29:52 +00:00
|
|
|
void addBox( QskDialog::Actions );
|
2017-07-21 16:21:34 +00:00
|
|
|
void addActionBox();
|
|
|
|
|
|
|
|
QVector< QskDialogButtonBox* > dialogBoxes() const;
|
|
|
|
Qt::Orientation invertedOrientation() const;
|
|
|
|
|
2018-08-03 06:15:28 +00:00
|
|
|
private:
|
2017-07-21 16:21:34 +00:00
|
|
|
QskLinearBox* m_layoutBox;
|
|
|
|
Qt::Orientation m_orientation;
|
|
|
|
};
|