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