wip
This commit is contained in:
@@ -32,7 +32,6 @@ ReadyWindow::ReadyWindow(QWidget *parent) : QWidget(parent) {
|
|||||||
timer->callOnTimeout(this, &ReadyWindow::refresh);
|
timer->callOnTimeout(this, &ReadyWindow::refresh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ReadyWindow::showEvent(QShowEvent *event) {
|
void ReadyWindow::showEvent(QShowEvent *event) {
|
||||||
refresh();
|
refresh();
|
||||||
timer->start(5 * 1000);
|
timer->start(5 * 1000);
|
||||||
|
|||||||
@@ -28,8 +28,4 @@ private:
|
|||||||
QString cur_temp;
|
QString cur_temp;
|
||||||
QPixmap img_ready;
|
QPixmap img_ready;
|
||||||
QPixmap img_hot;
|
QPixmap img_hot;
|
||||||
|
|
||||||
private slots:
|
|
||||||
void showEvent(QShowEvent *event) override;
|
|
||||||
void hideEvent(QHideEvent *event) override;
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user