ArchitectureColoredPainting/qt-material-widgets/components/qtmaterialdrawer_p.h

34 lines
837 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#ifndef DRAWER_P_H
#define DRAWER_P_H
#include <QObject>
class QtMaterialDrawer;
class QtMaterialDrawerWidget;
class QtMaterialDrawerStateMachine;
class QtMaterialDrawerPrivate
{
Q_DISABLE_COPY(QtMaterialDrawerPrivate)
Q_DECLARE_PUBLIC(QtMaterialDrawer)
public:
QtMaterialDrawerPrivate(QtMaterialDrawer *q);
~QtMaterialDrawerPrivate();
void init();
void setClosed(bool value = true);
QtMaterialDrawer *const q_ptr;
QtMaterialDrawerWidget *widget;
QtMaterialDrawerStateMachine *stateMachine;
QWidget *window;
int width;
bool clickToClose;
bool autoRaise;
bool closed;
bool overlay;
};
#endif // DRAWER_P_H