Rev 711 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
674 | KeyOz | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> |
||
3 | <class>dlg_Main_UI</class> |
||
4 | <widget class="QMainWindow" name="dlg_Main_UI"> |
||
5 | <property name="geometry"> |
||
6 | <rect> |
||
7 | <x>0</x> |
||
8 | <y>0</y> |
||
750 | KeyOz | 9 | <width>519</width> |
711 | KeyOz | 10 | <height>372</height> |
674 | KeyOz | 11 | </rect> |
12 | </property> |
||
13 | <property name="windowTitle"> |
||
14 | <string>QMK-Communicator</string> |
||
15 | </property> |
||
16 | <property name="windowIcon"> |
||
17 | <iconset resource="../QMK-Communicator.qrc"> |
||
18 | <normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</iconset> |
||
19 | </property> |
||
20 | <widget class="QWidget" name="centralWidget"> |
||
21 | <layout class="QGridLayout" name="gridLayout_9"> |
||
22 | <property name="margin"> |
||
23 | <number>2</number> |
||
24 | </property> |
||
25 | <item row="0" column="0"> |
||
26 | <widget class="QGroupBox" name="groupBox"> |
||
27 | <property name="sizePolicy"> |
||
28 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
||
29 | <horstretch>0</horstretch> |
||
30 | <verstretch>0</verstretch> |
||
31 | </sizepolicy> |
||
32 | </property> |
||
33 | <property name="title"> |
||
34 | <string>Verbindung zum Mikrokopter</string> |
||
35 | </property> |
||
36 | <layout class="QGridLayout" name="gridLayout_8"> |
||
37 | <item row="0" column="0" colspan="2"> |
||
38 | <widget class="QFrame" name="frame"> |
||
39 | <property name="frameShape"> |
||
40 | <enum>QFrame::StyledPanel</enum> |
||
41 | </property> |
||
42 | <property name="frameShadow"> |
||
43 | <enum>QFrame::Raised</enum> |
||
44 | </property> |
||
45 | <layout class="QGridLayout" name="gridLayout_7"> |
||
46 | <property name="margin"> |
||
47 | <number>2</number> |
||
48 | </property> |
||
49 | <item row="0" column="0"> |
||
50 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
||
51 | <item> |
||
52 | <widget class="QRadioButton" name="rb_Device"> |
||
53 | <property name="text"> |
||
54 | <string>Device</string> |
||
55 | </property> |
||
56 | </widget> |
||
57 | </item> |
||
58 | <item> |
||
59 | <widget class="QRadioButton" name="rb_TCP"> |
||
60 | <property name="text"> |
||
61 | <string>T CP</string> |
||
62 | </property> |
||
63 | </widget> |
||
64 | </item> |
||
65 | <item> |
||
66 | <widget class="QRadioButton" name="rb_UDP"> |
||
67 | <property name="enabled"> |
||
68 | <bool>false</bool> |
||
69 | </property> |
||
70 | <property name="text"> |
||
71 | <string>UDP</string> |
||
72 | </property> |
||
73 | </widget> |
||
74 | </item> |
||
75 | </layout> |
||
76 | </item> |
||
77 | </layout> |
||
78 | <zorder></zorder> |
||
79 | </widget> |
||
80 | </item> |
||
81 | <item row="1" column="0"> |
||
82 | <widget class="QWidget" name="wg_Device" native="true"> |
||
83 | <property name="sizePolicy"> |
||
84 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
||
85 | <horstretch>0</horstretch> |
||
86 | <verstretch>0</verstretch> |
||
87 | </sizepolicy> |
||
88 | </property> |
||
89 | <layout class="QGridLayout" name="gridLayout_5"> |
||
90 | <property name="margin"> |
||
91 | <number>2</number> |
||
92 | </property> |
||
93 | <item row="1" column="2"> |
||
94 | <widget class="QComboBox" name="cb_Device"> |
||
95 | <property name="editable"> |
||
96 | <bool>true</bool> |
||
97 | </property> |
||
98 | <property name="insertPolicy"> |
||
99 | <enum>QComboBox::InsertAtTop</enum> |
||
100 | </property> |
||
101 | </widget> |
||
102 | </item> |
||
103 | <item row="1" column="0"> |
||
104 | <widget class="QLabel" name="lb_Device"> |
||
105 | <property name="text"> |
||
106 | <string>Device:</string> |
||
107 | </property> |
||
108 | </widget> |
||
109 | </item> |
||
110 | <item row="0" column="2"> |
||
111 | <spacer name="horizontalSpacer"> |
||
112 | <property name="orientation"> |
||
113 | <enum>Qt::Horizontal</enum> |
||
114 | </property> |
||
115 | <property name="sizeHint" stdset="0"> |
||
116 | <size> |
||
117 | <width>40</width> |
||
118 | <height>1</height> |
||
119 | </size> |
||
120 | </property> |
||
121 | </spacer> |
||
122 | </item> |
||
123 | </layout> |
||
124 | </widget> |
||
125 | </item> |
||
711 | KeyOz | 126 | <item row="4" column="0" colspan="2"> |
674 | KeyOz | 127 | <widget class="QFrame" name="frame_2"> |
128 | <property name="frameShape"> |
||
129 | <enum>QFrame::StyledPanel</enum> |
||
130 | </property> |
||
131 | <property name="frameShadow"> |
||
132 | <enum>QFrame::Raised</enum> |
||
133 | </property> |
||
134 | <layout class="QGridLayout" name="gridLayout_2"> |
||
135 | <property name="margin"> |
||
136 | <number>2</number> |
||
137 | </property> |
||
138 | <item row="1" column="0"> |
||
139 | <layout class="QGridLayout" name="gridLayout"> |
||
140 | <item row="0" column="0"> |
||
141 | <widget class="QRadioButton" name="rb_FC"> |
||
142 | <property name="text"> |
||
143 | <string>FlightCtrl</string> |
||
144 | </property> |
||
145 | </widget> |
||
146 | </item> |
||
147 | <item row="0" column="1"> |
||
148 | <widget class="QRadioButton" name="rb_NC"> |
||
149 | <property name="text"> |
||
150 | <string>NaviCtrl</string> |
||
151 | </property> |
||
152 | </widget> |
||
153 | </item> |
||
154 | <item row="0" column="2"> |
||
155 | <widget class="QRadioButton" name="rb_MK3MAG"> |
||
156 | <property name="text"> |
||
157 | <string>MK3MAG</string> |
||
158 | </property> |
||
159 | </widget> |
||
160 | </item> |
||
161 | </layout> |
||
162 | </item> |
||
163 | </layout> |
||
164 | </widget> |
||
165 | </item> |
||
711 | KeyOz | 166 | <item row="3" column="0" colspan="2"> |
674 | KeyOz | 167 | <widget class="QPushButton" name="btn_Connect"> |
168 | <property name="text"> |
||
169 | <string>Verbinden</string> |
||
170 | </property> |
||
171 | </widget> |
||
172 | </item> |
||
711 | KeyOz | 173 | <item row="2" column="0"> |
174 | <widget class="QWidget" name="wg_IP" native="true"> |
||
175 | <property name="enabled"> |
||
176 | <bool>true</bool> |
||
177 | </property> |
||
178 | <layout class="QGridLayout" name="gridLayout_6"> |
||
179 | <property name="margin"> |
||
180 | <number>2</number> |
||
181 | </property> |
||
182 | <item row="0" column="1"> |
||
183 | <spacer name="horizontalSpacer_3"> |
||
184 | <property name="orientation"> |
||
185 | <enum>Qt::Horizontal</enum> |
||
186 | </property> |
||
187 | <property name="sizeHint" stdset="0"> |
||
188 | <size> |
||
189 | <width>60</width> |
||
190 | <height>1</height> |
||
191 | </size> |
||
192 | </property> |
||
193 | </spacer> |
||
194 | </item> |
||
195 | <item row="1" column="1"> |
||
196 | <widget class="QComboBox" name="cb_Server"> |
||
197 | <property name="editable"> |
||
198 | <bool>true</bool> |
||
199 | </property> |
||
200 | </widget> |
||
201 | </item> |
||
202 | <item row="1" column="0"> |
||
203 | <widget class="QLabel" name="label"> |
||
204 | <property name="text"> |
||
205 | <string>Server:</string> |
||
206 | </property> |
||
207 | </widget> |
||
208 | </item> |
||
209 | <item row="1" column="3"> |
||
210 | <widget class="QLineEdit" name="le_Password"> |
||
211 | <property name="echoMode"> |
||
212 | <enum>QLineEdit::Password</enum> |
||
213 | </property> |
||
214 | </widget> |
||
215 | </item> |
||
216 | <item row="1" column="2"> |
||
217 | <widget class="QLabel" name="label_2"> |
||
218 | <property name="text"> |
||
219 | <string>PW:</string> |
||
220 | </property> |
||
221 | </widget> |
||
222 | </item> |
||
223 | </layout> |
||
224 | </widget> |
||
225 | </item> |
||
674 | KeyOz | 226 | </layout> |
227 | </widget> |
||
228 | </item> |
||
229 | <item row="1" column="0"> |
||
230 | <widget class="QGroupBox" name="groupBox_2"> |
||
231 | <property name="title"> |
||
232 | <string>Client-Verbindungen</string> |
||
233 | </property> |
||
234 | <layout class="QGridLayout" name="gridLayout_3"> |
||
235 | <property name="horizontalSpacing"> |
||
236 | <number>0</number> |
||
237 | </property> |
||
238 | <item row="0" column="0"> |
||
239 | <widget class="QListWidget" name="lw_Clients"> |
||
240 | <property name="font"> |
||
241 | <font> |
||
242 | <family>Courier 10 Pitch</family> |
||
243 | <pointsize>12</pointsize> |
||
244 | </font> |
||
245 | </property> |
||
711 | KeyOz | 246 | <property name="autoScroll"> |
247 | <bool>false</bool> |
||
248 | </property> |
||
249 | <property name="showDropIndicator" stdset="0"> |
||
250 | <bool>false</bool> |
||
251 | </property> |
||
252 | <property name="resizeMode"> |
||
253 | <enum>QListView::Adjust</enum> |
||
254 | </property> |
||
255 | <property name="viewMode"> |
||
256 | <enum>QListView::ListMode</enum> |
||
257 | </property> |
||
674 | KeyOz | 258 | </widget> |
259 | </item> |
||
260 | </layout> |
||
261 | </widget> |
||
262 | </item> |
||
263 | <item row="3" column="0" colspan="2"> |
||
264 | <widget class="QLabel" name="lb_Info"> |
||
265 | <property name="frameShape"> |
||
266 | <enum>QFrame::Box</enum> |
||
267 | </property> |
||
268 | <property name="text"> |
||
269 | <string/> |
||
270 | </property> |
||
271 | </widget> |
||
272 | </item> |
||
273 | <item row="0" column="1" rowspan="2"> |
||
274 | <widget class="QGroupBox" name="groupBox_3"> |
||
750 | KeyOz | 275 | <property name="minimumSize"> |
276 | <size> |
||
277 | <width>150</width> |
||
278 | <height>0</height> |
||
279 | </size> |
||
280 | </property> |
||
281 | <property name="maximumSize"> |
||
282 | <size> |
||
283 | <width>150</width> |
||
284 | <height>16777215</height> |
||
285 | </size> |
||
286 | </property> |
||
674 | KeyOz | 287 | <property name="title"> |
288 | <string>Clients</string> |
||
289 | </property> |
||
290 | <layout class="QGridLayout" name="gridLayout_4"> |
||
291 | <item row="0" column="0"> |
||
292 | <widget class="QPushButton" name="btn_Terminal"> |
||
293 | <property name="text"> |
||
294 | <string>Terminal</string> |
||
295 | </property> |
||
296 | <property name="icon"> |
||
297 | <iconset resource="../QMK-Communicator.qrc"> |
||
298 | <normaloff>:/Actions/Global/Images/Actions/Terminal.png</normaloff>:/Actions/Global/Images/Actions/Terminal.png</iconset> |
||
299 | </property> |
||
300 | <property name="iconSize"> |
||
301 | <size> |
||
302 | <width>20</width> |
||
303 | <height>20</height> |
||
304 | </size> |
||
305 | </property> |
||
306 | </widget> |
||
307 | </item> |
||
308 | <item row="1" column="0"> |
||
309 | <widget class="Line" name="line"> |
||
310 | <property name="orientation"> |
||
311 | <enum>Qt::Horizontal</enum> |
||
312 | </property> |
||
313 | </widget> |
||
314 | </item> |
||
315 | <item row="2" column="0"> |
||
316 | <widget class="QPushButton" name="btn_cScope"> |
||
317 | <property name="text"> |
||
318 | <string>Scope</string> |
||
319 | </property> |
||
320 | <property name="icon"> |
||
321 | <iconset resource="../QMK-Communicator.qrc"> |
||
322 | <normaloff>:/Icon/Global/Images/Icons/QMK-Scope.png</normaloff>:/Icon/Global/Images/Icons/QMK-Scope.png</iconset> |
||
323 | </property> |
||
324 | <property name="iconSize"> |
||
325 | <size> |
||
326 | <width>20</width> |
||
327 | <height>20</height> |
||
328 | </size> |
||
329 | </property> |
||
330 | </widget> |
||
331 | </item> |
||
332 | <item row="3" column="0"> |
||
333 | <widget class="QPushButton" name="btn_cSettings"> |
||
334 | <property name="text"> |
||
335 | <string>Settings</string> |
||
336 | </property> |
||
337 | <property name="icon"> |
||
338 | <iconset resource="../QMK-Communicator.qrc"> |
||
339 | <normaloff>:/Icon/Global/Images/Icons/QMK-Settings.png</normaloff>:/Icon/Global/Images/Icons/QMK-Settings.png</iconset> |
||
340 | </property> |
||
341 | <property name="iconSize"> |
||
342 | <size> |
||
343 | <width>20</width> |
||
344 | <height>20</height> |
||
345 | </size> |
||
346 | </property> |
||
347 | </widget> |
||
348 | </item> |
||
349 | <item row="4" column="0"> |
||
350 | <widget class="QPushButton" name="btn_cMaps"> |
||
351 | <property name="text"> |
||
352 | <string>Maps</string> |
||
353 | </property> |
||
354 | <property name="icon"> |
||
355 | <iconset resource="../QMK-Communicator.qrc"> |
||
356 | <normaloff>:/Icon/Global/Images/Icons/QMK-Maps.png</normaloff>:/Icon/Global/Images/Icons/QMK-Maps.png</iconset> |
||
357 | </property> |
||
358 | <property name="iconSize"> |
||
359 | <size> |
||
360 | <width>20</width> |
||
361 | <height>20</height> |
||
362 | </size> |
||
363 | </property> |
||
364 | </widget> |
||
365 | </item> |
||
366 | <item row="7" column="0"> |
||
367 | <spacer name="verticalSpacer"> |
||
368 | <property name="orientation"> |
||
369 | <enum>Qt::Vertical</enum> |
||
370 | </property> |
||
371 | <property name="sizeHint" stdset="0"> |
||
372 | <size> |
||
373 | <width>20</width> |
||
374 | <height>229</height> |
||
375 | </size> |
||
376 | </property> |
||
377 | </spacer> |
||
378 | </item> |
||
379 | <item row="6" column="0"> |
||
380 | <widget class="QPushButton" name="btn_cVoice"> |
||
381 | <property name="enabled"> |
||
382 | <bool>false</bool> |
||
383 | </property> |
||
384 | <property name="text"> |
||
385 | <string>Voice</string> |
||
386 | </property> |
||
387 | <property name="icon"> |
||
388 | <iconset resource="../QMK-Communicator.qrc"> |
||
389 | <normaloff>:/Icon/Global/Images/Icons/QMK-Voice.png</normaloff>:/Icon/Global/Images/Icons/QMK-Voice.png</iconset> |
||
390 | </property> |
||
391 | <property name="iconSize"> |
||
392 | <size> |
||
393 | <width>20</width> |
||
394 | <height>20</height> |
||
395 | </size> |
||
396 | </property> |
||
397 | </widget> |
||
398 | </item> |
||
399 | <item row="5" column="0"> |
||
400 | <widget class="QPushButton" name="btn_cLogger"> |
||
401 | <property name="enabled"> |
||
402 | <bool>false</bool> |
||
403 | </property> |
||
404 | <property name="text"> |
||
405 | <string>Logger</string> |
||
406 | </property> |
||
407 | <property name="icon"> |
||
408 | <iconset resource="../QMK-Communicator.qrc"> |
||
409 | <normaloff>:/Icon/Global/Images/Icons/QMK-Logger.png</normaloff>:/Icon/Global/Images/Icons/QMK-Logger.png</iconset> |
||
410 | </property> |
||
411 | <property name="iconSize"> |
||
412 | <size> |
||
413 | <width>20</width> |
||
414 | <height>20</height> |
||
415 | </size> |
||
416 | </property> |
||
417 | </widget> |
||
418 | </item> |
||
711 | KeyOz | 419 | <item row="8" column="0"> |
420 | <widget class="QPushButton" name="btn_ConnectServer"> |
||
421 | <property name="text"> |
||
422 | <string>Verbinde Server</string> |
||
423 | </property> |
||
424 | </widget> |
||
425 | </item> |
||
750 | KeyOz | 426 | <item row="9" column="0"> |
427 | <widget class="QPushButton" name="btn_Debug"> |
||
428 | <property name="text"> |
||
429 | <string>Debug-Button</string> |
||
430 | </property> |
||
431 | </widget> |
||
432 | </item> |
||
674 | KeyOz | 433 | </layout> |
434 | </widget> |
||
435 | </item> |
||
436 | </layout> |
||
437 | </widget> |
||
438 | <widget class="QMenuBar" name="menuBar"> |
||
439 | <property name="geometry"> |
||
440 | <rect> |
||
441 | <x>0</x> |
||
442 | <y>0</y> |
||
750 | KeyOz | 443 | <width>519</width> |
674 | KeyOz | 444 | <height>21</height> |
445 | </rect> |
||
446 | </property> |
||
447 | <widget class="QMenu" name="menu_Program"> |
||
448 | <property name="title"> |
||
449 | <string>Programm</string> |
||
450 | </property> |
||
750 | KeyOz | 451 | <addaction name="ac_Server"/> |
452 | <addaction name="separator"/> |
||
674 | KeyOz | 453 | <addaction name="ac_Quit"/> |
454 | </widget> |
||
455 | <widget class="QMenu" name="menu_Help"> |
||
456 | <property name="title"> |
||
457 | <string>Hilfe</string> |
||
458 | </property> |
||
459 | <addaction name="ac_About"/> |
||
460 | </widget> |
||
461 | <addaction name="menu_Program"/> |
||
462 | <addaction name="menu_Help"/> |
||
463 | </widget> |
||
464 | <action name="ac_Quit"> |
||
465 | <property name="icon"> |
||
466 | <iconset resource="../QMK-Communicator.qrc"> |
||
467 | <normaloff>:/Actions/Global/Images/Actions/Exit.png</normaloff>:/Actions/Global/Images/Actions/Exit.png</iconset> |
||
468 | </property> |
||
469 | <property name="text"> |
||
470 | <string>Beenden</string> |
||
471 | </property> |
||
472 | </action> |
||
473 | <action name="ac_About"> |
||
474 | <property name="icon"> |
||
475 | <iconset resource="../QMK-Communicator.qrc"> |
||
476 | <normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</iconset> |
||
477 | </property> |
||
478 | <property name="text"> |
||
479 | <string>Über QMK-Communicator</string> |
||
480 | </property> |
||
481 | </action> |
||
482 | <action name="ac_Server"> |
||
483 | <property name="icon"> |
||
484 | <iconset resource="../QMK-Communicator.qrc"> |
||
485 | <normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</iconset> |
||
486 | </property> |
||
487 | <property name="text"> |
||
750 | KeyOz | 488 | <string>Einstellungen</string> |
674 | KeyOz | 489 | </property> |
490 | </action> |
||
491 | </widget> |
||
492 | <layoutdefault spacing="6" margin="11"/> |
||
493 | <resources> |
||
494 | <include location="../QMK-Communicator.qrc"/> |
||
495 | </resources> |
||
496 | <connections> |
||
497 | <connection> |
||
498 | <sender>ac_Quit</sender> |
||
499 | <signal>triggered()</signal> |
||
500 | <receiver>dlg_Main_UI</receiver> |
||
501 | <slot>close()</slot> |
||
502 | <hints> |
||
503 | <hint type="sourcelabel"> |
||
504 | <x>-1</x> |
||
505 | <y>-1</y> |
||
506 | </hint> |
||
507 | <hint type="destinationlabel"> |
||
508 | <x>182</x> |
||
509 | <y>88</y> |
||
510 | </hint> |
||
511 | </hints> |
||
512 | </connection> |
||
711 | KeyOz | 513 | <connection> |
514 | <sender>rb_Device</sender> |
||
515 | <signal>toggled(bool)</signal> |
||
516 | <receiver>wg_Device</receiver> |
||
517 | <slot>setVisible(bool)</slot> |
||
518 | <hints> |
||
519 | <hint type="sourcelabel"> |
||
520 | <x>38</x> |
||
521 | <y>70</y> |
||
522 | </hint> |
||
523 | <hint type="destinationlabel"> |
||
524 | <x>54</x> |
||
525 | <y>105</y> |
||
526 | </hint> |
||
527 | </hints> |
||
528 | </connection> |
||
529 | <connection> |
||
530 | <sender>rb_TCP</sender> |
||
531 | <signal>toggled(bool)</signal> |
||
532 | <receiver>wg_IP</receiver> |
||
533 | <slot>setVisible(bool)</slot> |
||
534 | <hints> |
||
535 | <hint type="sourcelabel"> |
||
536 | <x>125</x> |
||
537 | <y>75</y> |
||
538 | </hint> |
||
539 | <hint type="destinationlabel"> |
||
540 | <x>124</x> |
||
541 | <y>140</y> |
||
542 | </hint> |
||
543 | </hints> |
||
544 | </connection> |
||
674 | KeyOz | 545 | </connections> |
546 | </ui> |