qtmaterialdrawer_p.h 837 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef DRAWER_P_H
  2. #define DRAWER_P_H
  3. #include <QObject>
  4. class QtMaterialDrawer;
  5. class QtMaterialDrawerWidget;
  6. class QtMaterialDrawerStateMachine;
  7. class QtMaterialDrawerPrivate
  8. {
  9. Q_DISABLE_COPY(QtMaterialDrawerPrivate)
  10. Q_DECLARE_PUBLIC(QtMaterialDrawer)
  11. public:
  12. QtMaterialDrawerPrivate(QtMaterialDrawer *q);
  13. ~QtMaterialDrawerPrivate();
  14. void init();
  15. void setClosed(bool value = true);
  16. QtMaterialDrawer *const q_ptr;
  17. QtMaterialDrawerWidget *widget;
  18. QtMaterialDrawerStateMachine *stateMachine;
  19. QWidget *window;
  20. int width;
  21. bool clickToClose;
  22. bool autoRaise;
  23. bool closed;
  24. bool overlay;
  25. };
  26. #endif // DRAWER_P_H