qtmaterialprogress_p.h 747 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef QTMATERIALPROGRESS_P_H
  2. #define QTMATERIALPROGRESS_P_H
  3. #include <QtGlobal>
  4. #include <QColor>
  5. #include "lib/qtmaterialtheme.h"
  6. class QtMaterialProgress;
  7. class QtMaterialProgressDelegate;
  8. class QtMaterialProgressPrivate
  9. {
  10. Q_DISABLE_COPY(QtMaterialProgressPrivate)
  11. Q_DECLARE_PUBLIC(QtMaterialProgress)
  12. public:
  13. QtMaterialProgressPrivate(QtMaterialProgress *q);
  14. ~QtMaterialProgressPrivate();
  15. void init();
  16. QtMaterialProgress *const q_ptr;
  17. QtMaterialProgressDelegate *delegate;
  18. Material::ProgressType progressType;
  19. QColor progressColor;
  20. QColor backgroundColor;
  21. bool useThemeColors;
  22. };
  23. #endif // QTMATERIALPROGRESS_P_H