2016-06-18 09:11:42 +00:00
|
|
|
#ifndef CIRCULARPROGRESS_P_H
|
|
|
|
#define CIRCULARPROGRESS_P_H
|
|
|
|
|
2016-06-18 09:15:39 +00:00
|
|
|
#include <QObject>
|
2016-06-19 09:17:47 +00:00
|
|
|
#include "lib/theme.h"
|
2016-06-18 09:15:39 +00:00
|
|
|
|
|
|
|
class CircularProgress;
|
2016-06-19 09:17:47 +00:00
|
|
|
class CircularProgressDelegate;
|
2016-06-18 09:15:39 +00:00
|
|
|
|
|
|
|
class CircularProgressPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(CircularProgressPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(CircularProgress)
|
|
|
|
|
|
|
|
public:
|
|
|
|
CircularProgressPrivate(CircularProgress *q);
|
|
|
|
~CircularProgressPrivate();
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
2016-06-21 10:19:10 +00:00
|
|
|
CircularProgress *const q_ptr;
|
|
|
|
CircularProgressDelegate *const delegate;
|
2016-06-19 09:17:47 +00:00
|
|
|
Material::ProgressType progressType;
|
|
|
|
int size;
|
|
|
|
qreal penWidth;
|
|
|
|
QColor color;
|
|
|
|
bool useThemeColors;
|
2016-06-18 09:15:39 +00:00
|
|
|
};
|
|
|
|
|
2016-06-18 09:11:42 +00:00
|
|
|
#endif // CIRCULARPROGRESS_P_H
|