summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-10 07:06:26 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-10 07:07:59 +0900
commitaa4931e8c613f742cb05da77dfdad73c6f3008c9 (patch)
tree596c0158e465931a9539abac643c42139f869d56 /qt-ui/diveplanner.ui
parent44c9316f14f9be21837583739e8d54e9c6d29569 (diff)
downloadsubsurface-aa4931e8c613f742cb05da77dfdad73c6f3008c9.tar.gz
Show a cylinder widget in the dive planner
This is intended to allow the user to provide the gases / cylinders that she will be diving with. With that information the planner can warn the user about insufficient gases, but more importantly it can show relevant gases in the gas select drop down. Right now the add cylinder button doesn't add a cylinder - that's a problem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r--qt-ui/diveplanner.ui12
1 files changed, 11 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index 5c2f1ef69..570d64819 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -116,7 +116,7 @@
</widget>
</item>
<item row="7" column="0" colspan="2">
- <widget class="TableView" name="tableWidget" native="true">
+ <widget class="TableView" name="cylinderTableWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@@ -126,6 +126,16 @@
</widget>
</item>
<item row="8" column="0" colspan="2">
+ <widget class="TableView" name="tableWidget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Abort|QDialogButtonBox::Save</set>