make datum feedback more prominent
This commit is contained in:
parent
d3a7e9a928
commit
4087ffaef7
|
@ -233,7 +233,11 @@ void TaskDatumParameters::updateUI(std::string message, bool error)
|
|||
{
|
||||
//set text if available
|
||||
if(!message.empty()) {
|
||||
ui->message->setText(QString::fromStdString(message));
|
||||
ui->message->setText(QString::fromStdString(message));
|
||||
if(error)
|
||||
ui->message->setStyleSheet(QString::fromAscii("QLabel{color: red;}"));
|
||||
else
|
||||
ui->message->setStyleSheet(QString::fromAscii("QLabel{color: green;}"));
|
||||
}
|
||||
|
||||
ui->checkBoxFlip->setVisible(false);
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
<property name="text">
|
||||
<string>Selection accepted</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue
Block a user