~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to tools/designer/src/components/widgetbox/widgetbox.xml

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--************************************************************************
 
3
**
 
4
** Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
 
5
**
 
6
** This file is part of the designer application of the Qt Toolkit.
 
7
**
 
8
** This file may be distributed under the terms of the Q Public License
 
9
** as defined by Trolltech AS of Norway and appearing in the file
 
10
** LICENSE.QPL included in the packaging of this file.
 
11
**
 
12
** This file may be distributed and/or modified under the terms of the
 
13
** GNU General Public License version 2 as published by the Free Software
 
14
** Foundation and appearing in the file LICENSE.GPL included in the
 
15
** packaging of this file.
 
16
**
 
17
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
 
18
**   information about Qt Commercial License Agreements.
 
19
** See http://www.trolltech.com/qpl/ for QPL licensing information.
 
20
** See http://www.trolltech.com/gpl/ for GPL licensing information.
 
21
**
 
22
** Contact info@trolltech.com if any conditions of this licensing are
 
23
** not clear to you.
 
24
**
 
25
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 
26
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
27
**
 
28
**************************************************************************-->
 
29
<widgetbox version="4.0">
 
30
    <category name="Layouts">
 
31
        <widget class="QWidget"  name="Vertical Layout" icon="win/editvlayout.png">
 
32
            <property name="objectName">
 
33
                <string notr="true">verticalLayout</string>
 
34
            </property>
 
35
            <property name="geometry">
 
36
                <rect>
 
37
                    <x>0</x>
 
38
                    <y>0</y>
 
39
                    <width>160</width>
 
40
                    <height>80</height>
 
41
                </rect>
 
42
            </property>
 
43
            <layout class="QVBoxLayout" />
 
44
        </widget>
 
45
 
 
46
        <widget class="QWidget"  name="Horizontal Layout" icon="win/edithlayout.png">
 
47
            <property name="objectName">
 
48
                <string notr="true">horizontalLayout</string>
 
49
            </property>
 
50
            <property name="geometry">
 
51
                <rect>
 
52
                    <x>0</x>
 
53
                    <y>0</y>
 
54
                    <width>160</width>
 
55
                    <height>80</height>
 
56
                </rect>
 
57
            </property>
 
58
            <layout class="QHBoxLayout" />
 
59
        </widget>
 
60
 
 
61
        <widget class="QWidget"  name="Grid Layout" icon="win/editgrid.png">
 
62
            <property name="objectName">
 
63
                <string notr="true">gridLayout</string>
 
64
            </property>
 
65
            <property name="geometry">
 
66
                <rect>
 
67
                    <x>0</x>
 
68
                    <y>0</y>
 
69
                    <width>160</width>
 
70
                    <height>80</height>
 
71
                </rect>
 
72
            </property>
 
73
            <layout class="QGridLayout" />
 
74
        </widget>
 
75
 
 
76
    </category>
 
77
 
 
78
    <category name="Spacers">
 
79
        <widget class="Spacer"  name="Horizontal Spacer" icon="widgets/spacer.png">
 
80
            <property name="orientation" >
 
81
                <enum>Qt::Horizontal</enum>
 
82
            </property>
 
83
            <property name="objectName">
 
84
                <string notr="true">horizontalSpacer</string>
 
85
            </property>
 
86
            <property name="geometry">
 
87
                <rect>
 
88
                    <x>0</x>
 
89
                    <y>0</y>
 
90
                    <width>40</width>
 
91
                    <height>20</height>
 
92
                </rect>
 
93
            </property>
 
94
        </widget>
 
95
 
 
96
        <widget class="Spacer"  name="Vertical Spacer" icon="widgets/vspacer.png">
 
97
            <property name="orientation" >
 
98
                <enum>Qt::Vertical</enum>
 
99
            </property>
 
100
            <property name="objectName">
 
101
                <string notr="true">verticalSpacer</string>
 
102
            </property>
 
103
            <property name="geometry">
 
104
                <rect>
 
105
                    <x>0</x>
 
106
                    <y>0</y>
 
107
                    <width>20</width>
 
108
                    <height>40</height>
 
109
                </rect>
 
110
            </property>
 
111
        </widget>
 
112
    </category>
 
113
 
 
114
    <category name="Buttons">
 
115
        <widget class="QPushButton"  name="Push Button" icon="widgets/pushbutton.png">
 
116
            <property name="text" >
 
117
                <string>PushButton</string>
 
118
            </property>
 
119
            <property name="objectName">
 
120
                <string notr="true">pushButton</string>
 
121
            </property>
 
122
        </widget>
 
123
 
 
124
        <widget class="QToolButton" name="Tool Button" icon="widgets/toolbutton.png">
 
125
            <property name="objectName">
 
126
                <string notr="true">toolButton</string>
 
127
            </property>
 
128
            <property name="text" >
 
129
                <string>...</string>
 
130
            </property>
 
131
        </widget>
 
132
 
 
133
        <widget class="QRadioButton" name="Radio Button" icon="widgets/radiobutton.png">
 
134
            <property name="text" >
 
135
                <string>RadioButton</string>
 
136
            </property>
 
137
            <property name="objectName">
 
138
                <string notr="true">radioButton</string>
 
139
            </property>
 
140
        </widget>
 
141
 
 
142
        <widget class="QCheckBox" name="Check Box" icon="widgets/checkbox.png">
 
143
            <property name="text" >
 
144
                <string>CheckBox</string>
 
145
            </property>
 
146
            <property name="objectName">
 
147
                <string notr="true">checkBox</string>
 
148
            </property>
 
149
        </widget>
 
150
    </category>
 
151
 
 
152
    <category name="Item Views (Model-Based)">
 
153
        <widget class="QListView" name="List View" icon="widgets/listbox.png">
 
154
            <property name="geometry">
 
155
                <rect>
 
156
                    <x>0</x>
 
157
                    <y>0</y>
 
158
                    <width>120</width>
 
159
                    <height>80</height>
 
160
                </rect>
 
161
            </property>
 
162
            <property name="objectName">
 
163
                <string notr="true">listView</string>
 
164
            </property>
 
165
        </widget>
 
166
 
 
167
        <widget class="QTreeView" name="Tree View" icon="widgets/listview.png">
 
168
            <property name="geometry">
 
169
                <rect>
 
170
                    <x>0</x>
 
171
                    <y>0</y>
 
172
                    <width>120</width>
 
173
                    <height>80</height>
 
174
                </rect>
 
175
            </property>
 
176
            <property name="objectName">
 
177
                <string notr="true">treeView</string>
 
178
            </property>
 
179
        </widget>
 
180
 
 
181
        <widget class="QTableView" name="Table View" icon="widgets/table.png">
 
182
            <property name="geometry">
 
183
                <rect>
 
184
                    <x>0</x>
 
185
                    <y>0</y>
 
186
                    <width>120</width>
 
187
                    <height>80</height>
 
188
                </rect>
 
189
            </property>
 
190
            <property name="objectName">
 
191
                <string notr="true">tableView</string>
 
192
            </property>
 
193
        </widget>
 
194
    </category>
 
195
 
 
196
    <category name="Item Widgets (Item-Based)">
 
197
        <widget class="QListWidget" name="List Widget" icon="widgets/listbox.png">
 
198
            <property name="geometry">
 
199
                <rect>
 
200
                    <x>0</x>
 
201
                    <y>0</y>
 
202
                    <width>120</width>
 
203
                    <height>80</height>
 
204
                </rect>
 
205
            </property>
 
206
            <property name="objectName">
 
207
                <string notr="true">listWidget</string>
 
208
            </property>
 
209
        </widget>
 
210
        <widget class="QTreeWidget" name="Tree Widget" icon="widgets/listview.png">
 
211
            <property name="geometry">
 
212
                <rect>
 
213
                    <x>0</x>
 
214
                    <y>0</y>
 
215
                    <width>120</width>
 
216
                    <height>80</height>
 
217
                </rect>
 
218
            </property>
 
219
            <property name="objectName">
 
220
                <string notr="true">treeWidget</string>
 
221
            </property>
 
222
        </widget>
 
223
 
 
224
        <widget class="QTableWidget" name="Table Widget" icon="widgets/table.png">
 
225
            <property name="geometry">
 
226
                <rect>
 
227
                    <x>0</x>
 
228
                    <y>0</y>
 
229
                    <width>120</width>
 
230
                    <height>80</height>
 
231
                </rect>
 
232
            </property>
 
233
            <property name="objectName">
 
234
                <string notr="true">tableWidget</string>
 
235
            </property>
 
236
        </widget>
 
237
    </category>
 
238
 
 
239
    <category name="Containers">
 
240
        <widget class="QGroupBox" name="Group Box" icon="widgets/groupbox.png">
 
241
            <property name="title" >
 
242
                <string>GroupBox</string>
 
243
            </property>
 
244
            <property name="geometry">
 
245
                <rect>
 
246
                    <x>0</x>
 
247
                    <y>0</y>
 
248
                    <width>120</width>
 
249
                    <height>80</height>
 
250
                </rect>
 
251
            </property>
 
252
            <property name="objectName">
 
253
                <string notr="true">groupBox</string>
 
254
            </property>
 
255
        </widget>
 
256
 
 
257
        <widget class="QToolBox" name="Tool Box" icon="widgets/toolbox.png">
 
258
            <property name="currentIndex" >
 
259
                <number>0</number>
 
260
            </property>
 
261
            <property name="objectName">
 
262
                <string notr="true">toolBox</string>
 
263
            </property>
 
264
            <widget class="QWidget" name="page" >
 
265
                <attribute name="label">
 
266
                    <string>Page 1</string>
 
267
                </attribute>
 
268
            </widget>
 
269
            <widget class="QWidget" name="page" >
 
270
                <attribute name="label">
 
271
                    <string>Page 2</string>
 
272
                </attribute>
 
273
            </widget>
 
274
        </widget>
 
275
 
 
276
        <widget class="QTabWidget" name="Tab Widget" icon="widgets/tabwidget.png">
 
277
            <property name="geometry">
 
278
                <rect>
 
279
                    <x>0</x>
 
280
                    <y>0</y>
 
281
                    <width>120</width>
 
282
                    <height>80</height>
 
283
                </rect>
 
284
            </property>
 
285
            <property name="objectName">
 
286
                <string notr="true">tabWidget</string>
 
287
            </property>
 
288
            <widget class="QWidget" name="tab">
 
289
                <attribute name="title">
 
290
                    <string>Tab 1</string>
 
291
                </attribute>
 
292
            </widget>
 
293
            <widget class="QWidget" name="tab">
 
294
                <attribute name="title">
 
295
                    <string>Tab 2</string>
 
296
                </attribute>
 
297
            </widget>
 
298
        </widget>
 
299
 
 
300
        <widget class="QStackedWidget" name="Stacked Widget" icon="widgets/widgetstack.png">
 
301
            <property name="geometry">
 
302
                <rect>
 
303
                    <x>0</x>
 
304
                    <y>0</y>
 
305
                    <width>120</width>
 
306
                    <height>80</height>
 
307
                </rect>
 
308
            </property>
 
309
            <property name="objectName">
 
310
                <string notr="true">stackedWidget</string>
 
311
            </property>
 
312
            <widget class="QWidget" name="page" />
 
313
            <widget class="QWidget" name="page" />
 
314
        </widget>
 
315
 
 
316
        <widget class="QFrame" name="Frame" icon="widgets/frame.png">
 
317
            <property name="frameShadow" >
 
318
                <enum>QFrame::Raised</enum>
 
319
            </property>
 
320
            <property name="geometry">
 
321
                <rect>
 
322
                    <x>0</x>
 
323
                    <y>0</y>
 
324
                    <width>120</width>
 
325
                    <height>80</height>
 
326
                </rect>
 
327
            </property>
 
328
            <property name="frameShape" >
 
329
                <enum>QFrame::StyledPanel</enum>
 
330
            </property>
 
331
            <property name="objectName">
 
332
                <string notr="true">frame</string>
 
333
            </property>
 
334
        </widget>
 
335
 
 
336
        <widget class="QDockWidget" name="Dock Widget" icon="widgets/frame.png">
 
337
            <property name="geometry">
 
338
                <rect>
 
339
                    <x>0</x>
 
340
                    <y>0</y>
 
341
                    <width>120</width>
 
342
                    <height>80</height>
 
343
                </rect>
 
344
            </property>
 
345
            <property name="objectName">
 
346
                <string notr="true">dockWidget</string>
 
347
            </property>
 
348
            <widget class="QWidget" name="dockWidgetContents" />
 
349
        </widget>
 
350
    </category>
 
351
 
 
352
    <category name="Input Widgets">
 
353
 
 
354
 
 
355
        <widget class="QComboBox" name="Combo Box" icon="widgets/combobox.png">
 
356
            <property name="geometry" >
 
357
                <rect>
 
358
                    <x>119</x>
 
359
                    <y>28</y>
 
360
                    <width>41</width>
 
361
                    <height>22</height>
 
362
                </rect>
 
363
            </property>
 
364
            <property name="objectName">
 
365
                <string notr="true">comboBox</string>
 
366
            </property>
 
367
        </widget>
 
368
 
 
369
        <widget class="QLineEdit" name="Line Edit" icon="widgets/lineedit.png">
 
370
            <property name="geometry" >
 
371
                <rect>
 
372
                    <x>0</x>
 
373
                    <y>1</y>
 
374
                    <width>113</width>
 
375
                    <height>20</height>
 
376
                </rect>
 
377
            </property>
 
378
            <property name="objectName">
 
379
                <string notr="true">lineEdit</string>
 
380
            </property>
 
381
        </widget>
 
382
 
 
383
        <widget class="QTextEdit" name="Text Edit" icon="widgets/textedit.png">
 
384
            <property name="objectName">
 
385
                <string notr="true">textEdit</string>
 
386
            </property>
 
387
            <property name="geometry" >
 
388
                <rect>
 
389
                    <x>0</x>
 
390
                    <y>0</y>
 
391
                    <width>104</width>
 
392
                    <height>64</height>
 
393
                </rect>
 
394
            </property>
 
395
        </widget>
 
396
 
 
397
        <widget class="QSpinBox" name="Spin Box" icon="widgets/spinbox.png">
 
398
            <property name="geometry" >
 
399
                <rect>
 
400
                    <x>119</x>
 
401
                    <y>0</y>
 
402
                    <width>42</width>
 
403
                    <height>22</height>
 
404
                </rect>
 
405
            </property>
 
406
            <property name="objectName">
 
407
                <string notr="true">spinBox</string>
 
408
            </property>
 
409
        </widget>
 
410
 
 
411
        <widget class="QDoubleSpinBox" name="Double Spin Box" icon="widgets/spinbox.png">
 
412
            <property name="geometry" >
 
413
                <rect>
 
414
                    <x>119</x>
 
415
                    <y>0</y>
 
416
                    <width>62</width>
 
417
                    <height>22</height>
 
418
                </rect>
 
419
            </property>
 
420
            <property name="objectName">
 
421
                <string notr="true">doubleSpinBox</string>
 
422
            </property>
 
423
        </widget>
 
424
 
 
425
        <widget class="QTimeEdit" name="Time Edit" icon="widgets/datetimeedit.png">
 
426
            <property name="geometry" >
 
427
                <rect>
 
428
                    <x>0</x>
 
429
                    <y>28</y>
 
430
                    <width>118</width>
 
431
                    <height>22</height>
 
432
                </rect>
 
433
            </property>
 
434
            <property name="objectName">
 
435
                <string notr="true">timeEdit</string>
 
436
            </property>
 
437
        </widget>
 
438
 
 
439
        <widget class="QDateEdit" name="Date Edit" icon="widgets/datetimeedit.png">
 
440
            <property name="geometry" >
 
441
                <rect>
 
442
                    <x>0</x>
 
443
                    <y>28</y>
 
444
                    <width>110</width>
 
445
                    <height>22</height>
 
446
                </rect>
 
447
            </property>
 
448
            <property name="objectName">
 
449
                <string notr="true">dateEdit</string>
 
450
            </property>
 
451
        </widget>
 
452
 
 
453
        <widget class="QDateTimeEdit" name="Date/Time Edit" icon="widgets/datetimeedit.png">
 
454
            <property name="geometry" >
 
455
                <rect>
 
456
                    <x>0</x>
 
457
                    <y>28</y>
 
458
                    <width>194</width>
 
459
                    <height>22</height>
 
460
                </rect>
 
461
            </property>
 
462
            <property name="objectName">
 
463
                <string notr="true">dateTimeEdit</string>
 
464
            </property>
 
465
        </widget>
 
466
 
 
467
        <widget class="QDial" name="Dial" icon="widgets/dial.png" >
 
468
            <property name="geometry" >
 
469
                <rect>
 
470
                    <x>110</x>
 
471
                    <y>0</y>
 
472
                    <width>50</width>
 
473
                    <height>64</height>
 
474
                </rect>
 
475
            </property>
 
476
            <property name="objectName">
 
477
                <string notr="true">dial</string>
 
478
            </property>
 
479
        </widget>
 
480
 
 
481
        <widget class="QScrollBar" name="Horizontal Scroll Bar" icon="widgets/hscrollbar.png">
 
482
            <property name="orientation" >
 
483
                <enum>Qt::Horizontal</enum>
 
484
            </property>
 
485
            <property name="geometry" >
 
486
                <rect>
 
487
                    <x>0</x>
 
488
                    <y>126</y>
 
489
                    <width>160</width>
 
490
                    <height>16</height>
 
491
                </rect>
 
492
            </property>
 
493
            <property name="objectName">
 
494
                <string notr="true">horizontalScrollBar</string>
 
495
            </property>
 
496
        </widget>
 
497
 
 
498
        <widget class="QScrollBar" name="Vertical Scroll Bar" icon="widgets/vscrollbar.png">
 
499
            <property name="orientation" >
 
500
                <enum>Qt::Vertical</enum>
 
501
            </property>
 
502
            <property name="geometry" >
 
503
                <rect>
 
504
                    <x>0</x>
 
505
                    <y>126</y>
 
506
                    <width>16</width>
 
507
                    <height>160</height>
 
508
                </rect>
 
509
            </property>
 
510
            <property name="objectName">
 
511
                <string notr="true">verticalScrollBar</string>
 
512
            </property>
 
513
        </widget>
 
514
 
 
515
        <widget class="QSlider" name="Horizontal Slider" icon="widgets/hslider.png">
 
516
            <property name="orientation" >
 
517
                <enum>Qt::Horizontal</enum>
 
518
            </property>
 
519
            <property name="geometry" >
 
520
                <rect>
 
521
                    <x>0</x>
 
522
                    <y>126</y>
 
523
                    <width>160</width>
 
524
                    <height>16</height>
 
525
                </rect>
 
526
            </property>
 
527
            <property name="objectName">
 
528
                <string notr="true">horizontalSlider</string>
 
529
            </property>
 
530
        </widget>
 
531
 
 
532
        <widget class="QSlider" name="Vertical Slider" icon="widgets/vslider.png">
 
533
            <property name="orientation" >
 
534
                <enum>Qt::Vertical</enum>
 
535
            </property>
 
536
            <property name="geometry" >
 
537
                <rect>
 
538
                    <x>0</x>
 
539
                    <y>126</y>
 
540
                    <width>16</width>
 
541
                    <height>160</height>
 
542
                </rect>
 
543
            </property>
 
544
            <property name="objectName">
 
545
                <string notr="true">verticalSlider</string>
 
546
            </property>
 
547
        </widget>
 
548
 
 
549
    </category>
 
550
 
 
551
 
 
552
    <category name="Display Widgets">
 
553
 
 
554
        <widget class="QLabel" name="Label" icon="widgets/label.png">
 
555
            <property name="text">
 
556
                <string>TextLabel</string>
 
557
            </property>
 
558
            <property name="objectName">
 
559
                <string notr="true">label</string>
 
560
            </property>
 
561
        </widget>
 
562
 
 
563
        <widget class="QTextBrowser" name="Text Browser" icon="widgets/textedit.png">
 
564
            <property name="objectName">
 
565
                <string notr="true">textBrowser</string>
 
566
            </property>
 
567
        </widget>
 
568
 
 
569
        <widget class="QLCDNumber" name="LCD Number" icon="widgets/lcdnumber.png">
 
570
            <property name="objectName">
 
571
                <string notr="true">lcdNumber</string>
 
572
            </property>
 
573
        </widget>
 
574
 
 
575
        <widget class="QProgressBar" name="Progress Bar" icon="widgets/progress.png">
 
576
            <property name="value" >
 
577
                <number>24</number>
 
578
            </property>
 
579
            <property name="geometry" >
 
580
                <rect>
 
581
                    <x>9</x>
 
582
                    <y>38</y>
 
583
                    <width>118</width>
 
584
                    <height>23</height>
 
585
                </rect>
 
586
            </property>
 
587
            <property name="objectName">
 
588
                <string notr="true">progressBar</string>
 
589
            </property>
 
590
        </widget>
 
591
 
 
592
        <widget class="Line" name="Horizontal Line" icon="widgets/line.png">
 
593
            <property name="orientation" >
 
594
                <enum>Qt::Horizontal</enum>
 
595
            </property>
 
596
            <property name="objectName">
 
597
                <string notr="true">line</string>
 
598
            </property>
 
599
            <property name="geometry" >
 
600
                <rect>
 
601
                    <x>9</x>
 
602
                    <y>67</y>
 
603
                    <width>118</width>
 
604
                    <height>3</height>
 
605
                </rect>
 
606
            </property>
 
607
        </widget>
 
608
 
 
609
        <widget class="Line" name="Vertical Line" icon="widgets/line.png">
 
610
            <property name="orientation" >
 
611
                <enum>Qt::Vertical</enum>
 
612
            </property>
 
613
            <property name="objectName">
 
614
                <string notr="true">line</string>
 
615
            </property>
 
616
            <property name="geometry" >
 
617
                <rect>
 
618
                    <x>133</x>
 
619
                    <y>9</y>
 
620
                    <width>3</width>
 
621
                    <height>61</height>
 
622
                </rect>
 
623
            </property>
 
624
        </widget>
 
625
    </category>
 
626
</widgetbox>