2017-09-29 13:33:26 +00:00
|
|
|
#ifndef QTMATERIALPROGRESS_P_H
|
|
|
|
#define QTMATERIALPROGRESS_P_H
|
|
|
|
|
|
|
|
#include "lib/qtmaterialtheme.h"
|
2022-07-05 07:49:55 +00:00
|
|
|
#include <QColor>
|
|
|
|
#include <QtGlobal>
|
2017-09-29 13:33:26 +00:00
|
|
|
|
|
|
|
class QtMaterialProgress;
|
|
|
|
class QtMaterialProgressDelegate;
|
|
|
|
|
|
|
|
class QtMaterialProgressPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(QtMaterialProgressPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(QtMaterialProgress)
|
|
|
|
|
|
|
|
public:
|
|
|
|
QtMaterialProgressPrivate(QtMaterialProgress *q);
|
|
|
|
~QtMaterialProgressPrivate();
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
2022-07-05 07:49:55 +00:00
|
|
|
QtMaterialProgress *const q_ptr;
|
2017-09-29 13:33:26 +00:00
|
|
|
QtMaterialProgressDelegate *delegate;
|
2022-07-05 07:49:55 +00:00
|
|
|
Material::ProgressType progressType;
|
|
|
|
QColor progressColor;
|
|
|
|
QColor backgroundColor;
|
|
|
|
bool useThemeColors;
|
2017-09-29 13:33:26 +00:00
|
|
|
};
|
|
|
|
|
2022-07-05 07:49:55 +00:00
|
|
|
#endif // QTMATERIALPROGRESS_P_H
|