--- a/Cooperation/ChatWidget.ui Tue Mar 30 15:57:01 2010 +0000 +++ b/Cooperation/ChatWidget.ui Tue Mar 30 17:17:15 2010 +0000 @@ -62,7 +62,11 @@ </widget> </item> <item> - <widget class="QLineEdit" name="messageEdit"/> + <widget class="QLineEdit" name="messageEdit"> + <property name="toolTip"> + <string>Enter the text to send</string> + </property> + </widget> </item> <item> <widget class="QPushButton" name="sendButton"> @@ -187,7 +191,26 @@ </widget> </item> <item row="0" column="1" colspan="3"> - <widget class="QLineEdit" name="hostEdit"/> + <widget class="QComboBox" name="hostEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Enter the host to connect to</string> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="insertPolicy"> + <enum>QComboBox::InsertAtTop</enum> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToMinimumContentsLength</enum> + </property> + </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> @@ -198,6 +221,9 @@ </item> <item row="1" column="1"> <widget class="QSpinBox" name="portSpin"> + <property name="toolTip"> + <string>Enter the port to connect to</string> + </property> <property name="minimum"> <number>1025</number> </property> @@ -253,6 +279,9 @@ </item> <item> <widget class="QSpinBox" name="serverPortSpin"> + <property name="toolTip"> + <string>Enter the server port</string> + </property> <property name="minimum"> <number>1025</number> </property>