qt-material-widgets/components/progress_p.h

33 lines
653 B
C
Raw Normal View History

2022-02-17 15:17:19 +00:00
#ifndef PROGRESS_P_H
#define PROGRESS_P_H
2017-09-29 13:33:26 +00:00
#include <QtGlobal>
#include <QColor>
2022-02-17 15:17:19 +00:00
#include "lib/theme.h"
2022-02-17 02:33:48 +00:00
namespace md
{
2017-09-29 13:33:26 +00:00
2022-02-17 02:33:48 +00:00
class ProgressBar;
class ProgressBarDelegate;
2017-09-29 13:33:26 +00:00
2022-02-17 02:33:48 +00:00
class ProgressBarPrivate
2017-09-29 13:33:26 +00:00
{
2022-02-17 02:33:48 +00:00
Q_DISABLE_COPY(ProgressBarPrivate)
Q_DECLARE_PUBLIC(ProgressBar)
2017-09-29 13:33:26 +00:00
public:
2022-02-17 02:33:48 +00:00
ProgressBarPrivate(ProgressBar *q);
~ProgressBarPrivate();
2017-09-29 13:33:26 +00:00
void init();
2022-02-17 02:33:48 +00:00
ProgressBar *const q_ptr;
ProgressBarDelegate *delegate;
2017-09-29 13:33:26 +00:00
Material::ProgressType progressType;
QColor progressColor;
QColor backgroundColor;
bool useThemeColors;
};
2022-02-17 02:33:48 +00:00
}
2022-02-17 15:17:19 +00:00
#endif // PROGRESS_P_H