|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>ChatWidget</class> |
|
4 <widget class="QWidget" name="ChatWidget"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>300</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Chat</string> |
|
15 </property> |
|
16 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
17 <property name="leftMargin"> |
|
18 <number>0</number> |
|
19 </property> |
|
20 <property name="topMargin"> |
|
21 <number>0</number> |
|
22 </property> |
|
23 <property name="rightMargin"> |
|
24 <number>0</number> |
|
25 </property> |
|
26 <property name="bottomMargin"> |
|
27 <number>0</number> |
|
28 </property> |
|
29 <item> |
|
30 <widget class="QGroupBox" name="usersGroup"> |
|
31 <property name="sizePolicy"> |
|
32 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
33 <horstretch>0</horstretch> |
|
34 <verstretch>1</verstretch> |
|
35 </sizepolicy> |
|
36 </property> |
|
37 <property name="title"> |
|
38 <string>Users</string> |
|
39 </property> |
|
40 <layout class="QVBoxLayout" name="verticalLayout"> |
|
41 <item> |
|
42 <widget class="QListWidget" name="usersList"> |
|
43 <property name="focusPolicy"> |
|
44 <enum>Qt::NoFocus</enum> |
|
45 </property> |
|
46 <property name="contextMenuPolicy"> |
|
47 <enum>Qt::CustomContextMenu</enum> |
|
48 </property> |
|
49 </widget> |
|
50 </item> |
|
51 </layout> |
|
52 </widget> |
|
53 </item> |
|
54 <item> |
|
55 <widget class="QGroupBox" name="chatGroup"> |
|
56 <property name="sizePolicy"> |
|
57 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
58 <horstretch>0</horstretch> |
|
59 <verstretch>2</verstretch> |
|
60 </sizepolicy> |
|
61 </property> |
|
62 <property name="title"> |
|
63 <string>Chat</string> |
|
64 </property> |
|
65 <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
66 <item> |
|
67 <widget class="QTextEdit" name="chatEdit"> |
|
68 <property name="focusPolicy"> |
|
69 <enum>Qt::NoFocus</enum> |
|
70 </property> |
|
71 <property name="contextMenuPolicy"> |
|
72 <enum>Qt::CustomContextMenu</enum> |
|
73 </property> |
|
74 <property name="readOnly"> |
|
75 <bool>true</bool> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 <item> |
|
80 <widget class="E5ClearableLineEdit" name="messageEdit"> |
|
81 <property name="toolTip"> |
|
82 <string>Enter the text to send</string> |
|
83 </property> |
|
84 </widget> |
|
85 </item> |
|
86 <item> |
|
87 <widget class="QPushButton" name="sendButton"> |
|
88 <property name="toolTip"> |
|
89 <string>Press to send the text above</string> |
|
90 </property> |
|
91 <property name="text"> |
|
92 <string>Send</string> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 </layout> |
|
97 </widget> |
|
98 </item> |
|
99 <item> |
|
100 <widget class="QGroupBox" name="sharingGroup"> |
|
101 <property name="enabled"> |
|
102 <bool>false</bool> |
|
103 </property> |
|
104 <property name="title"> |
|
105 <string>Share Editor</string> |
|
106 </property> |
|
107 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
108 <property name="spacing"> |
|
109 <number>0</number> |
|
110 </property> |
|
111 <item> |
|
112 <spacer name="horizontalSpacer_2"> |
|
113 <property name="orientation"> |
|
114 <enum>Qt::Horizontal</enum> |
|
115 </property> |
|
116 <property name="sizeHint" stdset="0"> |
|
117 <size> |
|
118 <width>76</width> |
|
119 <height>20</height> |
|
120 </size> |
|
121 </property> |
|
122 </spacer> |
|
123 </item> |
|
124 <item> |
|
125 <widget class="QToolButton" name="shareButton"> |
|
126 <property name="enabled"> |
|
127 <bool>false</bool> |
|
128 </property> |
|
129 <property name="toolTip"> |
|
130 <string>Press to toggle the shared status of the current editor</string> |
|
131 </property> |
|
132 <property name="checkable"> |
|
133 <bool>true</bool> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 <item> |
|
138 <widget class="QToolButton" name="startEditButton"> |
|
139 <property name="enabled"> |
|
140 <bool>false</bool> |
|
141 </property> |
|
142 <property name="toolTip"> |
|
143 <string>Press to start a shared edit</string> |
|
144 </property> |
|
145 <property name="checkable"> |
|
146 <bool>true</bool> |
|
147 </property> |
|
148 </widget> |
|
149 </item> |
|
150 <item> |
|
151 <widget class="QToolButton" name="sendEditButton"> |
|
152 <property name="enabled"> |
|
153 <bool>false</bool> |
|
154 </property> |
|
155 <property name="toolTip"> |
|
156 <string>Press to end the edit and send the changes</string> |
|
157 </property> |
|
158 </widget> |
|
159 </item> |
|
160 <item> |
|
161 <widget class="QToolButton" name="cancelEditButton"> |
|
162 <property name="enabled"> |
|
163 <bool>false</bool> |
|
164 </property> |
|
165 <property name="toolTip"> |
|
166 <string>Press to cancel the shared edit</string> |
|
167 </property> |
|
168 </widget> |
|
169 </item> |
|
170 <item> |
|
171 <spacer name="horizontalSpacer"> |
|
172 <property name="orientation"> |
|
173 <enum>Qt::Horizontal</enum> |
|
174 </property> |
|
175 <property name="sizeHint" stdset="0"> |
|
176 <size> |
|
177 <width>75</width> |
|
178 <height>20</height> |
|
179 </size> |
|
180 </property> |
|
181 </spacer> |
|
182 </item> |
|
183 </layout> |
|
184 </widget> |
|
185 </item> |
|
186 <item> |
|
187 <widget class="QGroupBox" name="connectGroup"> |
|
188 <property name="title"> |
|
189 <string>Connection</string> |
|
190 </property> |
|
191 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
192 <item> |
|
193 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
194 <item> |
|
195 <widget class="QLabel" name="label_2"> |
|
196 <property name="text"> |
|
197 <string>Host:</string> |
|
198 </property> |
|
199 </widget> |
|
200 </item> |
|
201 <item> |
|
202 <widget class="E5ClearableComboBox" name="hostEdit"> |
|
203 <property name="sizePolicy"> |
|
204 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
205 <horstretch>0</horstretch> |
|
206 <verstretch>0</verstretch> |
|
207 </sizepolicy> |
|
208 </property> |
|
209 <property name="toolTip"> |
|
210 <string>Enter the host and port to connect to in the form "host@port"</string> |
|
211 </property> |
|
212 <property name="editable"> |
|
213 <bool>true</bool> |
|
214 </property> |
|
215 <property name="insertPolicy"> |
|
216 <enum>QComboBox::InsertAtTop</enum> |
|
217 </property> |
|
218 <property name="sizeAdjustPolicy"> |
|
219 <enum>QComboBox::AdjustToMinimumContentsLength</enum> |
|
220 </property> |
|
221 </widget> |
|
222 </item> |
|
223 </layout> |
|
224 </item> |
|
225 <item> |
|
226 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
227 <item> |
|
228 <widget class="QPushButton" name="clearHostsButton"> |
|
229 <property name="toolTip"> |
|
230 <string>Press to clear the hosts list</string> |
|
231 </property> |
|
232 <property name="text"> |
|
233 <string>Clear</string> |
|
234 </property> |
|
235 </widget> |
|
236 </item> |
|
237 <item> |
|
238 <widget class="QPushButton" name="connectButton"> |
|
239 <property name="enabled"> |
|
240 <bool>false</bool> |
|
241 </property> |
|
242 <property name="sizePolicy"> |
|
243 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
244 <horstretch>0</horstretch> |
|
245 <verstretch>0</verstretch> |
|
246 </sizepolicy> |
|
247 </property> |
|
248 <property name="text"> |
|
249 <string/> |
|
250 </property> |
|
251 <property name="autoDefault"> |
|
252 <bool>false</bool> |
|
253 </property> |
|
254 </widget> |
|
255 </item> |
|
256 <item> |
|
257 <widget class="E5Led" name="connectionLed" native="true"> |
|
258 <property name="toolTip"> |
|
259 <string>Shows the connection status</string> |
|
260 </property> |
|
261 </widget> |
|
262 </item> |
|
263 </layout> |
|
264 </item> |
|
265 </layout> |
|
266 </widget> |
|
267 </item> |
|
268 <item> |
|
269 <widget class="QGroupBox" name="serverGroup"> |
|
270 <property name="title"> |
|
271 <string>Server</string> |
|
272 </property> |
|
273 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
274 <item> |
|
275 <widget class="QLabel" name="label_4"> |
|
276 <property name="text"> |
|
277 <string>Port:</string> |
|
278 </property> |
|
279 </widget> |
|
280 </item> |
|
281 <item> |
|
282 <widget class="QSpinBox" name="serverPortSpin"> |
|
283 <property name="toolTip"> |
|
284 <string>Enter the server port</string> |
|
285 </property> |
|
286 <property name="minimum"> |
|
287 <number>1025</number> |
|
288 </property> |
|
289 <property name="maximum"> |
|
290 <number>65535</number> |
|
291 </property> |
|
292 <property name="singleStep"> |
|
293 <number>1</number> |
|
294 </property> |
|
295 <property name="value"> |
|
296 <number>42000</number> |
|
297 </property> |
|
298 </widget> |
|
299 </item> |
|
300 <item> |
|
301 <widget class="QPushButton" name="serverButton"> |
|
302 <property name="sizePolicy"> |
|
303 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
304 <horstretch>0</horstretch> |
|
305 <verstretch>0</verstretch> |
|
306 </sizepolicy> |
|
307 </property> |
|
308 <property name="text"> |
|
309 <string/> |
|
310 </property> |
|
311 <property name="autoDefault"> |
|
312 <bool>false</bool> |
|
313 </property> |
|
314 </widget> |
|
315 </item> |
|
316 <item> |
|
317 <widget class="E5Led" name="serverLed" native="true"> |
|
318 <property name="toolTip"> |
|
319 <string>Shows the status of the server</string> |
|
320 </property> |
|
321 </widget> |
|
322 </item> |
|
323 </layout> |
|
324 </widget> |
|
325 </item> |
|
326 </layout> |
|
327 </widget> |
|
328 <customwidgets> |
|
329 <customwidget> |
|
330 <class>E5ClearableLineEdit</class> |
|
331 <extends>QLineEdit</extends> |
|
332 <header>E5Gui/E5LineEdit.h</header> |
|
333 </customwidget> |
|
334 <customwidget> |
|
335 <class>E5Led</class> |
|
336 <extends>QWidget</extends> |
|
337 <header>E5Gui/E5Led.h</header> |
|
338 <container>1</container> |
|
339 </customwidget> |
|
340 <customwidget> |
|
341 <class>E5ClearableComboBox</class> |
|
342 <extends>QComboBox</extends> |
|
343 <header>E5Gui/E5ComboBox.h</header> |
|
344 </customwidget> |
|
345 </customwidgets> |
|
346 <tabstops> |
|
347 <tabstop>serverButton</tabstop> |
|
348 <tabstop>serverPortSpin</tabstop> |
|
349 <tabstop>hostEdit</tabstop> |
|
350 <tabstop>connectButton</tabstop> |
|
351 <tabstop>clearHostsButton</tabstop> |
|
352 <tabstop>shareButton</tabstop> |
|
353 <tabstop>startEditButton</tabstop> |
|
354 <tabstop>sendEditButton</tabstop> |
|
355 <tabstop>cancelEditButton</tabstop> |
|
356 <tabstop>messageEdit</tabstop> |
|
357 <tabstop>sendButton</tabstop> |
|
358 </tabstops> |
|
359 <resources/> |
|
360 <connections/> |
|
361 </ui> |