summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-12 14:53:23 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-12 14:53:23 -0400
commit863c48593949e91beb6b7ff02a1385b9977182f5 (patch)
treef2fcb487699d0162dff11ee1aa7d5e7fc9b23eec /qt-ui/mainwindow.ui
parentee3bf421e1d61996c12430184c82ee65327a178c (diff)
downloadsubsurface-863c48593949e91beb6b7ff02a1385b9977182f5.tar.gz
Add fifth view mode "Globe" for main window
For consistency I didn't change the meaning of Ctrl-1/2/3/4 and added this as Ctrl-5 - but one could just as easily make the argument that "ViewGlobe" should be Ctrl-4 and "ViewAll" should be Ctrl-5. This ensures that only one of the four widgets is shown in the individual modes, but it doesn't address the drawing issues with the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui26
1 files changed, 19 insertions, 7 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index a29cb6179..a91b96133 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -103,7 +103,7 @@
<x>0</x>
<y>0</y>
<width>763</width>
- <height>20</height>
+ <height>34</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -148,6 +148,7 @@
<addaction name="actionViewProfile"/>
<addaction name="actionViewInfo"/>
<addaction name="actionViewAll"/>
+ <addaction name="actionViewGlobe"/>
<addaction name="actionPreviousDC"/>
<addaction name="actionNextDC"/>
</widget>
@@ -358,9 +359,26 @@
<string>F1</string>
</property>
</action>
+ <action name="actionViewGlobe">
+ <property name="text">
+ <string>View Globe</string>
+ </property>
+ <property name="toolTip">
+ <string>View Globe</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+5</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>
+ <class>KMessageWidget</class>
+ <extends>QWidget</extends>
+ <header>kmessagewidget.h</header>
+ <container>1</container>
+ </customwidget>
+ <customwidget>
<class>MainTab</class>
<extends>QWidget</extends>
<header>maintab.h</header>
@@ -382,12 +400,6 @@
<header>globe.h</header>
<container>1</container>
</customwidget>
- <customwidget>
- <class>KMessageWidget</class>
- <extends>QWidget</extends>
- <header>kmessagewidget.h</header>
- <container>1</container>
- </customwidget>
</customwidgets>
<resources/>
<connections/>