Make TX volatge for simu more flexible (#7124)
[opentx.git] / companion / src / imgpreferences.ui
blob1ba680d4d6e8194f27dbe8237d6067344fe96517
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>preferencesDialog</class>
4 <widget class="QDialog" name="preferencesDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>685</width>
10 <height>432</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="minimumSize">
20 <size>
21 <width>685</width>
22 <height>0</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Preferences</string>
27 </property>
28 <layout class="QGridLayout" name="gridLayout_4" columnstretch="1">
29 <property name="sizeConstraint">
30 <enum>QLayout::SetMinimumSize</enum>
31 </property>
32 <property name="verticalSpacing">
33 <number>2</number>
34 </property>
35 <property name="margin">
36 <number>4</number>
37 </property>
38 <item row="0" column="0">
39 <layout class="QVBoxLayout" name="verticalLayout_2">
40 <property name="spacing">
41 <number>8</number>
42 </property>
43 <item>
44 <layout class="QGridLayout" name="gridLayout_2">
45 <item row="3" column="1">
46 <widget class="QLineEdit" name="snapshotPath">
47 <property name="enabled">
48 <bool>true</bool>
49 </property>
50 <property name="readOnly">
51 <bool>true</bool>
52 </property>
53 </widget>
54 </item>
55 <item row="0" column="0">
56 <widget class="QLabel" name="label_3">
57 <property name="sizePolicy">
58 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
59 <horstretch>0</horstretch>
60 <verstretch>0</verstretch>
61 </sizepolicy>
62 </property>
63 <property name="text">
64 <string>Simu BackLight</string>
65 </property>
66 <property name="alignment">
67 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
68 </property>
69 </widget>
70 </item>
71 <item row="3" column="0">
72 <widget class="QLabel" name="label_19">
73 <property name="text">
74 <string>Simulator capture folder</string>
75 </property>
76 </widget>
77 </item>
78 <item row="1" column="0">
79 <widget class="QLabel" name="label_11">
80 <property name="sizePolicy">
81 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
82 <horstretch>0</horstretch>
83 <verstretch>0</verstretch>
84 </sizepolicy>
85 </property>
86 <property name="text">
87 <string>Joystick</string>
88 </property>
89 </widget>
90 </item>
91 <item row="2" column="0">
92 <widget class="QLabel" name="label">
93 <property name="text">
94 <string>Remember simulator switches</string>
95 </property>
96 </widget>
97 </item>
98 <item row="2" column="1">
99 <widget class="QCheckBox" name="simuSW">
100 <property name="text">
101 <string/>
102 </property>
103 </widget>
104 </item>
105 <item row="1" column="1">
106 <layout class="QHBoxLayout" name="horizontalLayout_5">
107 <item>
108 <widget class="QComboBox" name="joystickCB">
109 <property name="sizePolicy">
110 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
111 <horstretch>0</horstretch>
112 <verstretch>0</verstretch>
113 </sizepolicy>
114 </property>
115 </widget>
116 </item>
117 <item>
118 <widget class="QCheckBox" name="joystickChkB">
119 <property name="text">
120 <string>Enable</string>
121 </property>
122 </widget>
123 </item>
124 </layout>
125 </item>
126 <item row="4" column="1">
127 <widget class="QCheckBox" name="snapshotClipboardCKB">
128 <property name="text">
129 <string>Use clipboard only</string>
130 </property>
131 </widget>
132 </item>
133 <item row="1" column="2">
134 <widget class="QPushButton" name="joystickcalButton">
135 <property name="text">
136 <string>Calibrate</string>
137 </property>
138 </widget>
139 </item>
140 <item row="0" column="1">
141 <layout class="QHBoxLayout" name="horizontalLayout">
142 <item>
143 <widget class="QComboBox" name="backLightColor">
144 <item>
145 <property name="text">
146 <string>Blue</string>
147 </property>
148 </item>
149 <item>
150 <property name="text">
151 <string>Green</string>
152 </property>
153 </item>
154 <item>
155 <property name="text">
156 <string>Red</string>
157 </property>
158 </item>
159 <item>
160 <property name="text">
161 <string>Orange</string>
162 </property>
163 </item>
164 <item>
165 <property name="text">
166 <string>Yellow</string>
167 </property>
168 </item>
169 </widget>
170 </item>
171 <item>
172 <spacer name="horizontalSpacer_2">
173 <property name="orientation">
174 <enum>Qt::Horizontal</enum>
175 </property>
176 <property name="sizeHint" stdset="0">
177 <size>
178 <width>40</width>
179 <height>20</height>
180 </size>
181 </property>
182 </spacer>
183 </item>
184 </layout>
185 </item>
186 <item row="3" column="2">
187 <widget class="QPushButton" name="snapshotPathButton">
188 <property name="text">
189 <string>Open Folder</string>
190 </property>
191 <property name="flat">
192 <bool>false</bool>
193 </property>
194 </widget>
195 </item>
196 </layout>
197 </item>
198 <item>
199 <widget class="Line" name="line">
200 <property name="orientation">
201 <enum>Qt::Horizontal</enum>
202 </property>
203 </widget>
204 </item>
205 <item>
206 <layout class="QGridLayout" name="gridLayout_7">
207 <item row="1" column="0">
208 <widget class="QLabel" name="label_9">
209 <property name="sizePolicy">
210 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
211 <horstretch>0</horstretch>
212 <verstretch>0</verstretch>
213 </sizepolicy>
214 </property>
215 <property name="text">
216 <string>Personal splash library</string>
217 </property>
218 </widget>
219 </item>
220 <item row="1" column="1">
221 <layout class="QHBoxLayout" name="horizontalLayout_3">
222 <item>
223 <widget class="QLineEdit" name="libraryPath">
224 <property name="enabled">
225 <bool>true</bool>
226 </property>
227 <property name="readOnly">
228 <bool>true</bool>
229 </property>
230 </widget>
231 </item>
232 <item>
233 <widget class="QPushButton" name="libraryPathButton">
234 <property name="text">
235 <string>Open Folder</string>
236 </property>
237 </widget>
238 </item>
239 </layout>
240 </item>
241 <item row="2" column="1">
242 <layout class="QHBoxLayout" name="horizontalLayout_7">
243 <item>
244 <widget class="QComboBox" name="splashincludeCB">
245 <property name="sizePolicy">
246 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
247 <horstretch>0</horstretch>
248 <verstretch>0</verstretch>
249 </sizepolicy>
250 </property>
251 <item>
252 <property name="text">
253 <string>Include companion splashes</string>
254 </property>
255 </item>
256 <item>
257 <property name="text">
258 <string>Only user defined splashes</string>
259 </property>
260 </item>
261 </widget>
262 </item>
263 <item>
264 <spacer name="horizontalSpacer">
265 <property name="orientation">
266 <enum>Qt::Horizontal</enum>
267 </property>
268 <property name="sizeHint" stdset="0">
269 <size>
270 <width>40</width>
271 <height>20</height>
272 </size>
273 </property>
274 </spacer>
275 </item>
276 </layout>
277 </item>
278 <item row="2" column="0">
279 <widget class="QLabel" name="label_10">
280 <property name="sizePolicy">
281 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
282 <horstretch>0</horstretch>
283 <verstretch>0</verstretch>
284 </sizepolicy>
285 </property>
286 <property name="text">
287 <string>Splash library behaviour</string>
288 </property>
289 </widget>
290 </item>
291 </layout>
292 </item>
293 <item>
294 <widget class="Line" name="line_2">
295 <property name="orientation">
296 <enum>Qt::Horizontal</enum>
297 </property>
298 </widget>
299 </item>
300 <item>
301 <layout class="QGridLayout" name="gridLayout">
302 <item row="0" column="0">
303 <widget class="QLabel" name="label_8">
304 <property name="sizePolicy">
305 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
306 <horstretch>0</horstretch>
307 <verstretch>0</verstretch>
308 </sizepolicy>
309 </property>
310 <property name="text">
311 <string>Custom TX splash screen</string>
312 </property>
313 </widget>
314 </item>
315 <item row="0" column="1">
316 <layout class="QHBoxLayout" name="horizontalLayout_2">
317 <item>
318 <widget class="QLineEdit" name="SplashFileName">
319 <property name="enabled">
320 <bool>true</bool>
321 </property>
322 <property name="readOnly">
323 <bool>true</bool>
324 </property>
325 </widget>
326 </item>
327 <item>
328 <widget class="QPushButton" name="SplashSelect">
329 <property name="sizePolicy">
330 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
331 <horstretch>0</horstretch>
332 <verstretch>0</verstretch>
333 </sizepolicy>
334 </property>
335 <property name="text">
336 <string>Open Image</string>
337 </property>
338 </widget>
339 </item>
340 </layout>
341 </item>
342 <item row="1" column="1">
343 <layout class="QHBoxLayout" name="horizontalLayout_6">
344 <item>
345 <layout class="QHBoxLayout" name="horizontalLayout_4">
346 <item>
347 <widget class="QToolButton" name="SplashLibraryDialogButton">
348 <property name="text">
349 <string>...</string>
350 </property>
351 </widget>
352 </item>
353 <item>
354 <widget class="QToolButton" name="clearImageButton">
355 <property name="text">
356 <string>...</string>
357 </property>
358 </widget>
359 </item>
360 <item>
361 <widget class="QPushButton" name="InvertPixels">
362 <property name="enabled">
363 <bool>false</bool>
364 </property>
365 <property name="text">
366 <string>Invert Pixels</string>
367 </property>
368 </widget>
369 </item>
370 </layout>
371 </item>
372 <item>
373 <widget class="QLabel" name="imageLabel">
374 <property name="sizePolicy">
375 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
376 <horstretch>0</horstretch>
377 <verstretch>0</verstretch>
378 </sizepolicy>
379 </property>
380 <property name="minimumSize">
381 <size>
382 <width>128</width>
383 <height>64</height>
384 </size>
385 </property>
386 <property name="maximumSize">
387 <size>
388 <width>128</width>
389 <height>64</height>
390 </size>
391 </property>
392 <property name="frameShape">
393 <enum>QFrame::Panel</enum>
394 </property>
395 <property name="frameShadow">
396 <enum>QFrame::Raised</enum>
397 </property>
398 <property name="text">
399 <string/>
400 </property>
401 <property name="scaledContents">
402 <bool>true</bool>
403 </property>
404 </widget>
405 </item>
406 </layout>
407 </item>
408 </layout>
409 </item>
410 <item>
411 <widget class="Line" name="line_3">
412 <property name="orientation">
413 <enum>Qt::Horizontal</enum>
414 </property>
415 </widget>
416 </item>
417 <item>
418 <spacer name="verticalSpacer">
419 <property name="orientation">
420 <enum>Qt::Vertical</enum>
421 </property>
422 <property name="sizeHint" stdset="0">
423 <size>
424 <width>20</width>
425 <height>40</height>
426 </size>
427 </property>
428 </spacer>
429 </item>
430 <item>
431 <widget class="QDialogButtonBox" name="buttonBox">
432 <property name="orientation">
433 <enum>Qt::Horizontal</enum>
434 </property>
435 <property name="standardButtons">
436 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
437 </property>
438 </widget>
439 </item>
440 </layout>
441 </item>
442 </layout>
443 </widget>
444 <tabstops>
445 <tabstop>backLightColor</tabstop>
446 <tabstop>joystickCB</tabstop>
447 <tabstop>joystickChkB</tabstop>
448 <tabstop>joystickcalButton</tabstop>
449 <tabstop>simuSW</tabstop>
450 <tabstop>snapshotPath</tabstop>
451 <tabstop>snapshotPathButton</tabstop>
452 <tabstop>snapshotClipboardCKB</tabstop>
453 <tabstop>libraryPath</tabstop>
454 <tabstop>libraryPathButton</tabstop>
455 <tabstop>splashincludeCB</tabstop>
456 <tabstop>SplashFileName</tabstop>
457 <tabstop>SplashSelect</tabstop>
458 <tabstop>SplashLibraryDialogButton</tabstop>
459 <tabstop>clearImageButton</tabstop>
460 <tabstop>InvertPixels</tabstop>
461 <tabstop>buttonBox</tabstop>
462 </tabstops>
463 <resources>
464 <include location="companion.qrc"/>
465 </resources>
466 <connections>
467 <connection>
468 <sender>buttonBox</sender>
469 <signal>accepted()</signal>
470 <receiver>preferencesDialog</receiver>
471 <slot>accept()</slot>
472 <hints>
473 <hint type="sourcelabel">
474 <x>370</x>
475 <y>49</y>
476 </hint>
477 <hint type="destinationlabel">
478 <x>157</x>
479 <y>274</y>
480 </hint>
481 </hints>
482 </connection>
483 <connection>
484 <sender>buttonBox</sender>
485 <signal>rejected()</signal>
486 <receiver>preferencesDialog</receiver>
487 <slot>reject()</slot>
488 <hints>
489 <hint type="sourcelabel">
490 <x>390</x>
491 <y>55</y>
492 </hint>
493 <hint type="destinationlabel">
494 <x>286</x>
495 <y>274</y>
496 </hint>
497 </hints>
498 </connection>
499 </connections>
500 </ui>