2016-06-18 09:11:42 +00:00
|
|
|
#ifndef PROGRESS_P_H
|
|
|
|
#define PROGRESS_P_H
|
|
|
|
|
2016-06-18 09:12:20 +00:00
|
|
|
#include <QObject>
|
2016-06-19 09:18:05 +00:00
|
|
|
#include "lib/theme.h"
|
2016-06-18 09:12:20 +00:00
|
|
|
|
|
|
|
class Progress;
|
2016-06-19 09:49:55 +00:00
|
|
|
class ProgressDelegate;
|
2016-06-18 09:12:20 +00:00
|
|
|
|
|
|
|
class ProgressPrivate
|
|
|
|
{
|
|
|
|
Q_DISABLE_COPY(ProgressPrivate)
|
|
|
|
Q_DECLARE_PUBLIC(Progress)
|
|
|
|
|
|
|
|
public:
|
|
|
|
ProgressPrivate(Progress *q);
|
|
|
|
~ProgressPrivate();
|
|
|
|
|
|
|
|
void init();
|
|
|
|
|
2016-06-21 12:09:16 +00:00
|
|
|
Progress *const q_ptr;
|
|
|
|
ProgressDelegate *const delegate;
|
|
|
|
Material::ProgressType progressType;
|
|
|
|
QColor progressColor;
|
|
|
|
QColor backgroundColor;
|
|
|
|
bool useThemeColors;
|
2016-06-18 09:12:20 +00:00
|
|
|
};
|
|
|
|
|
2016-06-18 09:11:42 +00:00
|
|
|
#endif // PROGRESS_P_H
|