set layout of text of progress bar in unit test dialog
This commit is contained in:
parent
5b5189a8d6
commit
45b898985a
|
@ -87,6 +87,7 @@ UnitTestDialog::UnitTestDialog(QWidget* parent, Qt::WindowFlags f)
|
|||
// we force e.g. the "Motif" style only for the progressbar to change the color to green or red.
|
||||
this->progressBar->setStyle(QStyleFactory::create(QString::fromLatin1("Motif")));
|
||||
setProgressColor(QColor(40,210,43)); // a darker green
|
||||
this->progressBar->setAlignment(Qt::AlignCenter);
|
||||
|
||||
// red items
|
||||
QPalette palette;
|
||||
|
|
Loading…
Reference in New Issue
Block a user