19class LIBDTKWIDGETSHARED_EXPORT
DCircleProgress :
public QWidget,
public DTK_CORE_NAMESPACE::DObject
22 Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor DESIGNABLE
true)
23 Q_PROPERTY(QColor chunkColor READ chunkColor WRITE setChunkColor DESIGNABLE
true)
24 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth DESIGNABLE
true)
35 void setValue(
int value);
37 const QString text()
const;
38 void setText(
const QString &text);
40 const QColor backgroundColor()
const;
41 void setBackgroundColor(
const QColor &color);
43 const QColor chunkColor()
const;
44 void setChunkColor(
const QColor &color);
46 int lineWidth()
const;
47 void setLineWidth(
const int width);
50 QLabel *bottomLabel();
53 void valueChanged(
const int value)
const;
56 void paintEvent(QPaintEvent *e) Q_DECL_OVERRIDE;
57 void mouseReleaseEvent(QMouseEvent *e) Q_DECL_OVERRIDE;
58#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
59 void enterEvent(QEvent *e) Q_DECL_OVERRIDE;
61 void enterEvent(QEnterEvent *e) Q_DECL_OVERRIDE;
63 void leaveEvent(QEvent *e) Q_DECL_OVERRIDE;