Fixed info component style sheet

This commit is contained in:
Klaus Basan
2014-06-25 19:30:05 +02:00
parent 6c6bcb4e08
commit 71185b1250
2 changed files with 188 additions and 146 deletions

View File

@@ -21,6 +21,7 @@ namespace BlackGui
this->m_hideTimer = new QTimer(this);
this->m_hideTimer->setSingleShot(true);
connect(this->m_hideTimer, &QTimer::timeout, this, &CInfoWindowComponent::hide);
connect(this->ui->pb_Close, &QPushButton::pressed, this, &CInfoWindowComponent::hide);
}
/*
@@ -80,7 +81,7 @@ namespace BlackGui
this->ui->le_SmSeverity->setText(statusMessage.getSeverityAsString());
this->ui->le_SmType->setText(statusMessage.getTypeAsString());
this->ui->te_SmStatusMessage->setText(statusMessage.getMessage());
this->ui->lbl_SmSeverity->setPixmap(statusMessage.toIcon());
this->ui->lbl_SmSeverityIcon->setPixmap(statusMessage.toIcon());
this->setCurrentPage(this->ui->pg_StatusMessage);
this->showWindow(displayTimeMs);