summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorChristian Klinger2016-05-18 16:53:12 +0200
committerChristian Klinger2016-05-18 16:53:12 +0200
commitd41aa490b2c00ffe31023b96b3daff523d4757c1 (patch)
treef1a2edb5c7db5a61d6c6073a74d3c1209fdfb25d /gui
parentprovided sample configuration. (diff)
downloadpvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.tar.gz
pvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.tar.xz
pvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.zip
added toolbar button to switch to manager.
The actual window switching logic is delegated to a pair of shell scripts.
Diffstat (limited to 'gui')
-rw-r--r--gui/client/toolbar.ui38
1 files changed, 26 insertions, 12 deletions
diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui
index 0c21f70..b4ac3b2 100644
--- a/gui/client/toolbar.ui
+++ b/gui/client/toolbar.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>229</width>
+ <width>358</width>
<height>39</height>
</rect>
</property>
@@ -67,16 +67,7 @@ QCheckBox::indicator:checked:pressed {
</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item>
@@ -128,7 +119,7 @@ QCheckBox::indicator:checked:pressed {
</widget>
</item>
<item>
- <spacer name="spacer_right">
+ <spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -152,6 +143,19 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
+ <spacer name="spacer_right">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
<widget class="QLabel" name="icon_cam">
<property name="minimumSize">
<size>
@@ -173,6 +177,16 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
+ <item>
+ <widget class="QPushButton" name="btnManager">
+ <property name="text">
+ <string>Switch</string>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>