|
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>CppMainFile</class> |
|
46 <widget class="QDialog" name="CppMainFile"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>308</width> |
|
52 <height>283</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>Configure Main-File</string> |
|
57 </property> |
|
58 <layout class="QGridLayout"> |
|
59 <property name="margin"> |
|
60 <number>11</number> |
|
61 </property> |
|
62 <property name="spacing"> |
|
63 <number>6</number> |
|
64 </property> |
|
65 <item row="0" column="0"> |
|
66 <widget class="QLabel" name="TextLabel1"> |
|
67 <property name="text"> |
|
68 <string>Filename:</string> |
|
69 </property> |
|
70 <property name="wordWrap"> |
|
71 <bool>false</bool> |
|
72 </property> |
|
73 </widget> |
|
74 </item> |
|
75 <item row="0" column="1"> |
|
76 <widget class="QLineEdit" name="editFileName"/> |
|
77 </item> |
|
78 <item row="1" column="0"> |
|
79 <widget class="QLabel" name="TextLabel2"> |
|
80 <property name="text"> |
|
81 <string>Main-Form:</string> |
|
82 </property> |
|
83 <property name="wordWrap"> |
|
84 <bool>false</bool> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 <item row="2" column="0" rowspan="1" colspan="2"> |
|
89 <widget class="Q3ListBox" name="listForms"/> |
|
90 </item> |
|
91 <item row="3" column="0" rowspan="1" colspan="2"> |
|
92 <layout class="QHBoxLayout"> |
|
93 <property name="margin"> |
|
94 <number>0</number> |
|
95 </property> |
|
96 <property name="spacing"> |
|
97 <number>6</number> |
|
98 </property> |
|
99 <item> |
|
100 <widget class="QPushButton" name="buttonHelp"> |
|
101 <property name="text"> |
|
102 <string>Help</string> |
|
103 </property> |
|
104 <property name="shortcut"> |
|
105 <number>4144</number> |
|
106 </property> |
|
107 <property name="autoDefault"> |
|
108 <bool>true</bool> |
|
109 </property> |
|
110 </widget> |
|
111 </item> |
|
112 <item> |
|
113 <spacer name="Horizontal Spacing2"> |
|
114 <property name="sizeHint"> |
|
115 <size> |
|
116 <width>20</width> |
|
117 <height>20</height> |
|
118 </size> |
|
119 </property> |
|
120 <property name="sizeType"> |
|
121 <enum>QSizePolicy::Expanding</enum> |
|
122 </property> |
|
123 <property name="orientation"> |
|
124 <enum>Qt::Horizontal</enum> |
|
125 </property> |
|
126 </spacer> |
|
127 </item> |
|
128 <item> |
|
129 <widget class="QPushButton" name="buttonOk"> |
|
130 <property name="text"> |
|
131 <string>OK</string> |
|
132 </property> |
|
133 <property name="shortcut"> |
|
134 <number>0</number> |
|
135 </property> |
|
136 <property name="autoDefault"> |
|
137 <bool>true</bool> |
|
138 </property> |
|
139 <property name="default"> |
|
140 <bool>true</bool> |
|
141 </property> |
|
142 </widget> |
|
143 </item> |
|
144 <item> |
|
145 <widget class="QPushButton" name="buttonCancel"> |
|
146 <property name="text"> |
|
147 <string>Cancel</string> |
|
148 </property> |
|
149 <property name="shortcut"> |
|
150 <number>0</number> |
|
151 </property> |
|
152 <property name="autoDefault"> |
|
153 <bool>true</bool> |
|
154 </property> |
|
155 </widget> |
|
156 </item> |
|
157 </layout> |
|
158 </item> |
|
159 </layout> |
|
160 </widget> |
|
161 <layoutdefault spacing="6" margin="11"/> |
|
162 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
163 <connections> |
|
164 <connection> |
|
165 <sender>buttonOk</sender> |
|
166 <signal>clicked()</signal> |
|
167 <receiver>CppMainFile</receiver> |
|
168 <slot>accept()</slot> |
|
169 </connection> |
|
170 <connection> |
|
171 <sender>buttonCancel</sender> |
|
172 <signal>clicked()</signal> |
|
173 <receiver>CppMainFile</receiver> |
|
174 <slot>reject()</slot> |
|
175 </connection> |
|
176 <connection> |
|
177 <sender>listForms</sender> |
|
178 <signal>selectionChanged()</signal> |
|
179 <receiver>CppMainFile</receiver> |
|
180 <slot>updateOkButton()</slot> |
|
181 </connection> |
|
182 <connection> |
|
183 <sender>listForms</sender> |
|
184 <signal>currentChanged(Q3ListBoxItem*)</signal> |
|
185 <receiver>CppMainFile</receiver> |
|
186 <slot>updateOkButton()</slot> |
|
187 </connection> |
|
188 <connection> |
|
189 <sender>editFileName</sender> |
|
190 <signal>textChanged(QString)</signal> |
|
191 <receiver>CppMainFile</receiver> |
|
192 <slot>updateOkButton()</slot> |
|
193 </connection> |
|
194 </connections> |
|
195 </ui> |