qt-material-widgets/components/circularprogress_p.h

41 lines
885 B
C++

#ifndef CIRCULARPROGRESS_P_H
#define CIRCULARPROGRESS_P_H
#include <QtGlobal>
#include <QPropertyAnimation>
#include <QParallelAnimationGroup>
#include <QPainter>
#include <QPainterPath>
#include "lib/theme.h"
namespace md
{
class CircularProgress;
class CircularProgressDelegate;
class CircularProgressPrivate
{
Q_DISABLE_COPY(CircularProgressPrivate)
Q_DECLARE_PUBLIC(CircularProgress)
public:
CircularProgressPrivate(CircularProgress *q);
~CircularProgressPrivate();
void init();
CircularProgress *const q_ptr;
CircularProgressDelegate *delegate;
Material::ProgressType progressType;
QColor color;
qreal penWidth;
int size;
bool useThemeColors;
};
}
#endif // CIRCULARPROGRESS_P_H