1
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2
<class>FormSettingsBase</class>
3
<comment>*********************************************************************
4
** Copyright (C) 2000 Trolltech AS. All rights reserved.
6
** This file is part of Qt Designer.
8
** This file may be distributed and/or modified under the terms of the
9
** GNU General Public License version 2 as published by the Free Software
10
** Foundation and appearing in the file LICENSE.GPL included in the
11
** packaging of this file.
13
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
14
** licenses may use this file in accordance with the Qt Commercial License
15
** Agreement provided with the Software.
17
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20
** See http://www.trolltech.com/gpl/ for GPL licensing information.
21
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
22
** information about Qt Commercial License Agreements.
24
** Contact info@trolltech.com if any conditions of this licensing are
27
*********************************************************************</comment>
28
<widget class="QDialog">
29
<property name="name">
30
<cstring>FormSettingsBase</cstring>
32
<property name="geometry">
40
<property name="caption">
41
<string>Form Settings</string>
43
<property name="sizeGripEnabled">
46
<property name="whatsThis" stdset="0">
47
<string><b>Form Settings</b><p>Change settings for the form. Settings like <b>Comment</b> and <b>Author</b> are for your own use and are not required.</p></string>
50
<property name="name">
51
<cstring>unnamed</cstring>
53
<property name="margin">
56
<property name="spacing">
59
<widget class="QButtonGroup" row="1" column="0">
60
<property name="name">
61
<cstring>ButtonGroup1</cstring>
63
<property name="title">
64
<string>Pixmaps</string>
67
<property name="name">
68
<cstring>unnamed</cstring>
70
<property name="margin">
73
<property name="spacing">
76
<widget class="QRadioButton" row="0" column="0">
77
<property name="name">
78
<cstring>radioPixmapInline</cstring>
80
<property name="text">
81
<string>Save in&line</string>
83
<property name="checked">
86
<property name="toolTip" stdset="0">
87
<string>Save pixmaps in the .ui files</string>
89
<property name="whatsThis" stdset="0">
90
<string><b>Save Inline</b><p>Saves the pixmaps as binary data in the .ui files. Pixmaps saved like this are not shared between forms. We recommend using Project image files instead.</string>
93
<widget class="QRadioButton" row="2" column="0">
94
<property name="name">
95
<cstring>radioProjectImageFile</cstring>
97
<property name="text">
98
<string>Project &image file</string>
100
<property name="toolTip" stdset="0">
101
<string>Use the Project's Image file for pixmaps</string>
103
<property name="whatsThis" stdset="0">
104
<string><b>Use the Project's Image file for pixmaps</b>
105
<p>Each project may have a collection of pixmaps. If you use a project, we recommend that you use this option since it shares the images and is the fastest and most efficient way to use pixmaps in your forms.</p></string>
108
<widget class="QLineEdit" row="1" column="1">
109
<property name="name">
110
<cstring>editPixmapFunction</cstring>
112
<property name="enabled">
115
<property name="toolTip" stdset="0">
116
<string>Specify Pixmap-Loader function (only the function's name, no parentheses.)</string>
118
<property name="whatsThis" stdset="0">
119
<string><b>Specify Pixmap-Loader function</b><p>Specify the function which should be used for loading a pixmap in the generated code. <em>Only enter the function's name, without parentheses.</em></string>
122
<widget class="QRadioButton" row="1" column="0">
123
<property name="name">
124
<cstring>radioPixmapFunction</cstring>
126
<property name="text">
127
<string>Use &function:</string>
129
<property name="toolTip" stdset="0">
130
<string>Use the given function for pixmaps</string>
132
<property name="whatsThis" stdset="0">
133
<string><b>Use a given function for pixmaps</b><p>If you choose this option you must define a function in the line edit at the right which will be used in the generated code for loading pixmaps. When choosing a pixmap in <i>Qt Designer</i> you will be asked to specify the arguments which will be passed to the function in the generated code.<p> This approach makes it possible to use your own icon-loader function for loading pixmaps. <i>Qt Designer</i> cannot preview the correct image if you use your own function.</string>
138
<widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
139
<property name="name">
140
<cstring>GroupBox1</cstring>
142
<property name="frameShape">
145
<property name="frameShadow">
148
<property name="title">
149
<string>Settings</string>
152
<property name="name">
153
<cstring>unnamed</cstring>
155
<property name="margin">
158
<property name="spacing">
161
<widget class="QLineEdit" row="0" column="1">
162
<property name="name">
163
<cstring>editClassName</cstring>
165
<property name="toolTip" stdset="0">
166
<string>Change class name</string>
168
<property name="whatsThis" stdset="0">
169
<string><b>Enter the name of the class that will be created.</b><p><em>classname.h</em> and <em>classname.cpp</em> will be generated as C++ output when it is compiled by uic.</p></string>
172
<widget class="QLabel" row="3" column="0">
173
<property name="name">
174
<cstring>TextLabel1_2</cstring>
176
<property name="text">
177
<string>A&uthor:</string>
179
<property name="buddy" stdset="0">
180
<cstring>editAuthor</cstring>
183
<widget class="QLineEdit" row="3" column="1">
184
<property name="name">
185
<cstring>editAuthor</cstring>
187
<property name="toolTip" stdset="0">
188
<string>Enter your name</string>
190
<property name="whatsThis" stdset="0">
191
<string>Enter your name.</string>
194
<widget class="QLabel" row="0" column="0">
195
<property name="name">
196
<cstring>TextLabel1</cstring>
198
<property name="text">
199
<string>Class &name:</string>
201
<property name="buddy" stdset="0">
202
<cstring>editClassName</cstring>
205
<widget class="QLabel" row="1" column="0">
206
<property name="name">
207
<cstring>TextLabel2</cstring>
209
<property name="text">
210
<string>Co&mment:</string>
212
<property name="buddy" stdset="0">
213
<cstring>editComment</cstring>
216
<widget class="QMultiLineEdit" row="1" column="1" rowspan="2" colspan="1">
217
<property name="name">
218
<cstring>editComment</cstring>
220
<property name="whatsThis" stdset="0">
221
<string>Enter a comment about the form.</string>
224
<spacer row="2" column="0">
225
<property name="name">
226
<cstring>Spacer1</cstring>
228
<property name="orientation">
229
<enum>Vertical</enum>
231
<property name="sizeType">
232
<enum>Expanding</enum>
237
<widget class="QGroupBox" row="1" column="1">
238
<property name="name">
239
<cstring>GroupBox2</cstring>
241
<property name="title">
242
<string>La&youts</string>
245
<property name="name">
246
<cstring>unnamed</cstring>
248
<property name="margin">
251
<property name="spacing">
254
<widget class="QSpinBox" row="0" column="2">
255
<property name="name">
256
<cstring>spinMargin</cstring>
258
<property name="value">
262
<spacer row="0" column="3">
263
<property name="name">
264
<cstring>Spacer3</cstring>
266
<property name="orientation">
267
<enum>Horizontal</enum>
269
<property name="sizeType">
270
<enum>Expanding</enum>
273
<widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
274
<property name="name">
275
<cstring>TextLabel2_2</cstring>
277
<property name="text">
278
<string>D&efault spacing:</string>
280
<property name="buddy" stdset="0">
281
<cstring>spinSpacing</cstring>
284
<widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
285
<property name="name">
286
<cstring>checkLayoutFunctions</cstring>
288
<property name="text">
289
<string>Use func&tions:</string>
291
<property name="toolTip" stdset="0">
292
<string>Use functions to get the margin and spacing</string>
294
<property name="whatsThis" stdset="0">
295
<string><b>Use a given function for margin and/or spacing</b><p>If you choose this option you must define functions in the line edit below which will be used in the generated code for getting the margin and spacing value. <i>Qt Designer</i> cannot preview the correct margin or spacing if you use your own function. Instead, the default values will be used for preview.</string>
298
<widget class="QSpinBox" row="1" column="2">
299
<property name="name">
300
<cstring>spinSpacing</cstring>
302
<property name="value">
306
<spacer row="1" column="3">
307
<property name="name">
308
<cstring>Spacer4</cstring>
310
<property name="orientation">
311
<enum>Horizontal</enum>
313
<property name="sizeType">
314
<enum>Expanding</enum>
317
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
318
<property name="name">
319
<cstring>TextLabel1_3</cstring>
321
<property name="text">
322
<string>Default mar&gin:</string>
324
<property name="buddy" stdset="0">
325
<cstring>spinMargin</cstring>
328
<widget class="QLabel" row="4" column="0">
329
<property name="name">
330
<cstring>spaFuLabel</cstring>
332
<property name="enabled">
335
<property name="text">
336
<string>S&pacing:</string>
338
<property name="buddy" stdset="0">
339
<cstring>editSpacingFunction</cstring>
342
<widget class="QLabel" row="3" column="0">
343
<property name="name">
344
<cstring>marFuLabel</cstring>
346
<property name="enabled">
349
<property name="sizePolicy">
351
<hsizetype>5</hsizetype>
352
<vsizetype>5</vsizetype>
353
<horstretch>0</horstretch>
354
<verstretch>0</verstretch>
357
<property name="text">
358
<string>Ma&rgin:</string>
360
<property name="buddy" stdset="0">
361
<cstring>editMarginFunction</cstring>
364
<spacer row="2" column="2" rowspan="1" colspan="2">
365
<property name="name">
366
<cstring>Spacer5</cstring>
368
<property name="orientation">
369
<enum>Horizontal</enum>
371
<property name="sizeType">
372
<enum>Expanding</enum>
375
<widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="3">
376
<property name="name">
377
<cstring>editSpacingFunction</cstring>
379
<property name="enabled">
382
<property name="toolTip" stdset="0">
383
<string>Specify spacing function (only the function's name, no parentheses.)</string>
385
<property name="whatsThis" stdset="0">
386
<string><b>Specify spacing function</b><p>Specify the function which should be used for getting the spacing in the generated code. <em>Only enter the function's name, without parentheses.</em></string>
389
<widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="3">
390
<property name="name">
391
<cstring>editMarginFunction</cstring>
393
<property name="enabled">
396
<property name="sizePolicy">
398
<hsizetype>5</hsizetype>
399
<vsizetype>0</vsizetype>
400
<horstretch>0</horstretch>
401
<verstretch>0</verstretch>
404
<property name="toolTip" stdset="0">
405
<string>Specify margin function (only the function's name, no parentheses.)</string>
407
<property name="whatsThis" stdset="0">
408
<string><b>Specify margin function</b><p>Specify the function which should be used for getting the margin in the generated code. <em>Only enter the function's name, without parentheses.</em></string>
413
<widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
414
<property name="name">
415
<cstring>Layout4</cstring>
418
<property name="name">
419
<cstring>unnamed</cstring>
421
<property name="margin">
424
<property name="spacing">
427
<widget class="QPushButton">
428
<property name="name">
429
<cstring>buttonHelp</cstring>
431
<property name="text">
432
<string>&Help</string>
434
<property name="autoDefault">
439
<property name="name">
440
<cstring>Horizontal Spacing2</cstring>
442
<property name="orientation">
443
<enum>Horizontal</enum>
445
<property name="sizeType">
446
<enum>Expanding</enum>
449
<widget class="QPushButton">
450
<property name="name">
451
<cstring>buttonOk</cstring>
453
<property name="text">
454
<string>&OK</string>
456
<property name="autoDefault">
459
<property name="default">
462
<property name="whatsThis" stdset="0">
463
<string>Close the dialog and apply all the changes.</string>
466
<widget class="QPushButton">
467
<property name="name">
468
<cstring>buttonCancel</cstring>
470
<property name="text">
471
<string>&Cancel</string>
473
<property name="autoDefault">
476
<property name="whatsThis" stdset="0">
477
<string>Close the dialog and discard any changes.</string>
486
<sender>buttonCancel</sender>
487
<signal>clicked()</signal>
488
<receiver>FormSettingsBase</receiver>
489
<slot>reject()</slot>
492
<sender>buttonOk</sender>
493
<signal>clicked()</signal>
494
<receiver>FormSettingsBase</receiver>
495
<slot>okClicked()</slot>
498
<sender>radioPixmapFunction</sender>
499
<signal>toggled(bool)</signal>
500
<receiver>editPixmapFunction</receiver>
501
<slot>setEnabled(bool)</slot>
504
<sender>checkLayoutFunctions</sender>
505
<signal>toggled(bool)</signal>
506
<receiver>editSpacingFunction</receiver>
507
<slot>setEnabled(bool)</slot>
510
<sender>checkLayoutFunctions</sender>
511
<signal>toggled(bool)</signal>
512
<receiver>editMarginFunction</receiver>
513
<slot>setEnabled(bool)</slot>
516
<sender>checkLayoutFunctions</sender>
517
<signal>toggled(bool)</signal>
518
<receiver>marFuLabel</receiver>
519
<slot>setEnabled(bool)</slot>
522
<sender>checkLayoutFunctions</sender>
523
<signal>toggled(bool)</signal>
524
<receiver>spaFuLabel</receiver>
525
<slot>setEnabled(bool)</slot>
529
<tabstop>editClassName</tabstop>
530
<tabstop>editComment</tabstop>
531
<tabstop>editAuthor</tabstop>
532
<tabstop>radioPixmapInline</tabstop>
533
<tabstop>radioPixmapFunction</tabstop>
534
<tabstop>editPixmapFunction</tabstop>
535
<tabstop>radioProjectImageFile</tabstop>
536
<tabstop>spinMargin</tabstop>
537
<tabstop>spinSpacing</tabstop>
538
<tabstop>checkLayoutFunctions</tabstop>
539
<tabstop>editMarginFunction</tabstop>
540
<tabstop>editSpacingFunction</tabstop>
541
<tabstop>buttonOk</tabstop>
542
<tabstop>buttonCancel</tabstop>
543
<tabstop>buttonHelp</tabstop>
546
<slot>okClicked()</slot>
548
<layoutdefaults spacing="6" margin="11"/>