Commit 1b722073 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

ENH: update Deprecation status display for QtWidget (code review)

No related merge requests found
Showing with 8 additions and 8 deletions
+8 -8
...@@ -34,13 +34,6 @@ ...@@ -34,13 +34,6 @@
<property name="bottomMargin"> <property name="bottomMargin">
<number>12</number> <number>12</number>
</property> </property>
<item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
<widget class="QLabel" name="deprecation">
<property name="text">
<string>Deprecation status</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
...@@ -124,6 +117,13 @@ ...@@ -124,6 +117,13 @@
</widget> </widget>
</widget> </widget>
</item> </item>
<item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
<widget class="QLabel" name="deprecation">
<property name="text">
<string>Deprecation status</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QLabel" name="message"> <widget class="QLabel" name="message">
<property name="text"> <property name="text">
......
...@@ -74,7 +74,7 @@ QtMainWindow::QtMainWindow(Application::Pointer app, QtWidgetView* gui, QWidget* ...@@ -74,7 +74,7 @@ QtMainWindow::QtMainWindow(Application::Pointer app, QtWidgetView* gui, QWidget*
if (app->IsDeprecated()) if (app->IsDeprecated())
{ {
ui->deprecation->setVisible(true); ui->deprecation->setVisible(true);
ui->deprecation->setText("<font color='red'>This application is deprecated and will be removed in a future release.</font>"); ui->deprecation->setText("<font color='#E65100'>This application is deprecated and will be removed in a future release.</font>");
} }
else else
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment