qt-material-widgets/components/qtmaterialcircularprogress_p.h

35 lines
814 B
C
Raw Normal View History

2017-09-29 09:14:01 +00:00
#ifndef QTMATERIALCIRCULARPROGRESS_P_H
#define QTMATERIALCIRCULARPROGRESS_P_H
#include <QtGlobal>
#include "lib/qtmaterialtheme.h"
2022-02-17 01:06:18 +00:00
namespace md
{
2017-09-29 09:14:01 +00:00
2022-02-17 01:06:18 +00:00
class CircularProgress;
class CircularProgressDelegate;
2017-09-29 09:14:01 +00:00
2022-02-17 01:06:18 +00:00
class CircularProgressPrivate
2017-09-29 09:14:01 +00:00
{
2022-02-17 01:06:18 +00:00
Q_DISABLE_COPY(CircularProgressPrivate)
Q_DECLARE_PUBLIC(CircularProgress)
2017-09-29 09:14:01 +00:00
public:
2022-02-17 01:06:18 +00:00
CircularProgressPrivate(CircularProgress *q);
~CircularProgressPrivate();
2017-09-29 09:14:01 +00:00
void init();
2022-02-17 01:06:18 +00:00
CircularProgress *const q_ptr;
CircularProgressDelegate *delegate;
2017-09-29 09:14:01 +00:00
Material::ProgressType progressType;
QColor color;
qreal penWidth;
int size;
bool useThemeColors;
};
2022-02-17 01:06:18 +00:00
}
2017-09-29 09:14:01 +00:00
#endif // QTMATERIALCIRCULARPROGRESS_P_H