blob: 63db3d1d9b8bd259cbbf5456a8f437a18e757c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
<author></author>
<comment>*********************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the autotests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this
** file. Please review the following information to ensure the GNU Lesser
** General Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU General
** Public License version 3.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of this
** file. Please review the following information to ensure the GNU General
** Public License version 3.0 requirements will be met:
** http://www.gnu.org/copyleft/gpl.html.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
*********************************************************************</comment>
<exportmacro></exportmacro>
<class>Preferences</class>
<widget class="QDialog" name="Preferences">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>482</width>
<height>480</height>
</rect>
</property>
<property name="windowTitle">
<string>Preferences</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string><b>Preferences</b><p>Change the preferences of Qt Designer. There is always one tab with general preferences. There may be additional tabs, depending on which plugins are installed.</p></string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QTabWidget" name="tabWidget">
<widget class="QWidget" name="pageGeneral">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QGridLayout">
<item row="1" column="1">
<widget class="Q3GroupBox" name="groupBox4">
<property name="title">
<string>File Saving</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QCheckBox" name="checkBoxAutoSave">
<property name="text">
<string>Enable Auto Sa&ve</string>
</property>
<property name="shortcut">
<string>Alt+V</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="textLabelAutoSave">
<property name="text">
<string>Auto Save &Interval:</string>
</property>
<property name="buddy" stdset="0">
<cstring>timeEditAutoSave</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="Q3TimeEdit" name="timeEditAutoSave">
<property name="time">
<time>
<hour>0</hour>
<minute>30</minute>
<second>0</second>
</time>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" rowspan="1" colspan="2">
<widget class="Q3ButtonGroup" name="buttonGroup2">
<property name="title">
<string>Plu&gin Paths</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="Q3TextEdit" name="textEditPluginPaths"/>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<spacer name="Spacer3">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="Q3GroupBox" name="GroupBox5">
<property name="title">
<string>Ge&neral</string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="checkBoxWorkspace">
<property name="text">
<string>Restore Last &Workspace on Startup</string>
</property>
<property name="shortcut">
<string>Alt+W</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Restore last workspace</string>
</property>
<property name="whatsThis" stdset="0">
<string>The current workspace settings will be restored the next time you start Qt Designer if this option is checked.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBoxSplash">
<property name="text">
<string>Show &Splash Screen on Startup</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Show Splashscreen</string>
</property>
<property name="whatsThis" stdset="0">
<string>A splash screen is displayed when starting Qt Designer if this option is checked.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBoxStartDialog">
<property name="text">
<string>Show Start &Dialog</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkAutoEdit">
<property name="text">
<string>Disable Data&base Auto-Edit in Preview</string>
</property>
<property name="shortcut">
<string>Alt+B</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBoxTextLabels">
<property name="text">
<string>Show Toolbutton Lab&els</string>
</property>
<property name="shortcut">
<string>Alt+E</string>
</property>
<property name="toolTip" stdset="0">
<string>Text Labels</string>
</property>
<property name="whatsThis" stdset="0">
<string>Text labels will be usin in the toolbars if this is checked.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="Q3GroupBox" name="groupBoxGrid">
<property name="title">
<string>G&rid</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string/>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="checkBoxSnapGrid">
<property name="text">
<string>Sn&ap to Grid</string>
</property>
<property name="shortcut">
<string>Alt+A</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Snap to the grid</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Customize the grid-settings for all forms.</b><p>When <b>Snap to Grid</b> is checked, the widgets snap to the grid using the the X/Y resolution.</p></string>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="QSpinBox" name="spinGridX">
<property name="maximum">
<number>50</number>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="value">
<number>10</number>
</property>
<property name="toolTip" stdset="0">
<string>Grid resolution</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Customize the grid-settings for all forms.</b><p>When <b>Show Grid</b> is checked, a grid is shown on all forms using the X/Y resolution.</p></string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinGridY">
<property name="maximum">
<number>50</number>
</property>
<property name="minimum">
<number>5</number>
</property>
<property name="value">
<number>10</number>
</property>
<property name="toolTip" stdset="0">
<string>Grid resolution</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Customize the grid-settings for all forms.</b><p>When <b>Show Grid</b> is checked, a grid is shown on all forms using the X/Y resolution.</p></string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="Label1">
<property name="text">
<string>Grid-&X:</string>
</property>
<property name="buddy" stdset="0">
<cstring>spinGridX</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="Label1_2">
<property name="text">
<string>Grid-&Y:</string>
</property>
<property name="buddy" stdset="0">
<cstring>spinGridY</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="Q3ButtonGroup" name="ButtonGroup1">
<property name="title">
<string>Backgro&und</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="StyledButton" name="buttonColor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="scale" stdset="0">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Choose a color</string>
</property>
<property name="whatsThis" stdset="0">
<string>Select a color in the color dialog.</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="radioColor">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text">
<string>Co&lor</string>
</property>
<property name="toolTip" stdset="0">
<string>Use a background color</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use a background color.</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="radioPixmap">
<property name="text">
<string>&Pixmap</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Use a background pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use a background pixmap.</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="StyledButton" name="buttonPixmap">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="scale" stdset="0">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Select a pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string>Choose a pixmap file.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="helpButton">
<property name="text">
<string>&Help</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="Horizontal Spacing2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>&OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close the dialog and apply all the changes.</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCancel">
<property name="text">
<string>&Cancel</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close the dialog and discard any changes.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>StyledButton</class>
<extends>QWidget</extends>
<header location="local">styledbutton.h</header>
<sizehint>
<width>40</width>
<height>25</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
</sizepolicy>
<pixmap>image0</pixmap>
<properties>
<property type="Color">color</property>
<property type="Pixmap">pixmap</property>
<property type="Bool">scale</property>
</properties>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>radioColor</tabstop>
<tabstop>radioPixmap</tabstop>
<tabstop>buttonColor</tabstop>
<tabstop>buttonPixmap</tabstop>
<tabstop>checkBoxSnapGrid</tabstop>
<tabstop>spinGridX</tabstop>
<tabstop>spinGridY</tabstop>
<tabstop>checkBoxWorkspace</tabstop>
<tabstop>checkBoxSplash</tabstop>
<tabstop>checkBoxStartDialog</tabstop>
<tabstop>checkAutoEdit</tabstop>
<tabstop>checkBoxTextLabels</tabstop>
<tabstop>helpButton</tabstop>
</tabstops>
<images>
<image name="image0">
<data format="XPM.GZ" length="1112">789c9dd2cb8e9b301406e07d9e0225bba89a09601350d505302c5b7559a9eac23e6672b363620c0ca9faeef53949da2e2a55eab123f9e38f2f217e5e475f3e7f8cd6cf8bde0b7f8008f6c2456b3518337ffdf6e1fb62992451e8691ac5cb778be55304d1277b6e71fc12c6ab0d157222e61bd8e4c812196f6216535a13f318624a6764b2495842e99558249014c81e99c6294b69d3376291424ae9806431638cd28628183081f4489e70ce13e4852878c129ad905992f18cd291283295517a466ed32ddfa64847945bb595c80e99a739cf29d54499ab9c528b2c58c10b86344428540148400a26b8a0541241b482d215523299494a0551c9562ae409091c32e0c82351410b942aa4e22a53941e882d36e41ed966d8903b2215f215f99a6143b6442afaafff5aff485658622584a091941256948443d1cabbdd6ebf3f28753c09a9e9cdc1fe703c9e4ea19f689a0430fa4c8908082be093d08d016bbb0bbd5e7ceafade5b30de19d083b3fa9e008cd39b9fafd69495b473af7fcfb15325c1d61eea0afaf005ddf97b5295c658a866338f97591babef7340fa396c6c5ca9e7fe650807d0bf566b4262299986ba335a3b4a2cc84b69ac85b1b673037d8fabf95b023a9c09cc7530e104dd5419ed6e27083fb09a7c752db5a9bd31cde4ec634ed8a39aebbe337618c3f6fdc5dee6d8b0bb0d6b5b8b1fad43d78fe4e14e3f6aace8e29d9d736777fea3c686eee0138c9726d4d00c548df7a315ff750f7ebc5ffc04a0e5308d</data>
</image>
</images>
<includes>
<include location="local">styledbutton.h</include>
<include location="local">styledbutton.h</include>
</includes>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>Preferences</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>Preferences</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>radioColor</sender>
<signal>toggled(bool)</signal>
<receiver>buttonColor</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>radioPixmap</sender>
<signal>toggled(bool)</signal>
<receiver>buttonPixmap</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
</ui>
|