diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-31 20:59:36 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-31 21:08:57 -0700 |
commit | e93bf1e55953a7f95b4a0a5fb2a07e83e2a8c4c4 (patch) | |
tree | 4c6cf6f5d60f0672025356952b1826b7b6fea680 /qt-ui/mainwindow.ui | |
parent | e74914fdd0f439d3584657147c81539d2a863955 (diff) | |
download | subsurface-e93bf1e55953a7f95b4a0a5fb2a07e83e2a8c4c4.tar.gz |
Planner: add dive plan output area that replaces dive list
When switching to / from plan mode, we switch to show either the dive plan
detail widget, or the dive list widget.
So far this widget does nothing. This just makes sure it's there.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 70 |
1 files changed, 52 insertions, 18 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 1fd0fa775..d73f19077 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -495,25 +495,59 @@ <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <widget class="DiveListView" name="ListWidget"> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::ExtendedSelection</enum> - </property> - <property name="rootIsDecorated"> - <bool>true</bool> - </property> - <property name="sortingEnabled"> - <bool>false</bool> - </property> - <property name="animated"> - <bool>true</bool> - </property> - <property name="allColumnsShowFocus"> - <bool>true</bool> + <widget class="QStackedWidget" name="diveListPane"> + <property name="currentIndex"> + <number>0</number> </property> + <widget class="DiveListView" name="ListWidget"> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>true</bool> + </property> + <property name="sortingEnabled"> + <bool>false</bool> + </property> + <property name="animated"> + <bool>true</bool> + </property> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + </widget> + <widget class="QWidget" name="fullPlan"> + <layout class="QVBoxLayout" name="horizontalLayout_p4"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QLabel" name="divePlanOutputLabel"> + <property name="text"> + <string>Dive plan details</string> + </property> + </widget> + </item> + <item> + <widget class="QTextEdit" name="divePlanOutput" native="true"/> + </item> + </layout> + </widget> </widget> <widget class="QWidget" name="layoutWidget"> <layout class="QVBoxLayout" name="verticalLayout"> |