blob: 707a117a1ea48d634830e2456f1622119dd8919c [file] [log] [blame] [raw]
<?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>&amp;Server</string>
</property>
<addaction name="action_change_server"/>
<addaction name="action_logout"/>
</widget>
<widget class="QMenu" name="menu_edit">
<property name="title">
<string>&amp;Edit</string>
</property>
<addaction name="action_press_enter_to_send_message"/>
<addaction name="action_settings"/>
</widget>
<widget class="QMenu" name="menu_View">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="action_show_online_users"/>
</widget>
<addaction name="menu_server"/>
<addaction name="menu_edit"/>
<addaction name="menu_View"/>
</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="tool_bar">
<property name="windowTitle">
<string>Tool Bar</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 &amp;Enter to send message</string>
</property>
</action>
<action name="action_settings">
<property name="text">
<string>&amp;Settings ...</string>
</property>
</action>
<action name="action_change_server">
<property name="text">
<string>&amp;Change server</string>
</property>
</action>
<action name="action_logout">
<property name="text">
<string>&amp;Logout</string>
</property>
</action>
<action name="action_send">
<property name="text">
<string>&amp;Send</string>
</property>
<property name="toolTip">
<string>Send your message</string>
</property>
</action>
<action name="action_show_online_users">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Show On-line Users</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>
<connection>
<sender>action_show_online_users</sender>
<signal>triggered(bool)</signal>
<receiver>dockWidget_online_list</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>293</x>
<y>207</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_change_server</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>change_server()</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_logout</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</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>
<slot>change_server()</slot>
</slots>
</ui>