small changes of BusyIcon
This commit is contained in:
@@ -15,7 +15,6 @@ BusyIcon::~BusyIcon() {}
|
|||||||
|
|
||||||
void BusyIcon::start() {
|
void BusyIcon::start() {
|
||||||
stop();
|
stop();
|
||||||
ang = 0;
|
|
||||||
timer = startTimer(25);
|
timer = startTimer(25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@ public:
|
|||||||
void setCircleWidth(qreal s);
|
void setCircleWidth(qreal s);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QSize sizeHint() const;
|
QSize sizeHint() const override;
|
||||||
void timerEvent(QTimerEvent *);
|
void timerEvent(QTimerEvent *) override;
|
||||||
void paintEvent(QPaintEvent *);
|
void paintEvent(QPaintEvent *) override;
|
||||||
|
|
||||||
QIcon icon_;
|
QIcon icon_;
|
||||||
QImage image;
|
QImage image;
|
||||||
|
|||||||
Reference in New Issue
Block a user