31 lines
741 B
C
31 lines
741 B
C
|
#ifndef CIRCULARPROGRESS_P_H
|
||
|
#define CIRCULARPROGRESS_P_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include "lib/theme.h"
|
||
|
|
||
|
class CircularProgress;
|
||
|
class CircularProgressDelegate;
|
||
|
|
||
|
class CircularProgressPrivate
|
||
|
{
|
||
|
Q_DISABLE_COPY(CircularProgressPrivate)
|
||
|
Q_DECLARE_PUBLIC(CircularProgress)
|
||
|
|
||
|
public:
|
||
|
CircularProgressPrivate(CircularProgress *q);
|
||
|
~CircularProgressPrivate();
|
||
|
|
||
|
void init();
|
||
|
|
||
|
CircularProgress *const q_ptr;
|
||
|
CircularProgressDelegate *const delegate;
|
||
|
Material::ProgressType progressType;
|
||
|
int size;
|
||
|
qreal penWidth;
|
||
|
QColor color;
|
||
|
bool useThemeColors;
|
||
|
};
|
||
|
|
||
|
#endif // CIRCULARPROGRESS_P_H
|