qt-material-widgets/components/circularprogress_p.h

35 lines
774 B
C
Raw Normal View History

2022-02-17 15:17:19 +00:00
#ifndef CIRCULARPROGRESS_P_H
#define CIRCULARPROGRESS_P_H
2017-09-29 09:14:01 +00:00
#include <QtGlobal>
2022-02-17 15:17:19 +00:00
#include "lib/theme.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
}
2022-02-17 15:17:19 +00:00
#endif // CIRCULARPROGRESS_P_H