|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment>********************************************************************* |
|
5 ** |
|
6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
7 ** All rights reserved. |
|
8 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
9 ** |
|
10 ** This file is part of the test suite of the Qt Toolkit. |
|
11 ** |
|
12 ** $QT_BEGIN_LICENSE:LGPL$ |
|
13 ** No Commercial Usage |
|
14 ** This file contains pre-release code and may not be distributed. |
|
15 ** You may use this file in accordance with the terms and conditions |
|
16 ** contained in the Technology Preview License Agreement accompanying |
|
17 ** this package. |
|
18 ** |
|
19 ** GNU Lesser General Public License Usage |
|
20 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
21 ** General Public License version 2.1 as published by the Free Software |
|
22 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
23 ** packaging of this file. Please review the following information to |
|
24 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
26 ** |
|
27 ** In addition, as a special exception, Nokia gives you certain additional |
|
28 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
30 ** |
|
31 ** If you have questions regarding the use of this file, please contact |
|
32 ** Nokia at qt-info@nokia.com. |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** |
|
41 ** $QT_END_LICENSE$ |
|
42 ** |
|
43 *********************************************************************</comment> |
|
44 <exportmacro></exportmacro> |
|
45 <class>CreateTemplate</class> |
|
46 <widget class="QDialog" name="CreateTemplate"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>347</width> |
|
52 <height>248</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>Create Template</string> |
|
57 </property> |
|
58 <property name="sizeGripEnabled"> |
|
59 <bool>true</bool> |
|
60 </property> |
|
61 <layout class="QGridLayout"> |
|
62 <property name="margin"> |
|
63 <number>11</number> |
|
64 </property> |
|
65 <property name="spacing"> |
|
66 <number>6</number> |
|
67 </property> |
|
68 <item row="0" column="0"> |
|
69 <widget class="QLabel" name="TextLabel1"> |
|
70 <property name="text"> |
|
71 <string>Template &Name:</string> |
|
72 </property> |
|
73 <property name="buddy"> |
|
74 <cstring>editName</cstring> |
|
75 </property> |
|
76 <property name="wordWrap"> |
|
77 <bool>false</bool> |
|
78 </property> |
|
79 </widget> |
|
80 </item> |
|
81 <item row="0" column="1"> |
|
82 <widget class="QLineEdit" name="editName"> |
|
83 <property name="toolTip"> |
|
84 <string>Name of the new template</string> |
|
85 </property> |
|
86 <property name="whatsThis"> |
|
87 <string>Enter the name of the new template</string> |
|
88 </property> |
|
89 </widget> |
|
90 </item> |
|
91 <item row="1" column="1" rowspan="2" colspan="1"> |
|
92 <widget class="Q3ListBox" name="listClass"> |
|
93 <property name="toolTip"> |
|
94 <string>Class of the new template</string> |
|
95 </property> |
|
96 <property name="whatsThis"> |
|
97 <string>Enter the name of the class which should be used as the template's base class</string> |
|
98 </property> |
|
99 </widget> |
|
100 </item> |
|
101 <item row="3" column="0" rowspan="1" colspan="2"> |
|
102 <layout class="QHBoxLayout"> |
|
103 <property name="margin"> |
|
104 <number>0</number> |
|
105 </property> |
|
106 <property name="spacing"> |
|
107 <number>6</number> |
|
108 </property> |
|
109 <item> |
|
110 <spacer name="Spacer1"> |
|
111 <property name="sizeHint"> |
|
112 <size> |
|
113 <width>20</width> |
|
114 <height>20</height> |
|
115 </size> |
|
116 </property> |
|
117 <property name="sizeType"> |
|
118 <enum>QSizePolicy::Expanding</enum> |
|
119 </property> |
|
120 <property name="orientation"> |
|
121 <enum>Qt::Horizontal</enum> |
|
122 </property> |
|
123 </spacer> |
|
124 </item> |
|
125 <item> |
|
126 <widget class="QPushButton" name="buttonCreate"> |
|
127 <property name="text"> |
|
128 <string>C&reate</string> |
|
129 </property> |
|
130 <property name="default"> |
|
131 <bool>true</bool> |
|
132 </property> |
|
133 <property name="whatsThis"> |
|
134 <string>Creates the new template</string> |
|
135 </property> |
|
136 </widget> |
|
137 </item> |
|
138 <item> |
|
139 <widget class="QPushButton" name="PushButton1"> |
|
140 <property name="text"> |
|
141 <string>&Cancel</string> |
|
142 </property> |
|
143 <property name="whatsThis"> |
|
144 <string>Closes the Dialog</string> |
|
145 </property> |
|
146 </widget> |
|
147 </item> |
|
148 </layout> |
|
149 </item> |
|
150 <item row="1" column="0"> |
|
151 <widget class="QLabel" name="TextLabel2"> |
|
152 <property name="text"> |
|
153 <string>&Baseclass for Template:</string> |
|
154 </property> |
|
155 <property name="buddy"> |
|
156 <cstring>listClass</cstring> |
|
157 </property> |
|
158 <property name="wordWrap"> |
|
159 <bool>false</bool> |
|
160 </property> |
|
161 </widget> |
|
162 </item> |
|
163 <item row="2" column="0"> |
|
164 <spacer name="Spacer2"> |
|
165 <property name="sizeHint"> |
|
166 <size> |
|
167 <width>20</width> |
|
168 <height>20</height> |
|
169 </size> |
|
170 </property> |
|
171 <property name="sizeType"> |
|
172 <enum>QSizePolicy::Expanding</enum> |
|
173 </property> |
|
174 <property name="orientation"> |
|
175 <enum>Qt::Vertical</enum> |
|
176 </property> |
|
177 </spacer> |
|
178 </item> |
|
179 </layout> |
|
180 </widget> |
|
181 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
182 <connections> |
|
183 <connection> |
|
184 <sender>buttonCreate</sender> |
|
185 <signal>clicked()</signal> |
|
186 <receiver>CreateTemplate</receiver> |
|
187 <slot>accept()</slot> |
|
188 </connection> |
|
189 <connection> |
|
190 <sender>PushButton1</sender> |
|
191 <signal>clicked()</signal> |
|
192 <receiver>CreateTemplate</receiver> |
|
193 <slot>reject()</slot> |
|
194 </connection> |
|
195 </connections> |
|
196 </ui> |