diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-14 09:17:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-14 09:20:20 -0700 |
commit | a960cd2d459a04a87e3bd05ecff885c342b8e761 (patch) | |
tree | 61fef55398b1c49e7c465ffc57b11538769796af /qt-ui/maintab.ui | |
parent | 8669de63e137aa873a8cf843ad79fffaee0afa40 (diff) | |
download | subsurface-a960cd2d459a04a87e3bd05ecff885c342b8e761.tar.gz |
Show & edit trip location and notes when exactly one trip is selected
While we still show the selected_dive in the profile and use it for Dive
Info and Equipment, in the Dive Notes tab we now show the trip location
and trip notes (and none of the other fields), if the user directly
selects a whole trip by clicking on the trip header.
This clever reuse of the widget now allows trip location and notes to be
edited in place.
As a side note: the Gtk version has long allowed the user to edit the
trip location and trip notes, but nowhere did it ever SHOW the trip
notes... so this is more than just feature parity...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r-- | qt-ui/maintab.ui | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index c05589d20..733a605ea 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -6,15 +6,15 @@ <rect> <x>0</x> <y>0</y> - <width>409</width> - <height>368</height> + <width>505</width> + <height>459</height> </rect> </property> <property name="windowTitle"> <string>TabWidget</string> </property> <property name="currentIndex"> - <number>3</number> + <number>0</number> </property> <widget class="QWidget" name="notesTab"> <attribute name="title"> @@ -22,7 +22,7 @@ </attribute> <layout class="QGridLayout" name="gridLayout_3"> <item row="1" column="0"> - <widget class="QLabel" name="label_2"> + <widget class="QLabel" name="LocationLabel"> <property name="text"> <string>Location</string> </property> @@ -36,14 +36,14 @@ </widget> </item> <item row="3" column="0"> - <widget class="QLabel" name="label_15"> + <widget class="QLabel" name="DivemasterLabel"> <property name="text"> <string>Divemaster</string> </property> </widget> </item> <item row="3" column="1"> - <widget class="QLabel" name="label_3"> + <widget class="QLabel" name="BuddyLabel"> <property name="text"> <string>Buddy</string> </property> @@ -80,7 +80,7 @@ <item row="5" column="0"> <layout class="QHBoxLayout" name="ratingVisibilityLabels"> <item> - <widget class="QLabel" name="label_14"> + <widget class="QLabel" name="RatingLabel"> <property name="text"> <string>Rating</string> </property> @@ -96,14 +96,14 @@ </layout> </item> <item row="5" column="1"> - <widget class="QLabel" name="label_19"> + <widget class="QLabel" name="SuitLabel"> <property name="text"> <string>Suit</string> </property> </widget> </item> <item row="7" column="0"> - <widget class="QLabel" name="label_16"> + <widget class="QLabel" name="NotesLabel"> <property name="text"> <string>Notes</string> </property> |