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,115 +51,80 @@
</widget> </widget>
</item> </item>
<item> <item>
<spacer> <layout class="QGridLayout" >
<property name="orientation" > <item row="0" column="0" >
<enum>Qt::Vertical</enum> <widget class="QLabel" name="TextLabelInputLevelL" >
</property> <property name="text" >
<property name="sizeHint" > <string>Input Level L</string>
<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>
<property name="leftMargin" > <property name="wordWrap" >
<number>0</number> <bool>false</bool>
</property> </property>
<property name="topMargin" > </widget>
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="TextLabelInputLevelL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Input Level L</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="TextLabelInputLevelR" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>88</width>
<height>0</height>
</size>
</property>
<property name="text" >
<string>Input Level R</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="1" >
<layout class="QVBoxLayout" > <widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelL" >
<property name="spacing" > <property name="minimumSize" >
<number>4</number> <size>
<width>50</width>
<height>25</height>
</size>
</property> </property>
<item> </widget>
<widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelL" > </item>
<property name="sizePolicy" > <item row="1" column="0" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > <widget class="QLabel" name="TextLabelInputLevelR" >
<horstretch>0</horstretch> <property name="text" >
<verstretch>0</verstretch> <string>Input Level R</string>
</sizepolicy> </property>
</property> <property name="wordWrap" >
<property name="minimumSize" > <bool>false</bool>
<size> </property>
<width>50</width> </widget>
<height>25</height> </item>
</size> <item row="1" column="1" >
</property> <widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelR" >
</widget> <property name="minimumSize" >
</item> <size>
<item> <width>50</width>
<widget class="CMultiColorLEDBar" native="1" name="MultiColorLEDBarInputLevelR" > <height>25</height>
<property name="sizePolicy" > </size>
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > </property>
<horstretch>0</horstretch> </widget>
<verstretch>0</verstretch> </item>
</sizepolicy> <item row="2" column="0" >
</property> <widget class="QLabel" name="TextLabelServerAddr" >
<property name="minimumSize" > <property name="text" >
<size> <string>Server Address</string>
<width>50</width> </property>
<height>25</height> <property name="wordWrap" >
</size> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <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" >
<property name="text" >
<string>Fader Tag</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QLineEdit" name="LineEditFaderTag" >
<property name="maxLength" >
<number>15</number>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
@ -168,60 +133,17 @@
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType" >
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>249</width> <width>20</width>
<height>16</height> <height>0</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item>
<layout class="QHBoxLayout" >
<item>
<layout class="QVBoxLayout" >
<item>
<widget class="QLabel" name="TextLabelServerAddr" >
<property name="text" >
<string>Server Address</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="TextLabelServerTag" >
<property name="text" >
<string>Fader Tag</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</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" >
<property name="maxLength" >
<number>15</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="spacing" > <property name="spacing" >
@ -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>