|
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 autotests 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>NewFormBase</class> |
|
46 <widget class="QDialog" name="NewFormBase"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>557</width> |
|
52 <height>436</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>New File</string> |
|
57 </property> |
|
58 <property name="sizeGripEnabled"> |
|
59 <bool>true</bool> |
|
60 </property> |
|
61 <property name="whatsThis" stdset="0"> |
|
62 <string><b>New Form</b><p>Select a template for the new form and click the <b>OK</b>-button to create it.</p></string> |
|
63 </property> |
|
64 <layout class="QGridLayout"> |
|
65 <property name="margin"> |
|
66 <number>11</number> |
|
67 </property> |
|
68 <property name="spacing"> |
|
69 <number>6</number> |
|
70 </property> |
|
71 <item row="2" column="0" rowspan="1" colspan="3"> |
|
72 <layout class="QHBoxLayout"> |
|
73 <property name="margin"> |
|
74 <number>0</number> |
|
75 </property> |
|
76 <property name="spacing"> |
|
77 <number>6</number> |
|
78 </property> |
|
79 <item> |
|
80 <widget class="QPushButton" name="helpButton"> |
|
81 <property name="text"> |
|
82 <string>&Help</string> |
|
83 </property> |
|
84 <property name="autoDefault"> |
|
85 <bool>true</bool> |
|
86 </property> |
|
87 </widget> |
|
88 </item> |
|
89 <item> |
|
90 <spacer name="Horizontal Spacing2"> |
|
91 <property name="sizeHint"> |
|
92 <size> |
|
93 <width>20</width> |
|
94 <height>20</height> |
|
95 </size> |
|
96 </property> |
|
97 <property name="sizeType"> |
|
98 <enum>QSizePolicy::Expanding</enum> |
|
99 </property> |
|
100 <property name="orientation"> |
|
101 <enum>Qt::Horizontal</enum> |
|
102 </property> |
|
103 </spacer> |
|
104 </item> |
|
105 <item> |
|
106 <widget class="QPushButton" name="buttonOk"> |
|
107 <property name="text"> |
|
108 <string>&OK</string> |
|
109 </property> |
|
110 <property name="autoDefault"> |
|
111 <bool>true</bool> |
|
112 </property> |
|
113 <property name="default"> |
|
114 <bool>true</bool> |
|
115 </property> |
|
116 <property name="whatsThis" stdset="0"> |
|
117 <string>Create a new form using the selected template.</string> |
|
118 </property> |
|
119 </widget> |
|
120 </item> |
|
121 <item> |
|
122 <widget class="QPushButton" name="buttonCancel"> |
|
123 <property name="text"> |
|
124 <string>&Cancel</string> |
|
125 </property> |
|
126 <property name="autoDefault"> |
|
127 <bool>true</bool> |
|
128 </property> |
|
129 <property name="whatsThis" stdset="0"> |
|
130 <string>Close the dialog without creating a new form.</string> |
|
131 </property> |
|
132 </widget> |
|
133 </item> |
|
134 </layout> |
|
135 </item> |
|
136 <item row="1" column="0" rowspan="1" colspan="3"> |
|
137 <widget class="Q3IconView" name="templateView"> |
|
138 <property name="gridX"> |
|
139 <number>120</number> |
|
140 </property> |
|
141 <property name="resizeMode"> |
|
142 <enum>Q3IconView::Adjust</enum> |
|
143 </property> |
|
144 <property name="itemsMovable"> |
|
145 <bool>false</bool> |
|
146 </property> |
|
147 <property name="wordWrapIconText"> |
|
148 <bool>true</bool> |
|
149 </property> |
|
150 <property name="whatsThis" stdset="0"> |
|
151 <string>Displays a list of the available templates.</string> |
|
152 </property> |
|
153 </widget> |
|
154 </item> |
|
155 <item row="0" column="0"> |
|
156 <widget class="QLabel" name="labelProject"> |
|
157 <property name="text"> |
|
158 <string>&Insert into:</string> |
|
159 </property> |
|
160 <property name="buddy" stdset="0"> |
|
161 <cstring>projectCombo</cstring> |
|
162 </property> |
|
163 <property name="wordWrap"> |
|
164 <bool>false</bool> |
|
165 </property> |
|
166 </widget> |
|
167 </item> |
|
168 <item row="0" column="1"> |
|
169 <widget class="QComboBox" name="projectCombo"/> |
|
170 </item> |
|
171 <item row="0" column="2"> |
|
172 <spacer name="Spacer2"> |
|
173 <property name="sizeHint"> |
|
174 <size> |
|
175 <width>20</width> |
|
176 <height>20</height> |
|
177 </size> |
|
178 </property> |
|
179 <property name="sizeType"> |
|
180 <enum>QSizePolicy::Expanding</enum> |
|
181 </property> |
|
182 <property name="orientation"> |
|
183 <enum>Qt::Horizontal</enum> |
|
184 </property> |
|
185 </spacer> |
|
186 </item> |
|
187 </layout> |
|
188 </widget> |
|
189 <layoutdefault spacing="6" margin="11"/> |
|
190 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
191 <tabstops> |
|
192 <tabstop>templateView</tabstop> |
|
193 <tabstop>helpButton</tabstop> |
|
194 <tabstop>buttonOk</tabstop> |
|
195 <tabstop>buttonCancel</tabstop> |
|
196 </tabstops> |
|
197 <connections> |
|
198 <connection> |
|
199 <sender>buttonOk</sender> |
|
200 <signal>clicked()</signal> |
|
201 <receiver>NewFormBase</receiver> |
|
202 <slot>accept()</slot> |
|
203 </connection> |
|
204 <connection> |
|
205 <sender>buttonCancel</sender> |
|
206 <signal>clicked()</signal> |
|
207 <receiver>NewFormBase</receiver> |
|
208 <slot>reject()</slot> |
|
209 </connection> |
|
210 <connection> |
|
211 <sender>projectCombo</sender> |
|
212 <signal>activated(QString)</signal> |
|
213 <receiver>NewFormBase</receiver> |
|
214 <slot>projectChanged(QString)</slot> |
|
215 </connection> |
|
216 <connection> |
|
217 <sender>templateView</sender> |
|
218 <signal>currentChanged(Q3IconViewItem*)</signal> |
|
219 <receiver>NewFormBase</receiver> |
|
220 <slot>itemChanged(Q3IconViewItem*)</slot> |
|
221 </connection> |
|
222 <connection> |
|
223 <sender>templateView</sender> |
|
224 <signal>doubleClicked(Q3IconViewItem*)</signal> |
|
225 <receiver>NewFormBase</receiver> |
|
226 <slot>accept()</slot> |
|
227 </connection> |
|
228 <connection> |
|
229 <sender>templateView</sender> |
|
230 <signal>returnPressed(Q3IconViewItem*)</signal> |
|
231 <receiver>NewFormBase</receiver> |
|
232 <slot>accept()</slot> |
|
233 </connection> |
|
234 </connections> |
|
235 </ui> |