mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Make BusyIndicator size configurable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user