Commit f53ca6c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: equalizer, fix the "too much space between preamp and first slider" bug

parent 33df12b0
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EqualizerWidget</class> <class>EqualizerWidget</class>
<widget class="QWidget" name="EqualizerWidget" > <widget class="QWidget" name="EqualizerWidget">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>524</width> <width>341</width>
<height>290</height> <height>241</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QGridLayout" name="gridLayout">
<item> <item row="0" column="0" colspan="3">
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="margin" > <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QCheckBox" name="enableCheck" > <widget class="QCheckBox" name="enableCheck">
<property name="text" > <property name="text">
<string>Enable</string> <string>Enable</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="eq2PassCheck" > <widget class="QCheckBox" name="eq2PassCheck">
<property name="text" > <property name="text">
<string>2 Pass</string> <string>2 Pass</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>40</width> <width>40</width>
<height>20</height> <height>20</height>
...@@ -49,15 +50,21 @@ ...@@ -49,15 +50,21 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QLabel" name="presetLabel" > <widget class="QLabel" name="presetLabel">
<property name="text" > <property name="text">
<string>Preset</string> <string>Preset</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>presetsCombo</cstring>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="presetsCombo" > <widget class="QComboBox" name="presetsCombo">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>110</width> <width>110</width>
<height>0</height> <height>0</height>
...@@ -67,48 +74,63 @@ ...@@ -67,48 +74,63 @@
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="1" column="0">
<layout class="QGridLayout" > <widget class="QSlider" name="preampSlider">
<property name="margin" > <property name="maximum">
<number>0</number> <number>400</number>
</property> </property>
<item row="1" column="0" colspan="2" > <property name="orientation">
<widget class="QLabel" name="preampLabel" > <enum>Qt::Vertical</enum>
<property name="text" > </property>
<string>Preamp</string> <property name="invertedAppearance">
</property> <bool>false</bool>
</widget> </property>
</item> </widget>
<item row="0" column="0" > </item>
<widget class="QSlider" name="preampSlider" > <item row="1" column="2" rowspan="2">
<property name="maximum" > <widget class="QFrame" name="frame">
<number>400</number> <property name="sizePolicy">
</property> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<property name="orientation" > <horstretch>0</horstretch>
<enum>Qt::Vertical</enum> <verstretch>0</verstretch>
</property> </sizepolicy>
</widget> </property>
</item> </widget>
<item rowspan="2" row="0" column="2" > </item>
<widget class="QFrame" name="frame" /> <item row="2" column="0" colspan="2">
</item> <widget class="QLabel" name="preampLabel">
<item row="0" column="1" > <property name="text">
<spacer> <string>Preamp</string>
<property name="orientation" > </property>
<enum>Qt::Horizontal</enum> <property name="buddy">
</property> <cstring>preampSlider</cstring>
<property name="sizeHint" stdset="0" > </property>
<size> </widget>
<width>40</width> </item>
<height>20</height> <item row="1" column="1">
</size> <spacer name="horizontalSpacer">
</property> <property name="orientation">
</spacer> <enum>Qt::Horizontal</enum>
</item> </property>
</layout> <property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
<tabstops>
<tabstop>enableCheck</tabstop>
<tabstop>eq2PassCheck</tabstop>
<tabstop>presetsCombo</tabstop>
<tabstop>preampSlider</tabstop>
</tabstops>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
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