2017-09-29 09:14:01 +00:00
|
|
|
#ifndef QTMATERIALCIRCULARPROGRESS_P_H
|
|
|
|
#define QTMATERIALCIRCULARPROGRESS_P_H
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
|
|
|
#include "lib/qtmaterialtheme.h"
|
|
|
|
|
|
|
|
class QtMaterialCircularProgress;
|
|
|
|
class QtMaterialCircularProgressDelegate;
|
|
|
|
|
|
|
|
class QtMaterialCircularProgressPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(QtMaterialCircularProgressPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(QtMaterialCircularProgress)
|
|
|
|
|
|
|
|
public:
|
|
|
|
QtMaterialCircularProgressPrivate(QtMaterialCircularProgress *q);
|
|
|
|
~QtMaterialCircularProgressPrivate();
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
|
|
|
QtMaterialCircularProgress *const q_ptr;
|
|
|
|
QtMaterialCircularProgressDelegate *delegate;
|
2021-06-30 09:30:12 +00:00
|
|
|
MaterialConst::ProgressType progressType;
|
2017-09-29 09:14:01 +00:00
|
|
|
QColor color;
|
|
|
|
qreal penWidth;
|
|
|
|
int size;
|
|
|
|
bool useThemeColors;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTMATERIALCIRCULARPROGRESS_P_H
|