diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-01-29 14:27:27 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-02-05 14:18:14 +0100 |
commit | c9d8b4f605d55b99ec41ec1eaa008118889261c3 (patch) | |
tree | 5b279ab8ef3a4cf280701a975033625ef95b1b0d /desktop-widgets/mainwindow.ui | |
parent | 2eebbfa3a4ee692df3ba84ae01bf390a6b83e6de (diff) | |
download | subsurface-c9d8b4f605d55b99ec41ec1eaa008118889261c3.tar.gz |
Add button to toggle deco info in info box
The info box can get longish. Offer the user to turn
off display of deco information (surface GF and
individual ceilings).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets/mainwindow.ui')
-rw-r--r-- | desktop-widgets/mainwindow.ui | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui index afd4168eb..b92a02e5f 100644 --- a/desktop-widgets/mainwindow.ui +++ b/desktop-widgets/mainwindow.ui @@ -59,7 +59,7 @@ <x>0</x> <y>0</y> <width>861</width> - <height>29</height> + <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -701,6 +701,21 @@ <string>Cloud stora&ge online</string> </property> </action> + <action name="profDeco"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="icon"> + <iconset resource="../subsurface.qrc"> + <normaloff>:/tissue-icon</normaloff>:/tissue-icon</iconset> + </property> + <property name="text"> + <string>Toggle deco information</string> + </property> + <property name="toolTip"> + <string>Toggle deco information</string> + </property> + </action> </widget> <customwidgets> <customwidget> @@ -712,6 +727,7 @@ </customwidgets> <resources> <include location="../subsurface.qrc"/> + <include location="../subsurface.qrc"/> </resources> <connections/> </ui> |