qt-material-widgets/components/qtmaterialdialog_p.h

40 lines
732 B
C
Raw Normal View History

2017-09-29 23:15:08 +00:00
#ifndef QTMATERIALDIALOG_P_H
#define QTMATERIALDIALOG_P_H
#include <QtGlobal>
2022-02-17 14:21:05 +00:00
#include <QtWidgets/QApplication>
#include <QtWidgets/QStackedLayout>
#include <QtWidgets/QGraphicsDropShadowEffect>
2022-02-17 14:21:05 +00:00
#include <QStateMachine>
#include <QState>
#include <QPropertyAnimation>
#include <QPainter>
2022-02-17 02:15:21 +00:00
namespace md
{
2017-09-29 23:15:08 +00:00
2022-02-17 02:15:21 +00:00
class Dialog;
class DialogWindow;
class DialogProxy;
2017-09-29 23:15:08 +00:00
2022-02-17 02:15:21 +00:00
class DialogPrivate
2017-09-29 23:15:08 +00:00
{
2022-02-17 02:15:21 +00:00
Q_DISABLE_COPY(DialogPrivate)
Q_DECLARE_PUBLIC(Dialog)
2017-09-29 23:15:08 +00:00
public:
2022-02-17 02:15:21 +00:00
DialogPrivate(Dialog *q);
~DialogPrivate();
2017-09-29 23:15:08 +00:00
void init();
2022-02-17 02:15:21 +00:00
Dialog *const q_ptr;
DialogWindow *dialogWindow;
2017-09-29 23:15:08 +00:00
QStackedLayout *proxyStack;
QStateMachine *stateMachine;
2022-02-17 02:15:21 +00:00
DialogProxy *proxy;
2017-09-29 23:15:08 +00:00
};
2022-02-17 02:15:21 +00:00
}
2017-09-29 23:15:08 +00:00
#endif // QTMATERIALDIALOG_P_H