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

31 lines
747 B
C
Raw Normal View History

2023-03-06 12:38:25 +08:00
#ifndef QTMATERIALPROGRESS_P_H
#define QTMATERIALPROGRESS_P_H
#include <QtGlobal>
#include <QColor>
#include "lib/qtmaterialtheme.h"
class QtMaterialProgress;
class QtMaterialProgressDelegate;
class QtMaterialProgressPrivate
{
Q_DISABLE_COPY(QtMaterialProgressPrivate)
Q_DECLARE_PUBLIC(QtMaterialProgress)
public:
QtMaterialProgressPrivate(QtMaterialProgress *q);
~QtMaterialProgressPrivate();
void init();
QtMaterialProgress *const q_ptr;
QtMaterialProgressDelegate *delegate;
Material::ProgressType progressType;
QColor progressColor;
QColor backgroundColor;
bool useThemeColors;
};
#endif // QTMATERIALPROGRESS_P_H