132 lines
3.0 KiB
XML
132 lines
3.0 KiB
XML
<?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>366</width>
|
|
<height>549</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Socket.IO Chat</string>
|
|
</property>
|
|
<property name="unifiedTitleAndToolBarOnMac">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<widget class="QListWidget" name="listView">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>8</x>
|
|
<y>11</y>
|
|
<width>350</width>
|
|
<height>461</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="messageEdit">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>8</x>
|
|
<y>480</y>
|
|
<width>350</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Type here...</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>366</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>messageEdit</sender>
|
|
<signal>returnPressed()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>OnMessageReturn()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>116</x>
|
|
<y>524</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>30</x>
|
|
<y>545</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>messageEdit</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>TypingChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>73</x>
|
|
<y>531</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>70</x>
|
|
<y>510</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>SendBtnClicked(bool)</slot>
|
|
<slot>TypingChanged()</slot>
|
|
<slot>LoginClicked()</slot>
|
|
<slot>OnMessageReturn()</slot>
|
|
<slot>SendBtnClicked()</slot>
|
|
</slots>
|
|
</ui>
|