|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>MyDialog1</class> |
|
7 <widget class="QDialog" name="MyDialog1"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>528</width> |
|
13 <height>368</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>MyDialog1</string> |
|
18 </property> |
|
19 <property name="sizeGripEnabled"> |
|
20 <bool>true</bool> |
|
21 </property> |
|
22 <layout class="QVBoxLayout"> |
|
23 <property name="margin"> |
|
24 <number>11</number> |
|
25 </property> |
|
26 <property name="spacing"> |
|
27 <number>6</number> |
|
28 </property> |
|
29 <item> |
|
30 <widget class="QTabWidget" name="tabWidget"> |
|
31 <widget class="QWidget" name="Widget8"> |
|
32 <attribute name="title"> |
|
33 <string>Tab</string> |
|
34 </attribute> |
|
35 </widget> |
|
36 <widget class="QWidget" name="Widget9"> |
|
37 <attribute name="title"> |
|
38 <string>Tab</string> |
|
39 </attribute> |
|
40 </widget> |
|
41 </widget> |
|
42 </item> |
|
43 <item> |
|
44 <layout class="QHBoxLayout"> |
|
45 <property name="margin"> |
|
46 <number>0</number> |
|
47 </property> |
|
48 <property name="spacing"> |
|
49 <number>6</number> |
|
50 </property> |
|
51 <item> |
|
52 <widget class="QPushButton" name="buttonHelp"> |
|
53 <property name="text"> |
|
54 <string>&Help</string> |
|
55 </property> |
|
56 <property name="shortcut"> |
|
57 <number>4144</number> |
|
58 </property> |
|
59 <property name="autoDefault"> |
|
60 <bool>true</bool> |
|
61 </property> |
|
62 </widget> |
|
63 </item> |
|
64 <item> |
|
65 <spacer name="Horizontal Spacing2"> |
|
66 <property name="sizeHint"> |
|
67 <size> |
|
68 <width>20</width> |
|
69 <height>20</height> |
|
70 </size> |
|
71 </property> |
|
72 <property name="sizeType"> |
|
73 <enum>QSizePolicy::Expanding</enum> |
|
74 </property> |
|
75 <property name="orientation"> |
|
76 <enum>Qt::Horizontal</enum> |
|
77 </property> |
|
78 </spacer> |
|
79 </item> |
|
80 <item> |
|
81 <widget class="QPushButton" name="buttonOk"> |
|
82 <property name="text"> |
|
83 <string>&OK</string> |
|
84 </property> |
|
85 <property name="shortcut"> |
|
86 <number>0</number> |
|
87 </property> |
|
88 <property name="autoDefault"> |
|
89 <bool>true</bool> |
|
90 </property> |
|
91 <property name="default"> |
|
92 <bool>true</bool> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 <item> |
|
97 <widget class="QPushButton" name="buttonCancel"> |
|
98 <property name="text"> |
|
99 <string>&Cancel</string> |
|
100 </property> |
|
101 <property name="shortcut"> |
|
102 <number>0</number> |
|
103 </property> |
|
104 <property name="autoDefault"> |
|
105 <bool>true</bool> |
|
106 </property> |
|
107 </widget> |
|
108 </item> |
|
109 </layout> |
|
110 </item> |
|
111 </layout> |
|
112 </widget> |
|
113 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
114 <connections> |
|
115 <connection> |
|
116 <sender>buttonOk</sender> |
|
117 <signal>clicked()</signal> |
|
118 <receiver>MyDialog1</receiver> |
|
119 <slot>accept()</slot> |
|
120 </connection> |
|
121 <connection> |
|
122 <sender>buttonCancel</sender> |
|
123 <signal>clicked()</signal> |
|
124 <receiver>MyDialog1</receiver> |
|
125 <slot>reject()</slot> |
|
126 </connection> |
|
127 </connections> |
|
128 </ui> |