|
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>RichTextFontDialog</class> |
|
46 <widget class="QDialog" name="RichTextFontDialog"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>255</width> |
|
52 <height>158</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>Font Properties</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 <layout class="QGridLayout"> |
|
70 <property name="margin"> |
|
71 <number>0</number> |
|
72 </property> |
|
73 <property name="spacing"> |
|
74 <number>6</number> |
|
75 </property> |
|
76 <item row="0" column="1" rowspan="1" colspan="2"> |
|
77 <widget class="QComboBox" name="fontCombo"> |
|
78 <item> |
|
79 <property name="text"> |
|
80 <string>default</string> |
|
81 </property> |
|
82 </item> |
|
83 </widget> |
|
84 </item> |
|
85 <item row="0" column="0"> |
|
86 <widget class="QLabel" name="TextLabel1_2"> |
|
87 <property name="text"> |
|
88 <string>&Font:</string> |
|
89 </property> |
|
90 <property name="buddy" stdset="0"> |
|
91 <cstring>fontCombo</cstring> |
|
92 </property> |
|
93 <property name="wordWrap"> |
|
94 <bool>false</bool> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item row="1" column="0"> |
|
99 <widget class="QLabel" name="TextLabel2"> |
|
100 <property name="text"> |
|
101 <string>Rel. &Size:</string> |
|
102 </property> |
|
103 <property name="buddy" stdset="0"> |
|
104 <cstring>fontSizeCombo</cstring> |
|
105 </property> |
|
106 <property name="wordWrap"> |
|
107 <bool>false</bool> |
|
108 </property> |
|
109 </widget> |
|
110 </item> |
|
111 <item row="2" column="2"> |
|
112 <spacer name="Spacer13"> |
|
113 <property name="sizeHint"> |
|
114 <size> |
|
115 <width>20</width> |
|
116 <height>20</height> |
|
117 </size> |
|
118 </property> |
|
119 <property name="sizeType"> |
|
120 <enum>QSizePolicy::Expanding</enum> |
|
121 </property> |
|
122 <property name="orientation"> |
|
123 <enum>Qt::Horizontal</enum> |
|
124 </property> |
|
125 </spacer> |
|
126 </item> |
|
127 <item row="2" column="0"> |
|
128 <widget class="QLabel" name="TextLabel1"> |
|
129 <property name="text"> |
|
130 <string>C&olor:</string> |
|
131 </property> |
|
132 <property name="buddy" stdset="0"> |
|
133 <cstring>colorButton</cstring> |
|
134 </property> |
|
135 <property name="wordWrap"> |
|
136 <bool>false</bool> |
|
137 </property> |
|
138 </widget> |
|
139 </item> |
|
140 <item row="1" column="1" rowspan="1" colspan="2"> |
|
141 <widget class="QComboBox" name="fontSizeCombo"> |
|
142 <property name="editable"> |
|
143 <bool>true</bool> |
|
144 </property> |
|
145 <property name="insertPolicy"> |
|
146 <enum>QComboBox::InsertAtTop</enum> |
|
147 </property> |
|
148 <item> |
|
149 <property name="text"> |
|
150 <string>0</string> |
|
151 </property> |
|
152 </item> |
|
153 <item> |
|
154 <property name="text"> |
|
155 <string>-4</string> |
|
156 </property> |
|
157 </item> |
|
158 <item> |
|
159 <property name="text"> |
|
160 <string>-3</string> |
|
161 </property> |
|
162 </item> |
|
163 <item> |
|
164 <property name="text"> |
|
165 <string>-2</string> |
|
166 </property> |
|
167 </item> |
|
168 <item> |
|
169 <property name="text"> |
|
170 <string>-1</string> |
|
171 </property> |
|
172 </item> |
|
173 <item> |
|
174 <property name="text"> |
|
175 <string>+1</string> |
|
176 </property> |
|
177 </item> |
|
178 <item> |
|
179 <property name="text"> |
|
180 <string>+2</string> |
|
181 </property> |
|
182 </item> |
|
183 <item> |
|
184 <property name="text"> |
|
185 <string>+3</string> |
|
186 </property> |
|
187 </item> |
|
188 <item> |
|
189 <property name="text"> |
|
190 <string>+4</string> |
|
191 </property> |
|
192 </item> |
|
193 </widget> |
|
194 </item> |
|
195 <item row="2" column="1"> |
|
196 <widget class="QToolButton" name="colorButton"> |
|
197 <property name="sizePolicy"> |
|
198 <sizepolicy> |
|
199 <hsizetype>0</hsizetype> |
|
200 <vsizetype>0</vsizetype> |
|
201 <horstretch>0</horstretch> |
|
202 <verstretch>0</verstretch> |
|
203 </sizepolicy> |
|
204 </property> |
|
205 <property name="minimumSize"> |
|
206 <size> |
|
207 <width>40</width> |
|
208 <height>20</height> |
|
209 </size> |
|
210 </property> |
|
211 <property name="focusPolicy"> |
|
212 <enum>Qt::TabFocus</enum> |
|
213 </property> |
|
214 <property name="text"> |
|
215 <string/> |
|
216 </property> |
|
217 </widget> |
|
218 </item> |
|
219 </layout> |
|
220 </item> |
|
221 <item row="1" column="0"> |
|
222 <spacer name="Spacer14"> |
|
223 <property name="sizeHint"> |
|
224 <size> |
|
225 <width>20</width> |
|
226 <height>16</height> |
|
227 </size> |
|
228 </property> |
|
229 <property name="sizeType"> |
|
230 <enum>QSizePolicy::Expanding</enum> |
|
231 </property> |
|
232 <property name="orientation"> |
|
233 <enum>Qt::Vertical</enum> |
|
234 </property> |
|
235 </spacer> |
|
236 </item> |
|
237 <item row="2" column="0"> |
|
238 <widget class="Line" name="Line1"> |
|
239 <property name="frameShape"> |
|
240 <enum>QFrame::HLine</enum> |
|
241 </property> |
|
242 <property name="frameShadow"> |
|
243 <enum>QFrame::Sunken</enum> |
|
244 </property> |
|
245 </widget> |
|
246 </item> |
|
247 <item row="3" column="0"> |
|
248 <layout class="QHBoxLayout"> |
|
249 <property name="margin"> |
|
250 <number>0</number> |
|
251 </property> |
|
252 <property name="spacing"> |
|
253 <number>6</number> |
|
254 </property> |
|
255 <item> |
|
256 <spacer name="Spacer12"> |
|
257 <property name="sizeHint"> |
|
258 <size> |
|
259 <width>20</width> |
|
260 <height>20</height> |
|
261 </size> |
|
262 </property> |
|
263 <property name="sizeType"> |
|
264 <enum>QSizePolicy::Expanding</enum> |
|
265 </property> |
|
266 <property name="orientation"> |
|
267 <enum>Qt::Horizontal</enum> |
|
268 </property> |
|
269 </spacer> |
|
270 </item> |
|
271 <item> |
|
272 <widget class="QPushButton" name="okButton"> |
|
273 <property name="text"> |
|
274 <string>&OK</string> |
|
275 </property> |
|
276 </widget> |
|
277 </item> |
|
278 <item> |
|
279 <widget class="QPushButton" name="cancelButton"> |
|
280 <property name="text"> |
|
281 <string>&Cancel</string> |
|
282 </property> |
|
283 </widget> |
|
284 </item> |
|
285 </layout> |
|
286 </item> |
|
287 </layout> |
|
288 </widget> |
|
289 <layoutdefault spacing="6" margin="11"/> |
|
290 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
291 <tabstops> |
|
292 <tabstop>fontCombo</tabstop> |
|
293 <tabstop>fontSizeCombo</tabstop> |
|
294 <tabstop>colorButton</tabstop> |
|
295 <tabstop>okButton</tabstop> |
|
296 <tabstop>cancelButton</tabstop> |
|
297 </tabstops> |
|
298 <connections> |
|
299 <connection> |
|
300 <sender>colorButton</sender> |
|
301 <signal>clicked()</signal> |
|
302 <receiver>RichTextFontDialog</receiver> |
|
303 <slot>selectColor()</slot> |
|
304 </connection> |
|
305 <connection> |
|
306 <sender>okButton</sender> |
|
307 <signal>clicked()</signal> |
|
308 <receiver>RichTextFontDialog</receiver> |
|
309 <slot>accept()</slot> |
|
310 </connection> |
|
311 <connection> |
|
312 <sender>cancelButton</sender> |
|
313 <signal>clicked()</signal> |
|
314 <receiver>RichTextFontDialog</receiver> |
|
315 <slot>reject()</slot> |
|
316 </connection> |
|
317 </connections> |
|
318 </ui> |