diff options
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.ui')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.ui | 130 |
1 files changed, 83 insertions, 47 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.ui b/desktop-widgets/tab-widgets/maintab.ui index 8e172f91a..098c67c3c 100644 --- a/desktop-widgets/tab-widgets/maintab.ui +++ b/desktop-widgets/tab-widgets/maintab.ui @@ -77,50 +77,74 @@ <property name="verticalSpacing"> <number>0</number> </property> - <item row="2" column="3"> - <widget class="QLabel" name="durationLabel"> - <property name="text"> - <string>Duration</string> + <item row="0" column="0"> + <widget class="QLabel" name="dateLabel"> + <property name="text"> + <string>Date</string> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> </widget> </item> - <item row="0" column="0"> - <widget class="QLabel" name="dateLabel"> + <item row="0" column="1"> + <widget class="QLabel" name="timeLabel"> <property name="text"> - <string>Date</string> + <string>Time</string> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QLabel" name="timeLabel"> + <item row="0" column="2" colspan="2"> + <widget class="QLabel" name="depthLabely"> <property name="text"> - <string>Time</string> + <string> </string> </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>2</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> </widget> </item> <item row="0" column="2"> - <widget class="QLabel" name="airTempLabel"> - <property name="text"> - <string>Air temp.</string> + <widget class="QLabel" name="depthLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + <property name="text"> + <string>Depth</string> </property> </widget> </item> <item row="0" column="3"> - <widget class="QLabel" name="waterTempLabel"> - <property name="text"> - <string>Water temp.</string> + <widget class="QLabel" name="durationLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + <property name="text"> + <string>Duration (h:mm)</string> </property> </widget> </item> @@ -132,49 +156,61 @@ <property name="timeSpec"> <enum>Qt::UTC</enum> </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> </widget> </item> <item row="1" column="1"> - <widget class="QTimeEdit" name="timeEdit"> + <widget class="QTimeEdit" name="timeEdit"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="timeSpec"> <enum>Qt::UTC</enum> </property> - </widget> + </widget> </item> - <item row="1" column="2"> - <widget class="QLineEdit" name="airtemp"> - <property name="readOnly"> - <bool>false</bool> + <item row="1" column="2" colspan="2"> + <widget class="QLabel" name="depthLabelx"> + <property name="text"> + <string> </string> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>2</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> </widget> </item> - <item row="1" column="3"> - <widget class="QLineEdit" name="watertemp"> - <property name="readOnly"> - <bool>false</bool> + <item row="1" column="2"> + <widget class="QLineEdit" name="depth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> </widget> </item> - <item row="2" column="2"> - <widget class="QLabel" name="depthLabel"> - <property name="text"> - <string>Depth</string> + <item row="1" column="3"> + <widget class="QLineEdit" name="duration"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> </widget> - </item> - <item row="3" column="2"> - <widget class="QLineEdit" name="depth"/> - </item> - <item row="3" column="3"> - <widget class="QLineEdit" name="duration"/> - </item> - </layout> + </item> + </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_6"> |