~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to kdevdesigner/designer/formsettings.ui

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
 
2
<class>FormSettingsBase</class>
 
3
<comment>*********************************************************************
 
4
** Copyright (C) 2000 Trolltech AS.  All rights reserved.
 
5
**
 
6
** This file is part of Qt Designer.
 
7
**
 
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.
 
12
**
 
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.
 
16
**
 
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.
 
19
**
 
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.
 
23
**
 
24
** Contact info@trolltech.com if any conditions of this licensing are
 
25
** not clear to you.
 
26
**
 
27
*********************************************************************</comment>
 
28
<widget class="QDialog">
 
29
    <property name="name">
 
30
        <cstring>FormSettingsBase</cstring>
 
31
    </property>
 
32
    <property name="geometry">
 
33
        <rect>
 
34
            <x>0</x>
 
35
            <y>0</y>
 
36
            <width>597</width>
 
37
            <height>458</height>
 
38
        </rect>
 
39
    </property>
 
40
    <property name="caption">
 
41
        <string>Form Settings</string>
 
42
    </property>
 
43
    <property name="sizeGripEnabled">
 
44
        <bool>true</bool>
 
45
    </property>
 
46
    <property name="whatsThis" stdset="0">
 
47
        <string>&lt;b&gt;Form Settings&lt;/b&gt;&lt;p&gt;Change settings for the form. Settings like &lt;b&gt;Comment&lt;/b&gt; and &lt;b&gt;Author&lt;/b&gt; are for your own use and are not required.&lt;/p&gt;</string>
 
48
    </property>
 
49
    <grid>
 
50
        <property name="name">
 
51
            <cstring>unnamed</cstring>
 
52
        </property>
 
53
        <property name="margin">
 
54
            <number>11</number>
 
55
        </property>
 
56
        <property name="spacing">
 
57
            <number>6</number>
 
58
        </property>
 
59
        <widget class="QButtonGroup" row="1" column="0">
 
60
            <property name="name">
 
61
                <cstring>ButtonGroup1</cstring>
 
62
            </property>
 
63
            <property name="title">
 
64
                <string>Pixmaps</string>
 
65
            </property>
 
66
            <grid>
 
67
                <property name="name">
 
68
                    <cstring>unnamed</cstring>
 
69
                </property>
 
70
                <property name="margin">
 
71
                    <number>11</number>
 
72
                </property>
 
73
                <property name="spacing">
 
74
                    <number>6</number>
 
75
                </property>
 
76
                <widget class="QRadioButton" row="0" column="0">
 
77
                    <property name="name">
 
78
                        <cstring>radioPixmapInline</cstring>
 
79
                    </property>
 
80
                    <property name="text">
 
81
                        <string>Save in&amp;line</string>
 
82
                    </property>
 
83
                    <property name="checked">
 
84
                        <bool>true</bool>
 
85
                    </property>
 
86
                    <property name="toolTip" stdset="0">
 
87
                        <string>Save pixmaps in the .ui files</string>
 
88
                    </property>
 
89
                    <property name="whatsThis" stdset="0">
 
90
                        <string>&lt;b&gt;Save Inline&lt;/b&gt;&lt;p&gt;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>
 
91
                    </property>
 
92
                </widget>
 
93
                <widget class="QRadioButton" row="2" column="0">
 
94
                    <property name="name">
 
95
                        <cstring>radioProjectImageFile</cstring>
 
96
                    </property>
 
97
                    <property name="text">
 
98
                        <string>Project &amp;image file</string>
 
99
                    </property>
 
100
                    <property name="toolTip" stdset="0">
 
101
                        <string>Use the Project's Image file for pixmaps</string>
 
102
                    </property>
 
103
                    <property name="whatsThis" stdset="0">
 
104
                        <string>&lt;b&gt;Use the Project's Image file for pixmaps&lt;/b&gt;
 
105
&lt;p&gt;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.&lt;/p&gt;</string>
 
106
                    </property>
 
107
                </widget>
 
108
                <widget class="QLineEdit" row="1" column="1">
 
109
                    <property name="name">
 
110
                        <cstring>editPixmapFunction</cstring>
 
111
                    </property>
 
112
                    <property name="enabled">
 
113
                        <bool>false</bool>
 
114
                    </property>
 
115
                    <property name="toolTip" stdset="0">
 
116
                        <string>Specify Pixmap-Loader function (only the function's name, no parentheses.)</string>
 
117
                    </property>
 
118
                    <property name="whatsThis" stdset="0">
 
119
                        <string>&lt;b&gt;Specify Pixmap-Loader function&lt;/b&gt;&lt;p&gt;Specify the function which should be used for loading a pixmap in the generated code. &lt;em&gt;Only enter the function's name, without parentheses.&lt;/em&gt;</string>
 
120
                    </property>
 
121
                </widget>
 
122
                <widget class="QRadioButton" row="1" column="0">
 
123
                    <property name="name">
 
124
                        <cstring>radioPixmapFunction</cstring>
 
125
                    </property>
 
126
                    <property name="text">
 
127
                        <string>Use &amp;function:</string>
 
128
                    </property>
 
129
                    <property name="toolTip" stdset="0">
 
130
                        <string>Use the given function for pixmaps</string>
 
131
                    </property>
 
132
                    <property name="whatsThis" stdset="0">
 
133
                        <string>&lt;b&gt;Use a given function for pixmaps&lt;/b&gt;&lt;p&gt;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 &lt;i&gt;Qt Designer&lt;/i&gt; you will be asked to specify the arguments which will be passed to the function in the generated code.&lt;p&gt; This approach makes it possible to use your own icon-loader function for loading pixmaps.  &lt;i&gt;Qt Designer&lt;/i&gt; cannot preview the correct image if you use your own function.</string>
 
134
                    </property>
 
135
                </widget>
 
136
            </grid>
 
137
        </widget>
 
138
        <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="2">
 
139
            <property name="name">
 
140
                <cstring>GroupBox1</cstring>
 
141
            </property>
 
142
            <property name="frameShape">
 
143
                <enum>Box</enum>
 
144
            </property>
 
145
            <property name="frameShadow">
 
146
                <enum>Sunken</enum>
 
147
            </property>
 
148
            <property name="title">
 
149
                <string>Settings</string>
 
150
            </property>
 
151
            <grid>
 
152
                <property name="name">
 
153
                    <cstring>unnamed</cstring>
 
154
                </property>
 
155
                <property name="margin">
 
156
                    <number>11</number>
 
157
                </property>
 
158
                <property name="spacing">
 
159
                    <number>6</number>
 
160
                </property>
 
161
                <widget class="QLineEdit" row="0" column="1">
 
162
                    <property name="name">
 
163
                        <cstring>editClassName</cstring>
 
164
                    </property>
 
165
                    <property name="toolTip" stdset="0">
 
166
                        <string>Change class name</string>
 
167
                    </property>
 
168
                    <property name="whatsThis" stdset="0">
 
169
                        <string>&lt;b&gt;Enter the name of the class that will be created.&lt;/b&gt;&lt;p&gt;&lt;em&gt;classname.h&lt;/em&gt; and &lt;em&gt;classname.cpp&lt;/em&gt; will be generated as C++ output when it is compiled by uic.&lt;/p&gt;</string>
 
170
                    </property>
 
171
                </widget>
 
172
                <widget class="QLabel" row="3" column="0">
 
173
                    <property name="name">
 
174
                        <cstring>TextLabel1_2</cstring>
 
175
                    </property>
 
176
                    <property name="text">
 
177
                        <string>A&amp;uthor:</string>
 
178
                    </property>
 
179
                    <property name="buddy" stdset="0">
 
180
                        <cstring>editAuthor</cstring>
 
181
                    </property>
 
182
                </widget>
 
183
                <widget class="QLineEdit" row="3" column="1">
 
184
                    <property name="name">
 
185
                        <cstring>editAuthor</cstring>
 
186
                    </property>
 
187
                    <property name="toolTip" stdset="0">
 
188
                        <string>Enter your name</string>
 
189
                    </property>
 
190
                    <property name="whatsThis" stdset="0">
 
191
                        <string>Enter your name.</string>
 
192
                    </property>
 
193
                </widget>
 
194
                <widget class="QLabel" row="0" column="0">
 
195
                    <property name="name">
 
196
                        <cstring>TextLabel1</cstring>
 
197
                    </property>
 
198
                    <property name="text">
 
199
                        <string>Class &amp;name:</string>
 
200
                    </property>
 
201
                    <property name="buddy" stdset="0">
 
202
                        <cstring>editClassName</cstring>
 
203
                    </property>
 
204
                </widget>
 
205
                <widget class="QLabel" row="1" column="0">
 
206
                    <property name="name">
 
207
                        <cstring>TextLabel2</cstring>
 
208
                    </property>
 
209
                    <property name="text">
 
210
                        <string>Co&amp;mment:</string>
 
211
                    </property>
 
212
                    <property name="buddy" stdset="0">
 
213
                        <cstring>editComment</cstring>
 
214
                    </property>
 
215
                </widget>
 
216
                <widget class="QMultiLineEdit" row="1" column="1" rowspan="2" colspan="1">
 
217
                    <property name="name">
 
218
                        <cstring>editComment</cstring>
 
219
                    </property>
 
220
                    <property name="whatsThis" stdset="0">
 
221
                        <string>Enter a comment about the form.</string>
 
222
                    </property>
 
223
                </widget>
 
224
                <spacer row="2" column="0">
 
225
                    <property name="name">
 
226
                        <cstring>Spacer1</cstring>
 
227
                    </property>
 
228
                    <property name="orientation">
 
229
                        <enum>Vertical</enum>
 
230
                    </property>
 
231
                    <property name="sizeType">
 
232
                        <enum>Expanding</enum>
 
233
                    </property>
 
234
                </spacer>
 
235
            </grid>
 
236
        </widget>
 
237
        <widget class="QGroupBox" row="1" column="1">
 
238
            <property name="name">
 
239
                <cstring>GroupBox2</cstring>
 
240
            </property>
 
241
            <property name="title">
 
242
                <string>La&amp;youts</string>
 
243
            </property>
 
244
            <grid>
 
245
                <property name="name">
 
246
                    <cstring>unnamed</cstring>
 
247
                </property>
 
248
                <property name="margin">
 
249
                    <number>11</number>
 
250
                </property>
 
251
                <property name="spacing">
 
252
                    <number>6</number>
 
253
                </property>
 
254
                <widget class="QSpinBox" row="0" column="2">
 
255
                    <property name="name">
 
256
                        <cstring>spinMargin</cstring>
 
257
                    </property>
 
258
                    <property name="value">
 
259
                        <number>11</number>
 
260
                    </property>
 
261
                </widget>
 
262
                <spacer row="0" column="3">
 
263
                    <property name="name">
 
264
                        <cstring>Spacer3</cstring>
 
265
                    </property>
 
266
                    <property name="orientation">
 
267
                        <enum>Horizontal</enum>
 
268
                    </property>
 
269
                    <property name="sizeType">
 
270
                        <enum>Expanding</enum>
 
271
                    </property>
 
272
                </spacer>
 
273
                <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">
 
274
                    <property name="name">
 
275
                        <cstring>TextLabel2_2</cstring>
 
276
                    </property>
 
277
                    <property name="text">
 
278
                        <string>D&amp;efault spacing:</string>
 
279
                    </property>
 
280
                    <property name="buddy" stdset="0">
 
281
                        <cstring>spinSpacing</cstring>
 
282
                    </property>
 
283
                </widget>
 
284
                <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
 
285
                    <property name="name">
 
286
                        <cstring>checkLayoutFunctions</cstring>
 
287
                    </property>
 
288
                    <property name="text">
 
289
                        <string>Use func&amp;tions:</string>
 
290
                    </property>
 
291
                    <property name="toolTip" stdset="0">
 
292
                        <string>Use functions to get the margin and spacing</string>
 
293
                    </property>
 
294
                    <property name="whatsThis" stdset="0">
 
295
                        <string>&lt;b&gt;Use a given function for margin and/or spacing&lt;/b&gt;&lt;p&gt;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. &lt;i&gt;Qt Designer&lt;/i&gt; cannot preview the correct margin or spacing if you use your own function. Instead, the default values will be used for preview.</string>
 
296
                    </property>
 
297
                </widget>
 
298
                <widget class="QSpinBox" row="1" column="2">
 
299
                    <property name="name">
 
300
                        <cstring>spinSpacing</cstring>
 
301
                    </property>
 
302
                    <property name="value">
 
303
                        <number>6</number>
 
304
                    </property>
 
305
                </widget>
 
306
                <spacer row="1" column="3">
 
307
                    <property name="name">
 
308
                        <cstring>Spacer4</cstring>
 
309
                    </property>
 
310
                    <property name="orientation">
 
311
                        <enum>Horizontal</enum>
 
312
                    </property>
 
313
                    <property name="sizeType">
 
314
                        <enum>Expanding</enum>
 
315
                    </property>
 
316
                </spacer>
 
317
                <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
 
318
                    <property name="name">
 
319
                        <cstring>TextLabel1_3</cstring>
 
320
                    </property>
 
321
                    <property name="text">
 
322
                        <string>Default mar&amp;gin:</string>
 
323
                    </property>
 
324
                    <property name="buddy" stdset="0">
 
325
                        <cstring>spinMargin</cstring>
 
326
                    </property>
 
327
                </widget>
 
328
                <widget class="QLabel" row="4" column="0">
 
329
                    <property name="name">
 
330
                        <cstring>spaFuLabel</cstring>
 
331
                    </property>
 
332
                    <property name="enabled">
 
333
                        <bool>false</bool>
 
334
                    </property>
 
335
                    <property name="text">
 
336
                        <string>S&amp;pacing:</string>
 
337
                    </property>
 
338
                    <property name="buddy" stdset="0">
 
339
                        <cstring>editSpacingFunction</cstring>
 
340
                    </property>
 
341
                </widget>
 
342
                <widget class="QLabel" row="3" column="0">
 
343
                    <property name="name">
 
344
                        <cstring>marFuLabel</cstring>
 
345
                    </property>
 
346
                    <property name="enabled">
 
347
                        <bool>false</bool>
 
348
                    </property>
 
349
                    <property name="sizePolicy">
 
350
                        <sizepolicy>
 
351
                            <hsizetype>5</hsizetype>
 
352
                            <vsizetype>5</vsizetype>
 
353
                            <horstretch>0</horstretch>
 
354
                            <verstretch>0</verstretch>
 
355
                        </sizepolicy>
 
356
                    </property>
 
357
                    <property name="text">
 
358
                        <string>Ma&amp;rgin:</string>
 
359
                    </property>
 
360
                    <property name="buddy" stdset="0">
 
361
                        <cstring>editMarginFunction</cstring>
 
362
                    </property>
 
363
                </widget>
 
364
                <spacer row="2" column="2" rowspan="1" colspan="2">
 
365
                    <property name="name">
 
366
                        <cstring>Spacer5</cstring>
 
367
                    </property>
 
368
                    <property name="orientation">
 
369
                        <enum>Horizontal</enum>
 
370
                    </property>
 
371
                    <property name="sizeType">
 
372
                        <enum>Expanding</enum>
 
373
                    </property>
 
374
                </spacer>
 
375
                <widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="3">
 
376
                    <property name="name">
 
377
                        <cstring>editSpacingFunction</cstring>
 
378
                    </property>
 
379
                    <property name="enabled">
 
380
                        <bool>false</bool>
 
381
                    </property>
 
382
                    <property name="toolTip" stdset="0">
 
383
                        <string>Specify spacing function (only the function's name, no parentheses.)</string>
 
384
                    </property>
 
385
                    <property name="whatsThis" stdset="0">
 
386
                        <string>&lt;b&gt;Specify spacing function&lt;/b&gt;&lt;p&gt;Specify the function which should be used for getting the spacing in the generated code. &lt;em&gt;Only enter the function's name, without parentheses.&lt;/em&gt;</string>
 
387
                    </property>
 
388
                </widget>
 
389
                <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="3">
 
390
                    <property name="name">
 
391
                        <cstring>editMarginFunction</cstring>
 
392
                    </property>
 
393
                    <property name="enabled">
 
394
                        <bool>false</bool>
 
395
                    </property>
 
396
                    <property name="sizePolicy">
 
397
                        <sizepolicy>
 
398
                            <hsizetype>5</hsizetype>
 
399
                            <vsizetype>0</vsizetype>
 
400
                            <horstretch>0</horstretch>
 
401
                            <verstretch>0</verstretch>
 
402
                        </sizepolicy>
 
403
                    </property>
 
404
                    <property name="toolTip" stdset="0">
 
405
                        <string>Specify margin function (only the function's name, no parentheses.)</string>
 
406
                    </property>
 
407
                    <property name="whatsThis" stdset="0">
 
408
                        <string>&lt;b&gt;Specify margin function&lt;/b&gt;&lt;p&gt;Specify the function which should be used for getting the margin in the generated code. &lt;em&gt;Only enter the function's name, without parentheses.&lt;/em&gt;</string>
 
409
                    </property>
 
410
                </widget>
 
411
            </grid>
 
412
        </widget>
 
413
        <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
 
414
            <property name="name">
 
415
                <cstring>Layout4</cstring>
 
416
            </property>
 
417
            <hbox>
 
418
                <property name="name">
 
419
                    <cstring>unnamed</cstring>
 
420
                </property>
 
421
                <property name="margin">
 
422
                    <number>0</number>
 
423
                </property>
 
424
                <property name="spacing">
 
425
                    <number>6</number>
 
426
                </property>
 
427
                <widget class="QPushButton">
 
428
                    <property name="name">
 
429
                        <cstring>buttonHelp</cstring>
 
430
                    </property>
 
431
                    <property name="text">
 
432
                        <string>&amp;Help</string>
 
433
                    </property>
 
434
                    <property name="autoDefault">
 
435
                        <bool>true</bool>
 
436
                    </property>
 
437
                </widget>
 
438
                <spacer>
 
439
                    <property name="name">
 
440
                        <cstring>Horizontal Spacing2</cstring>
 
441
                    </property>
 
442
                    <property name="orientation">
 
443
                        <enum>Horizontal</enum>
 
444
                    </property>
 
445
                    <property name="sizeType">
 
446
                        <enum>Expanding</enum>
 
447
                    </property>
 
448
                </spacer>
 
449
                <widget class="QPushButton">
 
450
                    <property name="name">
 
451
                        <cstring>buttonOk</cstring>
 
452
                    </property>
 
453
                    <property name="text">
 
454
                        <string>&amp;OK</string>
 
455
                    </property>
 
456
                    <property name="autoDefault">
 
457
                        <bool>true</bool>
 
458
                    </property>
 
459
                    <property name="default">
 
460
                        <bool>true</bool>
 
461
                    </property>
 
462
                    <property name="whatsThis" stdset="0">
 
463
                        <string>Close the dialog and apply all the changes.</string>
 
464
                    </property>
 
465
                </widget>
 
466
                <widget class="QPushButton">
 
467
                    <property name="name">
 
468
                        <cstring>buttonCancel</cstring>
 
469
                    </property>
 
470
                    <property name="text">
 
471
                        <string>&amp;Cancel</string>
 
472
                    </property>
 
473
                    <property name="autoDefault">
 
474
                        <bool>true</bool>
 
475
                    </property>
 
476
                    <property name="whatsThis" stdset="0">
 
477
                        <string>Close the dialog and discard any changes.</string>
 
478
                    </property>
 
479
                </widget>
 
480
            </hbox>
 
481
        </widget>
 
482
    </grid>
 
483
</widget>
 
484
<connections>
 
485
    <connection>
 
486
        <sender>buttonCancel</sender>
 
487
        <signal>clicked()</signal>
 
488
        <receiver>FormSettingsBase</receiver>
 
489
        <slot>reject()</slot>
 
490
    </connection>
 
491
    <connection>
 
492
        <sender>buttonOk</sender>
 
493
        <signal>clicked()</signal>
 
494
        <receiver>FormSettingsBase</receiver>
 
495
        <slot>okClicked()</slot>
 
496
    </connection>
 
497
    <connection>
 
498
        <sender>radioPixmapFunction</sender>
 
499
        <signal>toggled(bool)</signal>
 
500
        <receiver>editPixmapFunction</receiver>
 
501
        <slot>setEnabled(bool)</slot>
 
502
    </connection>
 
503
    <connection>
 
504
        <sender>checkLayoutFunctions</sender>
 
505
        <signal>toggled(bool)</signal>
 
506
        <receiver>editSpacingFunction</receiver>
 
507
        <slot>setEnabled(bool)</slot>
 
508
    </connection>
 
509
    <connection>
 
510
        <sender>checkLayoutFunctions</sender>
 
511
        <signal>toggled(bool)</signal>
 
512
        <receiver>editMarginFunction</receiver>
 
513
        <slot>setEnabled(bool)</slot>
 
514
    </connection>
 
515
    <connection>
 
516
        <sender>checkLayoutFunctions</sender>
 
517
        <signal>toggled(bool)</signal>
 
518
        <receiver>marFuLabel</receiver>
 
519
        <slot>setEnabled(bool)</slot>
 
520
    </connection>
 
521
    <connection>
 
522
        <sender>checkLayoutFunctions</sender>
 
523
        <signal>toggled(bool)</signal>
 
524
        <receiver>spaFuLabel</receiver>
 
525
        <slot>setEnabled(bool)</slot>
 
526
    </connection>
 
527
</connections>
 
528
<tabstops>
 
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>
 
544
</tabstops>
 
545
<slots>
 
546
    <slot>okClicked()</slot>
 
547
</slots>
 
548
<layoutdefaults spacing="6" margin="11"/>
 
549
</UI>