some main GUI changes

This commit is contained in:
Volker Fischer 2009-05-02 13:30:49 +00:00
parent 0597f63815
commit 11c0213fbe
2 changed files with 136 additions and 145 deletions

View file

@ -281,7 +281,7 @@ void CLlconClientDlg::OnConnectDisconBut()
TimerStatus.start ( STATUSBAR_UPDATE_TIME ); TimerStatus.start ( STATUSBAR_UPDATE_TIME );
// show the error in the status bar // show the error in the status bar
TextLabelStatus->setText ( tr ( "invalid address" ) ); TextLabelStatus->setText ( tr ( "Invalid address" ) );
} }
} }
else else

View file

@ -6,7 +6,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>520</width> <width>520</width>
<height>355</height> <height>334</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
@ -78,7 +78,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text" > <property name="text" >
<string>Input Level L:</string> <string>Input Level L</string>
</property> </property>
<property name="wordWrap" > <property name="wordWrap" >
<bool>false</bool> <bool>false</bool>
@ -93,8 +93,14 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize" >
<size>
<width>84</width>
<height>0</height>
</size>
</property>
<property name="text" > <property name="text" >
<string>Input Level R:</string> <string>Input Level R</string>
</property> </property>
<property name="wordWrap" > <property name="wordWrap" >
<bool>false</bool> <bool>false</bool>
@ -143,104 +149,136 @@
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</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> <item>
<widget class="QLabel" name="TextLabelServerAddr" > <layout class="QVBoxLayout" >
<property name="text" > <item>
<string>Server Address:</string> <widget class="QLabel" name="TextLabelServerAddr" >
</property> <property name="text" >
<property name="wordWrap" > <string>Server Address</string>
<bool>false</bool> </property>
</property> <property name="wordWrap" >
</widget> <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>
<item> <item>
<widget class="QLineEdit" name="LineEditServerAddr" /> <layout class="QVBoxLayout" >
<item>
<widget class="QLineEdit" name="LineEditServerAddr" />
</item>
<item>
<widget class="QLineEdit" name="LineEditFaderTag" >
<property name="maxLength" >
<number>15</number>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="spacing" > <property name="spacing" >
<number>6</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> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="TextLabelServerTag" > <layout class="QVBoxLayout" >
<property name="text" > <property name="spacing" >
<string>Fader Tag:</string> <number>0</number>
</property> </property>
<property name="wordWrap" > <item>
<bool>false</bool> <spacer>
</property> <property name="orientation" >
</widget> <enum>Qt::Vertical</enum>
</item> </property>
<item> <property name="sizeType" >
<widget class="QLineEdit" name="LineEditFaderTag" > <enum>QSizePolicy::Minimum</enum>
<property name="maxLength" > </property>
<number>15</number> <property name="sizeHint" >
</property> <size>
</widget> <width>20</width>
</item> <height>5</height>
</layout> </size>
</item> </property>
<item> </spacer>
<layout class="QHBoxLayout" > </item>
<property name="spacing" > <item>
<number>6</number> <layout class="QHBoxLayout" >
</property> <property name="spacing" >
<property name="leftMargin" > <number>3</number>
<number>0</number> </property>
</property> <property name="leftMargin" >
<property name="topMargin" > <number>0</number>
<number>0</number> </property>
</property> <property name="topMargin" >
<property name="rightMargin" > <number>0</number>
<number>0</number> </property>
</property> <property name="rightMargin" >
<property name="bottomMargin" > <number>3</number>
<number>0</number> </property>
</property> <property name="bottomMargin" >
<item> <number>0</number>
<spacer> </property>
<property name="orientation" > <item>
<enum>Qt::Horizontal</enum> <widget class="QLabel" name="TextLabelStatus" >
</property> <property name="sizePolicy" >
<property name="sizeType" > <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
<enum>QSizePolicy::Expanding</enum> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="sizeHint" > </sizepolicy>
<size> </property>
<width>20</width> <property name="frameShape" >
<height>20</height> <enum>QFrame::Panel</enum>
</size> </property>
</property> <property name="frameShadow" >
</spacer> <enum>QFrame::Sunken</enum>
</property>
<property name="text" >
<string>TextLabelStatus</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="CMultiColorLED" native="1" name="LEDOverallStatus" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QPushButton" name="PushButtonConnect" > <widget class="QPushButton" name="PushButtonConnect" >
@ -252,68 +290,21 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>3</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> <item>
<widget class="QLabel" name="TextLabelStatus" > <spacer>
<property name="sizePolicy" > <property name="orientation" >
<sizepolicy vsizetype="Minimum" hsizetype="Expanding" > <enum>Qt::Horizontal</enum>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="frameShape" > <property name="sizeType" >
<enum>QFrame::Panel</enum> <enum>QSizePolicy::Minimum</enum>
</property> </property>
<property name="frameShadow" > <property name="sizeHint" >
<enum>QFrame::Sunken</enum>
</property>
<property name="text" >
<string>TextLabelStatus</string>
</property>
<property name="wordWrap" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="CMultiColorLED" native="1" name="LEDOverallStatus" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size> <size>
<width>20</width> <width>0</width>
<height>20</height> <height>29</height>
</size> </size>
</property> </property>
<property name="maximumSize" > </spacer>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>