Make BusyIndicator size configurable

This commit is contained in:
Luis Ángel San Martín
2023-08-13 10:38:49 +02:00
parent 6cef156893
commit f02d4e5d98
2 changed files with 7 additions and 5 deletions

View File

@ -20,7 +20,7 @@ public:
StyleEllipse,
StyleArc };
explicit BusyIndicator(QWidget *parent = 0);
explicit BusyIndicator(QWidget *parent = 0, int size = 30);
void paintEvent(QPaintEvent *);
QSize minimumSizeHint() const;
@ -47,6 +47,7 @@ private:
IndicatorStyle m_style;
QColor fillColor;
int size;
};
#endif // BUSYINDICATOR_H