Rev 750 | 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> |
||
801 | - | 9 | <width>505</width> |
10 | <height>361</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"> |
||
801 | - | 241 | <font/> |
674 | KeyOz | 242 | </property> |
711 | KeyOz | 243 | <property name="autoScroll"> |
244 | <bool>false</bool> |
||
245 | </property> |
||
246 | <property name="showDropIndicator" stdset="0"> |
||
247 | <bool>false</bool> |
||
248 | </property> |
||
249 | <property name="resizeMode"> |
||
250 | <enum>QListView::Adjust</enum> |
||
251 | </property> |
||
252 | <property name="viewMode"> |
||
253 | <enum>QListView::ListMode</enum> |
||
254 | </property> |
||
674 | KeyOz | 255 | </widget> |
256 | </item> |
||
257 | </layout> |
||
258 | </widget> |
||
259 | </item> |
||
260 | <item row="3" column="0" colspan="2"> |
||
261 | <widget class="QLabel" name="lb_Info"> |
||
262 | <property name="frameShape"> |
||
263 | <enum>QFrame::Box</enum> |
||
264 | </property> |
||
265 | <property name="text"> |
||
266 | <string/> |
||
267 | </property> |
||
268 | </widget> |
||
269 | </item> |
||
270 | <item row="0" column="1" rowspan="2"> |
||
271 | <widget class="QGroupBox" name="groupBox_3"> |
||
750 | KeyOz | 272 | <property name="minimumSize"> |
273 | <size> |
||
274 | <width>150</width> |
||
275 | <height>0</height> |
||
276 | </size> |
||
277 | </property> |
||
278 | <property name="maximumSize"> |
||
279 | <size> |
||
280 | <width>150</width> |
||
281 | <height>16777215</height> |
||
282 | </size> |
||
283 | </property> |
||
674 | KeyOz | 284 | <property name="title"> |
285 | <string>Clients</string> |
||
286 | </property> |
||
287 | <layout class="QGridLayout" name="gridLayout_4"> |
||
288 | <item row="0" column="0"> |
||
289 | <widget class="QPushButton" name="btn_Terminal"> |
||
290 | <property name="text"> |
||
291 | <string>Terminal</string> |
||
292 | </property> |
||
293 | <property name="icon"> |
||
294 | <iconset resource="../QMK-Communicator.qrc"> |
||
295 | <normaloff>:/Actions/Global/Images/Actions/Terminal.png</normaloff>:/Actions/Global/Images/Actions/Terminal.png</iconset> |
||
296 | </property> |
||
297 | <property name="iconSize"> |
||
298 | <size> |
||
299 | <width>20</width> |
||
300 | <height>20</height> |
||
301 | </size> |
||
302 | </property> |
||
303 | </widget> |
||
304 | </item> |
||
305 | <item row="1" column="0"> |
||
306 | <widget class="Line" name="line"> |
||
307 | <property name="orientation"> |
||
308 | <enum>Qt::Horizontal</enum> |
||
309 | </property> |
||
310 | </widget> |
||
311 | </item> |
||
312 | <item row="2" column="0"> |
||
313 | <widget class="QPushButton" name="btn_cScope"> |
||
314 | <property name="text"> |
||
315 | <string>Scope</string> |
||
316 | </property> |
||
317 | <property name="icon"> |
||
318 | <iconset resource="../QMK-Communicator.qrc"> |
||
319 | <normaloff>:/Icon/Global/Images/Icons/QMK-Scope.png</normaloff>:/Icon/Global/Images/Icons/QMK-Scope.png</iconset> |
||
320 | </property> |
||
321 | <property name="iconSize"> |
||
322 | <size> |
||
323 | <width>20</width> |
||
324 | <height>20</height> |
||
325 | </size> |
||
326 | </property> |
||
327 | </widget> |
||
328 | </item> |
||
329 | <item row="3" column="0"> |
||
330 | <widget class="QPushButton" name="btn_cSettings"> |
||
331 | <property name="text"> |
||
332 | <string>Settings</string> |
||
333 | </property> |
||
334 | <property name="icon"> |
||
335 | <iconset resource="../QMK-Communicator.qrc"> |
||
336 | <normaloff>:/Icon/Global/Images/Icons/QMK-Settings.png</normaloff>:/Icon/Global/Images/Icons/QMK-Settings.png</iconset> |
||
337 | </property> |
||
338 | <property name="iconSize"> |
||
339 | <size> |
||
340 | <width>20</width> |
||
341 | <height>20</height> |
||
342 | </size> |
||
343 | </property> |
||
344 | </widget> |
||
345 | </item> |
||
346 | <item row="4" column="0"> |
||
347 | <widget class="QPushButton" name="btn_cMaps"> |
||
348 | <property name="text"> |
||
349 | <string>Maps</string> |
||
350 | </property> |
||
351 | <property name="icon"> |
||
352 | <iconset resource="../QMK-Communicator.qrc"> |
||
353 | <normaloff>:/Icon/Global/Images/Icons/QMK-Maps.png</normaloff>:/Icon/Global/Images/Icons/QMK-Maps.png</iconset> |
||
354 | </property> |
||
355 | <property name="iconSize"> |
||
356 | <size> |
||
357 | <width>20</width> |
||
358 | <height>20</height> |
||
359 | </size> |
||
360 | </property> |
||
361 | </widget> |
||
362 | </item> |
||
363 | <item row="7" column="0"> |
||
364 | <spacer name="verticalSpacer"> |
||
365 | <property name="orientation"> |
||
366 | <enum>Qt::Vertical</enum> |
||
367 | </property> |
||
368 | <property name="sizeHint" stdset="0"> |
||
369 | <size> |
||
370 | <width>20</width> |
||
371 | <height>229</height> |
||
372 | </size> |
||
373 | </property> |
||
374 | </spacer> |
||
375 | </item> |
||
376 | <item row="6" column="0"> |
||
377 | <widget class="QPushButton" name="btn_cVoice"> |
||
378 | <property name="enabled"> |
||
379 | <bool>false</bool> |
||
380 | </property> |
||
381 | <property name="text"> |
||
382 | <string>Voice</string> |
||
383 | </property> |
||
384 | <property name="icon"> |
||
385 | <iconset resource="../QMK-Communicator.qrc"> |
||
386 | <normaloff>:/Icon/Global/Images/Icons/QMK-Voice.png</normaloff>:/Icon/Global/Images/Icons/QMK-Voice.png</iconset> |
||
387 | </property> |
||
388 | <property name="iconSize"> |
||
389 | <size> |
||
390 | <width>20</width> |
||
391 | <height>20</height> |
||
392 | </size> |
||
393 | </property> |
||
394 | </widget> |
||
395 | </item> |
||
396 | <item row="5" column="0"> |
||
397 | <widget class="QPushButton" name="btn_cLogger"> |
||
398 | <property name="enabled"> |
||
399 | <bool>false</bool> |
||
400 | </property> |
||
401 | <property name="text"> |
||
402 | <string>Logger</string> |
||
403 | </property> |
||
404 | <property name="icon"> |
||
405 | <iconset resource="../QMK-Communicator.qrc"> |
||
406 | <normaloff>:/Icon/Global/Images/Icons/QMK-Logger.png</normaloff>:/Icon/Global/Images/Icons/QMK-Logger.png</iconset> |
||
407 | </property> |
||
408 | <property name="iconSize"> |
||
409 | <size> |
||
410 | <width>20</width> |
||
411 | <height>20</height> |
||
412 | </size> |
||
413 | </property> |
||
414 | </widget> |
||
415 | </item> |
||
711 | KeyOz | 416 | <item row="8" column="0"> |
417 | <widget class="QPushButton" name="btn_ConnectServer"> |
||
418 | <property name="text"> |
||
419 | <string>Verbinde Server</string> |
||
420 | </property> |
||
421 | </widget> |
||
422 | </item> |
||
750 | KeyOz | 423 | <item row="9" column="0"> |
424 | <widget class="QPushButton" name="btn_Debug"> |
||
425 | <property name="text"> |
||
426 | <string>Debug-Button</string> |
||
427 | </property> |
||
428 | </widget> |
||
429 | </item> |
||
674 | KeyOz | 430 | </layout> |
431 | </widget> |
||
432 | </item> |
||
433 | </layout> |
||
434 | </widget> |
||
435 | <widget class="QMenuBar" name="menuBar"> |
||
436 | <property name="geometry"> |
||
437 | <rect> |
||
438 | <x>0</x> |
||
439 | <y>0</y> |
||
801 | - | 440 | <width>505</width> |
441 | <height>19</height> |
||
674 | KeyOz | 442 | </rect> |
443 | </property> |
||
444 | <widget class="QMenu" name="menu_Program"> |
||
445 | <property name="title"> |
||
446 | <string>Programm</string> |
||
447 | </property> |
||
750 | KeyOz | 448 | <addaction name="ac_Server"/> |
449 | <addaction name="separator"/> |
||
674 | KeyOz | 450 | <addaction name="ac_Quit"/> |
451 | </widget> |
||
452 | <widget class="QMenu" name="menu_Help"> |
||
453 | <property name="title"> |
||
454 | <string>Hilfe</string> |
||
455 | </property> |
||
456 | <addaction name="ac_About"/> |
||
457 | </widget> |
||
458 | <addaction name="menu_Program"/> |
||
459 | <addaction name="menu_Help"/> |
||
460 | </widget> |
||
461 | <action name="ac_Quit"> |
||
462 | <property name="icon"> |
||
463 | <iconset resource="../QMK-Communicator.qrc"> |
||
464 | <normaloff>:/Actions/Global/Images/Actions/Exit.png</normaloff>:/Actions/Global/Images/Actions/Exit.png</iconset> |
||
465 | </property> |
||
466 | <property name="text"> |
||
467 | <string>Beenden</string> |
||
468 | </property> |
||
469 | </action> |
||
470 | <action name="ac_About"> |
||
471 | <property name="icon"> |
||
472 | <iconset resource="../QMK-Communicator.qrc"> |
||
473 | <normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</iconset> |
||
474 | </property> |
||
475 | <property name="text"> |
||
476 | <string>Über QMK-Communicator</string> |
||
477 | </property> |
||
478 | </action> |
||
479 | <action name="ac_Server"> |
||
480 | <property name="icon"> |
||
481 | <iconset resource="../QMK-Communicator.qrc"> |
||
482 | <normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</normaloff>:/Icon/Global/Images/Icons/QMK-Communicator.png</iconset> |
||
483 | </property> |
||
484 | <property name="text"> |
||
750 | KeyOz | 485 | <string>Einstellungen</string> |
674 | KeyOz | 486 | </property> |
487 | </action> |
||
488 | </widget> |
||
489 | <layoutdefault spacing="6" margin="11"/> |
||
490 | <resources> |
||
491 | <include location="../QMK-Communicator.qrc"/> |
||
492 | </resources> |
||
493 | <connections> |
||
494 | <connection> |
||
495 | <sender>ac_Quit</sender> |
||
496 | <signal>triggered()</signal> |
||
497 | <receiver>dlg_Main_UI</receiver> |
||
498 | <slot>close()</slot> |
||
499 | <hints> |
||
500 | <hint type="sourcelabel"> |
||
501 | <x>-1</x> |
||
502 | <y>-1</y> |
||
503 | </hint> |
||
504 | <hint type="destinationlabel"> |
||
505 | <x>182</x> |
||
506 | <y>88</y> |
||
507 | </hint> |
||
508 | </hints> |
||
509 | </connection> |
||
711 | KeyOz | 510 | <connection> |
511 | <sender>rb_Device</sender> |
||
512 | <signal>toggled(bool)</signal> |
||
513 | <receiver>wg_Device</receiver> |
||
514 | <slot>setVisible(bool)</slot> |
||
515 | <hints> |
||
516 | <hint type="sourcelabel"> |
||
517 | <x>38</x> |
||
518 | <y>70</y> |
||
519 | </hint> |
||
520 | <hint type="destinationlabel"> |
||
521 | <x>54</x> |
||
522 | <y>105</y> |
||
523 | </hint> |
||
524 | </hints> |
||
525 | </connection> |
||
526 | <connection> |
||
527 | <sender>rb_TCP</sender> |
||
528 | <signal>toggled(bool)</signal> |
||
529 | <receiver>wg_IP</receiver> |
||
530 | <slot>setVisible(bool)</slot> |
||
531 | <hints> |
||
532 | <hint type="sourcelabel"> |
||
533 | <x>125</x> |
||
534 | <y>75</y> |
||
535 | </hint> |
||
536 | <hint type="destinationlabel"> |
||
537 | <x>124</x> |
||
538 | <y>140</y> |
||
539 | </hint> |
||
540 | </hints> |
||
541 | </connection> |
||
674 | KeyOz | 542 | </connections> |
543 | </ui> |