diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-27 20:36:38 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 08:06:58 -0700 |
commit | 4b18da1f2251c37a17ef68d982cb69d344968c9d (patch) | |
tree | 102653d2f22e65fa26d92bf2c7f96592b4f9d542 | |
parent | c84b40664de756b103e3304fb015edc05049ae39 (diff) | |
download | subsurface-4b18da1f2251c37a17ef68d982cb69d344968c9d.tar.gz |
Use date / time entry for start time of planned dive
This is not hooked up, yet, just the UI change.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/diveplanner.ui | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui index fffed0d99..5441c2a38 100644 --- a/qt-ui/diveplanner.ui +++ b/qt-ui/diveplanner.ui @@ -95,13 +95,12 @@ <height>50</height> </size> </property> - <zorder>label_2</zorder> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> - <string>Start Time</string> + <string>Planned Dive Time</string> </property> </widget> </item> @@ -113,7 +112,18 @@ </widget> </item> <item row="1" column="0"> - <widget class="QTimeEdit" name="startTime"/> + <layout class="QHBoxLayout" name="dateAndTime"> + <item> + <widget class="DateWidget" name="dateEdit" native="true"> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + </widget> + </item> + <item> + <widget class="QTimeEdit" name="startTime"/> + </item> + </layout> </item> <item row="2" column="0"> <widget class="QLabel" name="label_7"> @@ -165,6 +175,12 @@ <header>tableview.h</header> <container>1</container> </customwidget> + <customwidget> + <class>DateWidget</class> + <extends>QWidget</extends> + <header>simplewidgets.h</header> + <container>1</container> + </customwidget> </customwidgets> <tabstops> <tabstop>startTime</tabstop> |