Hide the SVG label at creation
When required the appropriate pixmap (error/warn) will be set and the label will be shown.
This commit is contained in:
parent
23d855f201
commit
f2635acb09
@ -53,6 +53,7 @@ LogsWindow::LogsWindow(LogsModel *model, QWidget *parent)
|
||||
alert_ = new QLabel("ALERT!", this,
|
||||
Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
|
||||
alert_->setScaledContents(true);
|
||||
alert_->hide();
|
||||
alertAnime_ = new QPropertyAnimation(alert_, "geometry", this);
|
||||
alertAnime_->setDuration(2000);
|
||||
alertAnime_->setEasingCurve(QEasingCurve::InOutExpo);
|
||||
|
Loading…
Reference in New Issue
Block a user