| <?xml version="1.0" encoding="UTF-8"?> |
| <ui version="4.0"> |
| <class>MainWindow</class> |
| <widget class="QMainWindow" name="MainWindow"> |
| <property name="geometry"> |
| <rect> |
| <x>0</x> |
| <y>0</y> |
| <width>404</width> |
| <height>384</height> |
| </rect> |
| </property> |
| <property name="windowTitle"> |
| <string>MainWindow</string> |
| </property> |
| <widget class="QWidget" name="centralwidget"> |
| <layout class="QVBoxLayout" name="verticalLayout_2"> |
| <item> |
| <widget class="QTextEdit" name="chat_area"> |
| <property name="readOnly"> |
| <bool>true</bool> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QWidget" name="widget" native="true"> |
| <property name="maximumSize"> |
| <size> |
| <width>16777215</width> |
| <height>96</height> |
| </size> |
| </property> |
| <layout class="QVBoxLayout" name="verticalLayout"> |
| <property name="margin"> |
| <number>0</number> |
| </property> |
| <item> |
| <widget class="QLabel" name="label_message_to"> |
| <property name="text"> |
| <string>Brosdcast Message:</string> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QTextEdit" name="textEdit_message_to_send"/> |
| </item> |
| </layout> |
| </widget> |
| </item> |
| </layout> |
| </widget> |
| <widget class="QMenuBar" name="menubar"> |
| <property name="geometry"> |
| <rect> |
| <x>0</x> |
| <y>0</y> |
| <width>404</width> |
| <height>27</height> |
| </rect> |
| </property> |
| <widget class="QMenu" name="menu_server"> |
| <property name="title"> |
| <string>&Server</string> |
| </property> |
| <addaction name="action_change_server"/> |
| <addaction name="action_logout"/> |
| </widget> |
| <widget class="QMenu" name="menu_edit"> |
| <property name="title"> |
| <string>&Edit</string> |
| </property> |
| <addaction name="action_press_enter_to_send_message"/> |
| <addaction name="action_settings"/> |
| </widget> |
| <addaction name="menu_server"/> |
| <addaction name="menu_edit"/> |
| </widget> |
| <widget class="QStatusBar" name="statusbar"/> |
| <widget class="QDockWidget" name="dockWidget_online_list"> |
| <property name="minimumSize"> |
| <size> |
| <width>80</width> |
| <height>152</height> |
| </size> |
| </property> |
| <property name="maximumSize"> |
| <size> |
| <width>220</width> |
| <height>524287</height> |
| </size> |
| </property> |
| <property name="windowTitle"> |
| <string>On-line Users</string> |
| </property> |
| <attribute name="dockWidgetArea"> |
| <number>2</number> |
| </attribute> |
| <widget class="QWidget" name="dockWidgetContents"> |
| <layout class="QVBoxLayout" name="verticalLayout_3"> |
| <item> |
| <widget class="QLabel" name="label_on_users"> |
| <property name="text"> |
| <string>On-line Users:</string> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QListWidget" name="listWidget_online_users"/> |
| </item> |
| </layout> |
| </widget> |
| </widget> |
| <widget class="QToolBar" name="toolBar"> |
| <property name="windowTitle"> |
| <string>toolBar</string> |
| </property> |
| <attribute name="toolBarArea"> |
| <enum>TopToolBarArea</enum> |
| </attribute> |
| <attribute name="toolBarBreak"> |
| <bool>false</bool> |
| </attribute> |
| <addaction name="action_send"/> |
| </widget> |
| <action name="action_press_enter_to_send_message"> |
| <property name="checkable"> |
| <bool>true</bool> |
| </property> |
| <property name="text"> |
| <string>Press &Enter to send message</string> |
| </property> |
| </action> |
| <action name="action_settings"> |
| <property name="text"> |
| <string>&Settings ...</string> |
| </property> |
| </action> |
| <action name="action_change_server"> |
| <property name="text"> |
| <string>&Change server</string> |
| </property> |
| </action> |
| <action name="action_logout"> |
| <property name="text"> |
| <string>&Logout</string> |
| </property> |
| </action> |
| <action name="action_send"> |
| <property name="text"> |
| <string>&Send</string> |
| </property> |
| <property name="toolTip"> |
| <string>Send your message</string> |
| </property> |
| </action> |
| </widget> |
| <resources/> |
| <connections> |
| <connection> |
| <sender>action_press_enter_to_send_message</sender> |
| <signal>triggered(bool)</signal> |
| <receiver>MainWindow</receiver> |
| <slot>set_send_message_on_enter(bool)</slot> |
| <hints> |
| <hint type="sourcelabel"> |
| <x>-1</x> |
| <y>-1</y> |
| </hint> |
| <hint type="destinationlabel"> |
| <x>201</x> |
| <y>191</y> |
| </hint> |
| </hints> |
| </connection> |
| <connection> |
| <sender>action_settings</sender> |
| <signal>triggered()</signal> |
| <receiver>MainWindow</receiver> |
| <slot>settings()</slot> |
| <hints> |
| <hint type="sourcelabel"> |
| <x>-1</x> |
| <y>-1</y> |
| </hint> |
| <hint type="destinationlabel"> |
| <x>201</x> |
| <y>191</y> |
| </hint> |
| </hints> |
| </connection> |
| <connection> |
| <sender>action_send</sender> |
| <signal>triggered()</signal> |
| <receiver>MainWindow</receiver> |
| <slot>send_message()</slot> |
| <hints> |
| <hint type="sourcelabel"> |
| <x>-1</x> |
| <y>-1</y> |
| </hint> |
| <hint type="destinationlabel"> |
| <x>201</x> |
| <y>191</y> |
| </hint> |
| </hints> |
| </connection> |
| </connections> |
| <slots> |
| <slot>set_send_message_on_enter(bool)</slot> |
| <slot>settings()</slot> |
| <slot>send_message()</slot> |
| </slots> |
| </ui> |