diff options
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index b1274b8ea..731013538 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -14,8 +14,8 @@ <string>MainWindow</string> </property> <widget class="QWidget" name="centralwidget"> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> <widget class="QSplitter" name="mainSplitter"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -25,7 +25,37 @@ <enum>Qt::Horizontal</enum> </property> <widget class="MainTab" name="InfoWidget" native="true"/> - <widget class="ProfileGraphicsView" name="ProfileWidget"/> + <widget class="QStackedWidget" name="stackedWidget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="page_5"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="ProfileGraphicsView" name="ProfileWidget"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_6"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="DivePlannerGraphics" name="divePlanner"/> + </item> + </layout> + </widget> + </widget> </widget> <widget class="QSplitter" name="listGlobeSplitter"> <property name="orientation"> @@ -92,8 +122,11 @@ </widget> </widget> </item> - <item row="1" column="0"> - <widget class="KMessageWidget" name="mainErrorMessage" native="true"/> + <item> + <widget class="KMessageWidget" name="mainErrorMessage" native="true"> + <zorder>mainSplitter</zorder> + <zorder>mainSplitter</zorder> + </widget> </item> </layout> </widget> @@ -103,7 +136,7 @@ <x>0</x> <y>0</y> <width>763</width> - <height>18</height> + <height>20</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -405,6 +438,11 @@ <header>globe.h</header> <container>1</container> </customwidget> + <customwidget> + <class>DivePlannerGraphics</class> + <extends>QGraphicsView</extends> + <header>diveplanner.h</header> + </customwidget> </customwidgets> <resources/> <connections/> |