diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-01-11 00:01:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-10 17:27:25 -0800 |
commit | e219bc70f863eaaa9b81ba5abc240975a128c904 (patch) | |
tree | 682d6d981929420bbabd0021e02db3006c72d96f /qt-ui/maintab.ui | |
parent | bfe05b43407c419a32548af20f40e2b9e3bca045 (diff) | |
download | subsurface-e219bc70f863eaaa9b81ba5abc240975a128c904.tar.gz |
Refactor dctype -> divemode
... and repair a failed rebase (sorry).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r-- | qt-ui/maintab.ui | 177 |
1 files changed, 98 insertions, 79 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 226442f70..937dec454 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -22,7 +22,9 @@ <number>0</number> </property> <item row="2" column="1"> - <widget class="KMessageWidget" name="diveNotesMessage" native="true"/> + <widget class="KMessageWidget" name="diveNotesMessage" native="true"> + <zorder>scrollArea</zorder> + </widget> </item> <item row="3" column="1"> <widget class="QScrollArea" name="scrollArea"> @@ -40,14 +42,41 @@ <rect> <x>0</x> <y>0</y> - <width>435</width> - <height>770</height> + <width>397</width> + <height>744</height> </rect> </property> <layout class="QGridLayout" name="diveNotesScrollAreaLayout"> <property name="spacing"> <number>0</number> </property> + <item row="4" column="0" colspan="3"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="sizeConstraint"> + <enum>QLayout::SetNoConstraint</enum> + </property> + <item> + <widget class="QLabel" name="CoordinatedLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Coordinates</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="TypeLabel"> + <property name="text"> + <string>Dive mode</string> + </property> + </widget> + </item> + </layout> + </item> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> @@ -83,16 +112,6 @@ </item> </layout> </item> - <item row="1" column="0"> - <widget class="QDateEdit" name="dateEdit"> - <property name="calendarPopup"> - <bool>true</bool> - </property> - <property name="timeSpec"> - <enum>Qt::UTC</enum> - </property> - </widget> - </item> <item row="1" column="1"> <widget class="QTimeEdit" name="timeEdit"> <property name="sizePolicy"> @@ -106,6 +125,16 @@ </property> </widget> </item> + <item row="1" column="0"> + <widget class="QDateEdit" name="dateEdit"> + <property name="calendarPopup"> + <bool>true</bool> + </property> + <property name="timeSpec"> + <enum>Qt::UTC</enum> + </property> + </widget> + </item> <item row="1" column="2"> <layout class="QHBoxLayout" name="airWaterTempLayout"> <property name="spacing"> @@ -134,136 +163,129 @@ </property> </widget> </item> - <item row="4" column="0"> - <widget class="QLabel" name="CoordinatedLabel"> - <property name="text"> - <string>Coordinates</string> - </property> - </widget> - </item> - <item row="6" column="0"> + <item row="10" column="0"> <widget class="QLabel" name="DivemasterLabel"> <property name="text"> <string>Divemaster</string> </property> </widget> </item> - <item row="6" column="2"> + <item row="10" column="2"> <widget class="QLabel" name="BuddyLabel"> <property name="text"> <string>Buddy</string> </property> </widget> </item> - <item row="7" column="0" colspan="2"> + <item row="11" column="0" colspan="2"> <widget class="TagWidget" name="divemaster"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="7" column="2"> + <item row="11" column="2"> <widget class="TagWidget" name="buddy"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="8" column="0" colspan="2"> + <item row="12" column="0" colspan="2"> <layout class="QHBoxLayout" name="ratingVisibilityLabels"> <property name="spacing"> <number>0</number> </property> <item> - <widget class="StarWidget" name="rating" native="true"> + <widget class="QLabel" name="RatingLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> + <property name="text"> + <string>Rating</string> </property> </widget> </item> <item> - <widget class="StarWidget" name="visibility" native="true"> + <widget class="QLabel" name="visibilityLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> + <property name="text"> + <string>Visibility</string> </property> </widget> </item> </layout> </item> - <item row="8" column="2"> + <item row="12" column="2"> <widget class="QLabel" name="SuitLabel"> <property name="text"> <string>Suit</string> </property> </widget> </item> - <item row="9" column="2"> + <item row="13" column="2"> <widget class="QLineEdit" name="suit"> <property name="readOnly"> <bool>false</bool> </property> </widget> </item> - <item row="10" column="0"> - <widget class="QLabel" name="TagLabel"> - <property name="text"> - <string>Tags</string> - </property> - </widget> - </item> - <item row="12" column="0"> - <widget class="QLabel" name="NotesLabel"> - <property name="text"> - <string>Notes</string> - </property> - </widget> - </item> - <item row="9" column="0" colspan="2"> + <item row="13" column="0" colspan="2"> <layout class="QHBoxLayout" name="ratingVisibilityWidgets"> <property name="spacing"> <number>0</number> </property> <item> - <widget class="QLabel" name="RatingLabel"> + <widget class="StarWidget" name="rating" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="text"> - <string>Rating</string> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> </property> </widget> </item> <item> - <widget class="QLabel" name="visibilityLabel"> + <widget class="StarWidget" name="visibility" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="text"> - <string>Visibility</string> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> </property> </widget> </item> </layout> </item> - <item row="11" column="0" colspan="3"> + <item row="14" column="0"> + <widget class="QLabel" name="TagLabel"> + <property name="text"> + <string>Tags</string> + </property> + </widget> + </item> + <item row="16" column="0"> + <widget class="QLabel" name="NotesLabel"> + <property name="text"> + <string>Notes</string> + </property> + </widget> + </item> + <item row="15" column="0" colspan="3"> <widget class="TagWidget" name="tagWidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> @@ -295,24 +317,7 @@ </property> </widget> </item> - <item row="5" column="0" colspan="3"> - <widget class="QLineEdit" name="coordinates"> - <property name="readOnly"> - <bool>false</bool> - </property> - </widget> - <item> - <widget class="QComboBox" name="DiveType"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - </item> - <item row="13" column="0" colspan="3"> + <item row="17" column="0" colspan="3"> <layout class="QHBoxLayout" name="notesAndSocialNetworksLayout"> <property name="spacing"> <number>0</number> @@ -368,6 +373,20 @@ </item> </layout> </item> + <item row="7" column="0" colspan="3"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLineEdit" name="coordinates"> + <property name="readOnly"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="DiveType"/> + </item> + </layout> + </item> </layout> </widget> </widget> @@ -398,8 +417,8 @@ <rect> <x>0</x> <y>0</y> - <width>423</width> - <height>752</height> + <width>397</width> + <height>734</height> </rect> </property> <layout class="QGridLayout" name="equipmentTabScrollAreaLayout"> @@ -454,8 +473,8 @@ <rect> <x>0</x> <y>0</y> - <width>423</width> - <height>752</height> + <width>397</width> + <height>734</height> </rect> </property> <layout class="QGridLayout" name="diveInfoScrollAreaLayout"> @@ -771,8 +790,8 @@ <rect> <x>0</x> <y>0</y> - <width>423</width> - <height>752</height> + <width>397</width> + <height>734</height> </rect> </property> <layout class="QGridLayout" name="statsScrollAreaLayout"> |