Commit 9480c83c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: small changes to Simple Preferences

Notably add some verticalSpacers at the bottom
parent 9c035e4d
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>707</width> <width>707</width>
<height>509</height> <height>548</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -34,7 +34,16 @@ ...@@ -34,7 +34,16 @@
<item> <item>
<widget class="QWidget" name="audioZone" native="true"> <widget class="QWidget" name="audioZone" native="true">
<layout class="QVBoxLayout" name="audioZoneLayout"> <layout class="QVBoxLayout" name="audioZoneLayout">
<property name="margin"> <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> <number>0</number>
</property> </property>
<item> <item>
...@@ -55,7 +64,16 @@ ...@@ -55,7 +64,16 @@
<property name="sizeConstraint"> <property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum> <enum>QLayout::SetDefaultConstraint</enum>
</property> </property>
<property name="margin"> <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> <number>0</number>
</property> </property>
<item> <item>
...@@ -180,7 +198,16 @@ ...@@ -180,7 +198,16 @@
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="margin"> <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> <number>0</number>
</property> </property>
<item> <item>
...@@ -451,7 +478,16 @@ ...@@ -451,7 +478,16 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout" name="gridLayout_1"> <layout class="QGridLayout" name="gridLayout_1">
<property name="margin"> <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> <number>0</number>
</property> </property>
<item row="0" column="1"> <item row="0" column="1">
...@@ -531,6 +567,19 @@ ...@@ -531,6 +567,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
......
...@@ -70,8 +70,7 @@ ...@@ -70,8 +70,7 @@
<widget class="QComboBox" name="tuneBox"/> <widget class="QComboBox" name="tuneBox"/>
</item> </item>
<item row="4" column="1" colspan="2"> <item row="4" column="1" colspan="2">
<widget class="QComboBox" name="hwAccelModule"> <widget class="QComboBox" name="hwAccelModule"/>
</widget>
</item> </item>
<item row="4" column="0"> <item row="4" column="0">
<widget class="QLabel" name="hwAccelLabel"> <widget class="QLabel" name="hwAccelLabel">
...@@ -349,6 +348,19 @@ ...@@ -349,6 +348,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
......
...@@ -154,6 +154,9 @@ ...@@ -154,6 +154,9 @@
<property name="alignment"> <property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set> <set>Qt::AlignHCenter|Qt::AlignTop</set>
</property> </property>
<property name="margin">
<number>0</number>
</property>
</widget> </widget>
</item> </item>
<item> <item>
...@@ -166,7 +169,7 @@ ...@@ -166,7 +169,7 @@
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="leftMargin"> <property name="leftMargin">
<number>0</number> <number>10</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>0</number>
...@@ -318,7 +321,16 @@ ...@@ -318,7 +321,16 @@
</sizepolicy> </sizepolicy>
</property> </property>
<layout class="QGridLayout" name="gridLayout_7"> <layout class="QGridLayout" name="gridLayout_7">
<property name="margin"> <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> <number>0</number>
</property> </property>
<item row="1" column="1"> <item row="1" column="1">
...@@ -442,13 +454,6 @@ ...@@ -442,13 +454,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0">
<widget class="QCheckBox" name="MetadataNetworkAccessMode">
<property name="text">
<string>Allow metadata network access</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
...@@ -458,22 +463,6 @@ ...@@ -458,22 +463,6 @@
<string>Privacy / Network Interaction</string> <string>Privacy / Network Interaction</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_5">
<item row="2" column="1">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3"> <item row="1" column="3">
<widget class="QSpinBox" name="updatesDays"> <widget class="QSpinBox" name="updatesDays">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -493,6 +482,22 @@ ...@@ -493,6 +482,22 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QLabel" name="filterLabel"> <widget class="QLabel" name="filterLabel">
<property name="text"> <property name="text">
...@@ -548,6 +553,13 @@ ...@@ -548,6 +553,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0">
<widget class="QCheckBox" name="MetadataNetworkAccessMode">
<property name="text">
<string>Allow metadata network access</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
...@@ -624,6 +636,19 @@ ...@@ -624,6 +636,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
...@@ -648,7 +673,6 @@ ...@@ -648,7 +673,6 @@
<tabstop>OneInterfaceMode</tabstop> <tabstop>OneInterfaceMode</tabstop>
<tabstop>oneInstanceFromFile</tabstop> <tabstop>oneInstanceFromFile</tabstop>
<tabstop>treePlaylist</tabstop> <tabstop>treePlaylist</tabstop>
<tabstop>MetadataNetworkAccessMode</tabstop>
<tabstop>EnqueueOneInterfaceMode</tabstop> <tabstop>EnqueueOneInterfaceMode</tabstop>
<tabstop>playPauseBox</tabstop> <tabstop>playPauseBox</tabstop>
<tabstop>updatesBox</tabstop> <tabstop>updatesBox</tabstop>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>741</width> <width>741</width>
<height>375</height> <height>410</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -70,7 +70,16 @@ ...@@ -70,7 +70,16 @@
<item> <item>
<widget class="QWidget" name="spuZone" native="true"> <widget class="QWidget" name="spuZone" native="true">
<layout class="QVBoxLayout" name="spuZoneLayout"> <layout class="QVBoxLayout" name="spuZoneLayout">
<property name="margin"> <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> <number>0</number>
</property> </property>
<item> <item>
...@@ -307,6 +316,19 @@ ...@@ -307,6 +316,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
......
...@@ -28,7 +28,16 @@ ...@@ -28,7 +28,16 @@
<item> <item>
<widget class="QWidget" name="videoZone" native="true"> <widget class="QWidget" name="videoZone" native="true">
<layout class="QVBoxLayout" name="videoZoneLayout"> <layout class="QVBoxLayout" name="videoZoneLayout">
<property name="margin"> <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> <number>0</number>
</property> </property>
<item> <item>
...@@ -37,7 +46,16 @@ ...@@ -37,7 +46,16 @@
<string>Display</string> <string>Display</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing">
...@@ -104,7 +122,16 @@ ...@@ -104,7 +122,16 @@
<string>DirectX</string> <string>DirectX</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing">
...@@ -132,7 +159,16 @@ ...@@ -132,7 +159,16 @@
<string>KVA</string> <string>KVA</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing">
...@@ -235,7 +271,16 @@ ...@@ -235,7 +271,16 @@
<string>Video snapshots</string> <string>Video snapshots</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing">
...@@ -320,6 +365,19 @@ ...@@ -320,6 +365,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment