some GUI fixes on main dialog

This commit is contained in:
Volker Fischer 2009-05-10 16:53:58 +00:00
parent d6a5171ba4
commit d61b1a5db4
2 changed files with 79 additions and 173 deletions

View file

@ -121,14 +121,14 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent,
// init slider controls --- // init slider controls ---
// audio in fader // audio in fader
SliderAudInFader->setRange ( AUD_FADER_IN_MIN, AUD_FADER_IN_MAX ); SliderAudInFader->setRange ( AUD_FADER_IN_MIN, AUD_FADER_IN_MAX );
SliderAudInFader->setTickInterval ( AUD_FADER_IN_MAX / 9 ); SliderAudInFader->setTickInterval ( AUD_FADER_IN_MAX / 5 );
UpdateAudioFaderSlider(); UpdateAudioFaderSlider();
// audio reverberation // audio reverberation
SliderAudReverb->setRange ( 0, AUD_REVERB_MAX ); SliderAudReverb->setRange ( 0, AUD_REVERB_MAX );
const int iCurAudReverb = pClient->GetReverbLevel(); const int iCurAudReverb = pClient->GetReverbLevel();
SliderAudReverb->setValue ( iCurAudReverb ); SliderAudReverb->setValue ( iCurAudReverb );
SliderAudReverb->setTickInterval ( AUD_REVERB_MAX / 9 ); SliderAudReverb->setTickInterval ( AUD_REVERB_MAX / 5 );
// set radio buttons --- // set radio buttons ---

View file

@ -51,45 +51,9 @@
</widget> </widget>
</item> </item>
<item> <item>
<spacer> <layout class="QGridLayout" >
<property name="orientation" > <item row="0" column="0" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>249</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<layout class="QVBoxLayout" >
<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>
<item>
<widget class="QLabel" name="TextLabelInputLevelL" > <widget class="QLabel" name="TextLabelInputLevelL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" > <property name="text" >
<string>Input Level L</string> <string>Input Level L</string>
</property> </property>
@ -98,20 +62,18 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1" >
<widget class="QLabel" name="TextLabelInputLevelR" > <widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" > <property name="minimumSize" >
<size> <size>
<width>88</width> <width>50</width>
<height>0</height> <height>25</height>
</size> </size>
</property> </property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="TextLabelInputLevelR" >
<property name="text" > <property name="text" >
<string>Input Level R</string> <string>Input Level R</string>
</property> </property>
@ -120,37 +82,8 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="1" column="1" >
</item>
<item>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>4</number>
</property>
<item>
<widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>50</width>
<height>25</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelR" > <widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelR" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" > <property name="minimumSize" >
<size> <size>
<width>50</width> <width>50</width>
@ -159,28 +92,7 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0" >
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>249</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<layout class="QVBoxLayout" >
<item>
<widget class="QLabel" name="TextLabelServerAddr" > <widget class="QLabel" name="TextLabelServerAddr" >
<property name="text" > <property name="text" >
<string>Server Address</string> <string>Server Address</string>
@ -190,7 +102,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1" >
<widget class="QComboBox" name="LineEditServerAddr" >
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="TextLabelServerTag" > <widget class="QLabel" name="TextLabelServerTag" >
<property name="text" > <property name="text" >
<string>Fader Tag</string> <string>Fader Tag</string>
@ -200,18 +119,7 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="3" column="1" >
</item>
<item>
<layout class="QVBoxLayout" >
<item>
<widget class="QComboBox" name="LineEditServerAddr" >
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="LineEditFaderTag" > <widget class="QLineEdit" name="LineEditFaderTag" >
<property name="maxLength" > <property name="maxLength" >
<number>15</number> <number>15</number>
@ -220,7 +128,21 @@
</item> </item>
</layout> </layout>
</item> </item>
</layout> <item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
@ -242,8 +164,8 @@
</property> </property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>20</width> <width>168</width>
<height>5</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@ -323,22 +245,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" >
<size>
<width>0</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>