diff options
author | Xavier Hallade <xavier.hallade@intel.com> | 2016-04-27 13:21:08 +0200 |
---|---|---|
committer | Xavier Hallade <xavier.hallade@intel.com> | 2016-04-27 13:21:08 +0200 |
commit | 69cc802722c8264c0fd8b138a298d4820c11f1d8 (patch) | |
tree | 32571d318fe8fa2a3926a96ecaffa9b462a38658 /gui/main.ui | |
parent | f3d62b23b02bb27cbb0f0f0302001f0710992df2 (diff) |
gui: show tracking hasn't started in preview area instead of "no video"
"no video" wasn't clearly indicating that no tracking was done. Some first
time users had hard times figuring out tracking had to be started.
@sthalik: I've put an image mimicking what you did for "no video", feel
free to change it or switch to plain text instead.
Diffstat (limited to 'gui/main.ui')
-rw-r--r-- | gui/main.ui | 66 |
1 files changed, 65 insertions, 1 deletions
diff --git a/gui/main.ui b/gui/main.ui index 3a034ab0..ca189a62 100644 --- a/gui/main.ui +++ b/gui/main.ui @@ -152,15 +152,67 @@ <height>240</height> </size> </property> + <property name="palette"> + <palette> + <active> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>104</red> + <green>104</green> + <blue>104</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>104</red> + <green>104</green> + <blue>104</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="WindowText"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>120</red> + <green>120</green> + <blue>120</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="font"> + <font> + <family>Candara</family> + <pointsize>37</pointsize> + <weight>50</weight> + <bold>false</bold> + <kerning>true</kerning> + </font> + </property> <property name="text"> <string/> </property> <property name="pixmap"> - <pixmap resource="ui-res.qrc">:/images/no-feed.png</pixmap> + <pixmap resource="ui-res.qrc">:/images/tracking-not-started.png</pixmap> </property> <property name="scaledContents"> <bool>false</bool> </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> </widget> </widget> </widget> @@ -1008,6 +1060,12 @@ <verstretch>0</verstretch> </sizepolicy> </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="text"> <string>Start</string> </property> @@ -1024,6 +1082,12 @@ <verstretch>0</verstretch> </sizepolicy> </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="text"> <string>Stop</string> </property> |