diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-06-27 14:41:25 -0700 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-07-06 00:58:17 +0000 |
commit | 462d26f265d516fc77ff28f975e4801722c6b703 (patch) | |
tree | ea274806495ce299efe396df9f644d5528e8d0ce /tests/manual/qtabbar/tabbarform.ui | |
parent | eaa54a8f9884652513c7c3ab489f31ff1e5d712c (diff) |
qtabbar manual test: Improve usability
Covers non-document mode, tab icon, and adds a more
useable interface. Some parts are still missing, like
tab orientation and long tab titles.
Task-number: QTBUG-61092
Change-Id: Idbda84f513e3ff7f87fa04ae4476b11bd8bb6bf2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/manual/qtabbar/tabbarform.ui')
-rw-r--r-- | tests/manual/qtabbar/tabbarform.ui | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/tests/manual/qtabbar/tabbarform.ui b/tests/manual/qtabbar/tabbarform.ui new file mode 100644 index 0000000000..17100b3b62 --- /dev/null +++ b/tests/manual/qtabbar/tabbarform.ui @@ -0,0 +1,182 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TabBarForm</class> + <widget class="QWidget" name="TabBarForm"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>308</width> + <height>260</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <layout class="QGridLayout" name="gridLayout"> + <item row="10" column="1"> + <widget class="QRadioButton" name="rightAlignedButton"> + <property name="text"> + <string>Right aligned</string> + </property> + <attribute name="buttonGroup"> + <string notr="true">textAlignmentGroup</string> + </attribute> + </widget> + </item> + <item row="8" column="1"> + <widget class="QRadioButton" name="leftAlignedButton"> + <property name="text"> + <string>Left aligned</string> + </property> + <attribute name="buttonGroup"> + <string notr="true">textAlignmentGroup</string> + </attribute> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="closableTabsButton"> + <property name="text"> + <string>Closable tabs</string> + </property> + </widget> + </item> + <item row="8" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Tabs alignment:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="movableTabsButton"> + <property name="text"> + <string>Movable tabs</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="documentModeButton"> + <property name="text"> + <string>Document mode</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QCheckBox" name="expandingTabsButton"> + <property name="text"> + <string>Expanding</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QComboBox" name="shapeComboBox"> + <property name="enabled"> + <bool>false</bool> + </property> + <item> + <property name="text"> + <string>North</string> + </property> + </item> + <item> + <property name="text"> + <string>South</string> + </property> + </item> + <item> + <property name="text"> + <string>West</string> + </property> + </item> + <item> + <property name="text"> + <string>East</string> + </property> + </item> + </widget> + </item> + <item row="7" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>12</height> + </size> + </property> + </spacer> + </item> + <item row="5" column="1"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>12</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Tab bar options:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="9" column="1"> + <widget class="QRadioButton" name="centeredButton"> + <property name="text"> + <string>Centered</string> + </property> + <attribute name="buttonGroup"> + <string notr="true">textAlignmentGroup</string> + </attribute> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Tab shape (TODO):</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QCheckBox" name="displayIconButton"> + <property name="text"> + <string>Display icon</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections/> + <buttongroups> + <buttongroup name="textAlignmentGroup"/> + </buttongroups> +</ui> |