qt-material-widgets/components/qtmaterialprogress_p.h

33 lines
693 B
C
Raw Normal View History

2017-09-29 13:33:26 +00:00
#ifndef QTMATERIALPROGRESS_P_H
#define QTMATERIALPROGRESS_P_H
#include <QtGlobal>
#include <QColor>
#include "lib/qtmaterialtheme.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
}
2017-09-29 13:33:26 +00:00
#endif // QTMATERIALPROGRESS_P_H