diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:19:40 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:22:21 +0100 |
commit | 6ba9498ddb1f5e4721cebef82cb098efa5f9e286 (patch) | |
tree | 43ed3d61ec5c415e1682c08bbca8b7aba34488a1 | |
parent | 97f74d1e7b37cf15d4763999e1287a665eeedcec (diff) |
gui: cleanup dirty edits in settings dialog
-rw-r--r-- | gui/settings-dialog.ui | 192 |
1 files changed, 40 insertions, 152 deletions
diff --git a/gui/settings-dialog.ui b/gui/settings-dialog.ui index 7ffff281..a23ded53 100644 --- a/gui/settings-dialog.ui +++ b/gui/settings-dialog.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>576</width> - <height>560</height> + <width>548</width> + <height>599</height> </rect> </property> <property name="windowTitle"> @@ -17,54 +17,33 @@ <iconset> <normaloff>images/facetracknoir.png</normaloff>images/facetracknoir.png</iconset> </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="autoFillBackground"> - <bool>false</bool> - </property> <layout class="QVBoxLayout" name="verticalLayout_5"> - <property name="bottomMargin"> - <number>6</number> + <property name="topMargin"> + <number>5</number> </property> <item> <widget class="QTabWidget" name="tabWidget"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="currentIndex"> - <number>1</number> + <number>0</number> </property> <property name="usesScrollButtons"> <bool>false</bool> </property> <widget class="QWidget" name="tab"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <attribute name="title"> <string>Shortcuts</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout"> - <property name="leftMargin"> - <number>6</number> - </property> - <property name="rightMargin"> - <number>6</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> <item> <widget class="QGroupBox" name="groupBox_8"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -76,12 +55,6 @@ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> <layout class="QVBoxLayout" name="verticalLayout_8"> - <property name="spacing"> - <number>3</number> - </property> - <property name="leftMargin"> - <number>6</number> - </property> <item> <widget class="QLabel" name="label_23"> <property name="sizePolicy"> @@ -104,15 +77,6 @@ <string notr="true">QGroupBox { border: 0; }</string> </property> <layout class="QGridLayout" name="gridLayout_8"> - <property name="leftMargin"> - <number>9</number> - </property> - <property name="rightMargin"> - <number>2</number> - </property> - <property name="horizontalSpacing"> - <number>20</number> - </property> <item row="1" column="1"> <widget class="QLabel" name="toggle_text"> <property name="sizePolicy"> @@ -835,39 +799,42 @@ </item> <item> <widget class="QFrame" name="frame_5"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <enum>QFrame::Sunken</enum> </property> <layout class="QGridLayout" name="gridLayout_2"> - <property name="topMargin"> - <number>2</number> - </property> - <property name="bottomMargin"> - <number>2</number> - </property> - <item row="1" column="0"> - <widget class="QCheckBox" name="disable_translation"> + <item row="0" column="0"> + <widget class="QCheckBox" name="center_at_startup"> <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> - <string>Never translate the application interface</string> + <string>Center at startup</string> </property> </widget> </item> - <item row="0" column="0"> - <widget class="QCheckBox" name="center_at_startup"> + <item row="1" column="0"> + <widget class="QCheckBox" name="disable_translation"> <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> - <string>Center at startup</string> + <string>Never translate the application interface</string> </property> </widget> </item> @@ -885,33 +852,9 @@ </widget> </item> <item> - <widget class="QFrame" name="frame_3"> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <property name="spacing"> - <number>0</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - </layout> - </widget> - </item> - <item> <widget class="QGroupBox" name="groupBox_11"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -923,14 +866,8 @@ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> - <property name="spacing"> - <number>0</number> - </property> - <property name="topMargin"> - <number>2</number> - </property> <property name="bottomMargin"> - <number>6</number> + <number>9</number> </property> <item> <widget class="QCheckBox" name="trayp"> @@ -964,20 +901,17 @@ </layout> </widget> <widget class="QWidget" name="tab_4"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <attribute name="title"> <string>Output</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_4"> + <property name="topMargin"> + <number>0</number> + </property> <item> <widget class="QGroupBox" name="groupBox_4"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -999,19 +933,7 @@ <property name="checkable"> <bool>false</bool> </property> - <layout class="QGridLayout" name="gridLayout_4" rowstretch="0,0" columnstretch="0"> - <property name="sizeConstraint"> - <enum>QLayout::SetMinAndMaxSize</enum> - </property> - <property name="topMargin"> - <number>4</number> - </property> - <property name="horizontalSpacing"> - <number>0</number> - </property> - <property name="verticalSpacing"> - <number>6</number> - </property> + <layout class="QGridLayout" name="gridLayout_4"> <item row="1" column="0"> <widget class="QGroupBox" name="groupBox_2"> <property name="sizePolicy"> @@ -1538,10 +1460,10 @@ </layout> </widget> </item> - <item alignment="Qt::AlignTop"> + <item> <widget class="QGroupBox" name="groupBox_6"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -1767,25 +1689,9 @@ </widget> </item> <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Minimum</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - <item> <widget class="QGroupBox" name="groupBox_10"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -1800,9 +1706,6 @@ <string>CSV Data Logging</string> </property> <layout class="QVBoxLayout" name="verticalLayout_11"> - <property name="bottomMargin"> - <number>11</number> - </property> <item> <widget class="QCheckBox" name="tracklogging_enabled"> <property name="sizePolicy"> @@ -1822,20 +1725,14 @@ </layout> </widget> <widget class="QWidget" name="tab_2"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <attribute name="title"> <string>Relative translation</string> </attribute> - <layout class="QVBoxLayout" name="verticalLayout_14"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="groupBox_"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -2008,7 +1905,7 @@ <item> <widget class="QGroupBox" name="groupBox_12"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -2115,17 +2012,14 @@ </widget> </item> <item> - <spacer name="verticalSpacer_2"> + <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> - <height>0</height> + <height>40</height> </size> </property> </spacer> @@ -2133,12 +2027,6 @@ </layout> </widget> <widget class="QWidget" name="tab_5"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <attribute name="title"> <string>Game detection</string> </attribute> |