diff options
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.ui')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.ui | 138 |
1 files changed, 39 insertions, 99 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.ui b/desktop-widgets/tab-widgets/maintab.ui index 606f1dd54..8e172f91a 100644 --- a/desktop-widgets/tab-widgets/maintab.ui +++ b/desktop-widgets/tab-widgets/maintab.ui @@ -298,100 +298,15 @@ </layout> </item> <item> - <layout class="QGridLayout" name="gridLayout_8" columnstretch="0,0,1"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="horizontalSpacing"> + <layout class="QHBoxLayout" name="gridLayout_9"> + <property name="Spacing"> <number>5</number> </property> - <property name="verticalSpacing"> - <number>0</number> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="RatingLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Rating</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="visibilityLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Visibility</string> - </property> - </widget> - </item> - <item row="1" column="0" alignment="Qt::AlignVCenter"> - <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="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - </widget> - </item> - <item row="1" column="1" alignment="Qt::AlignVCenter"> - <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="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - </widget> - </item> - <item row="1" column="2"> - <spacer> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - </layout> - </item> <item> - <layout class="QGridLayout" name="gridLayout_9"> - <property name="horizontalSpacing"> + <layout class="QVBoxLayout" name="gridLayout_tags"> + <property name="Spacing"> <number>5</number> </property> - <property name="verticalSpacing"> - <number>0</number> - </property> - <item row="1" column="1"> - <widget class="QComboBox" name="DiveType"/> - </item> <item row="0" column="0"> <widget class="QLabel" name="TagLabel"> <property name="text"> @@ -402,16 +317,6 @@ </property> </widget> </item> - <item row="0" column="1"> - <widget class="QLabel" name="TypeLabel"> - <property name="text"> - <string>Dive mode</string> - </property> - <property name="alignment"> - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> - </property> - </widget> - </item> <item row="1" column="0"> <widget class="TagWidget" name="tagWidget"> <property name="sizePolicy"> @@ -440,6 +345,41 @@ </layout> </item> <item> + <layout class="QVBoxLayout" name="gridLayout_rating"> + <property name="Spacing"> + <number>5</number> + </property> + <item row="0" column="1"> + <widget class="QLabel" name="RatingLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Rating</string> + </property> + </widget> + </item> + <item row="1" column="1" alignment="Qt::AlignVCenter"> + <widget class="StarWidget" name="rating" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> <layout class="QVBoxLayout" name="verticalLayout_7"> <property name="spacing"> <number>0</number> |