0
|
1 |
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
2 |
<class>RichTextFontDialog</class>
|
|
3 |
<comment>*********************************************************************
|
|
4 |
**
|
|
5 |
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
6 |
** All rights reserved.
|
|
7 |
** Contact: Nokia Corporation (qt-info@nokia.com)
|
|
8 |
**
|
|
9 |
** This file is part of the autotests of the Qt Toolkit.
|
|
10 |
**
|
|
11 |
** $QT_BEGIN_LICENSE:LGPL$
|
|
12 |
** No Commercial Usage
|
|
13 |
** This file contains pre-release code and may not be distributed.
|
|
14 |
** You may use this file in accordance with the terms and conditions
|
|
15 |
** contained in the Technology Preview License Agreement accompanying
|
|
16 |
** this package.
|
|
17 |
**
|
|
18 |
** GNU Lesser General Public License Usage
|
|
19 |
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
20 |
** General Public License version 2.1 as published by the Free Software
|
|
21 |
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
22 |
** packaging of this file. Please review the following information to
|
|
23 |
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
24 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
25 |
**
|
|
26 |
** In addition, as a special exception, Nokia gives you certain additional
|
|
27 |
** rights. These rights are described in the Nokia Qt LGPL Exception
|
|
28 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
29 |
**
|
|
30 |
** If you have questions regarding the use of this file, please contact
|
|
31 |
** Nokia at qt-info@nokia.com.
|
|
32 |
**
|
|
33 |
**
|
|
34 |
**
|
|
35 |
**
|
|
36 |
**
|
|
37 |
**
|
|
38 |
**
|
|
39 |
**
|
|
40 |
** $QT_END_LICENSE$
|
|
41 |
**
|
|
42 |
*********************************************************************</comment>
|
|
43 |
<widget class="QDialog">
|
|
44 |
<property name="name">
|
|
45 |
<cstring>RichTextFontDialog</cstring>
|
|
46 |
</property>
|
|
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="caption">
|
|
56 |
<string>Font Properties</string>
|
|
57 |
</property>
|
|
58 |
<property name="sizeGripEnabled">
|
|
59 |
<bool>true</bool>
|
|
60 |
</property>
|
|
61 |
<grid>
|
|
62 |
<property name="name">
|
|
63 |
<cstring>unnamed</cstring>
|
|
64 |
</property>
|
|
65 |
<property name="margin">
|
|
66 |
<number>11</number>
|
|
67 |
</property>
|
|
68 |
<property name="spacing">
|
|
69 |
<number>6</number>
|
|
70 |
</property>
|
|
71 |
<widget class="QLayoutWidget" row="0" column="0">
|
|
72 |
<property name="name">
|
|
73 |
<cstring>Layout6</cstring>
|
|
74 |
</property>
|
|
75 |
<grid>
|
|
76 |
<property name="name">
|
|
77 |
<cstring>unnamed</cstring>
|
|
78 |
</property>
|
|
79 |
<property name="margin">
|
|
80 |
<number>0</number>
|
|
81 |
</property>
|
|
82 |
<property name="spacing">
|
|
83 |
<number>6</number>
|
|
84 |
</property>
|
|
85 |
<widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
|
|
86 |
<item>
|
|
87 |
<property name="text">
|
|
88 |
<string>default</string>
|
|
89 |
</property>
|
|
90 |
</item>
|
|
91 |
<property name="name">
|
|
92 |
<cstring>fontCombo</cstring>
|
|
93 |
</property>
|
|
94 |
</widget>
|
|
95 |
<widget class="QLabel" row="0" column="0">
|
|
96 |
<property name="name">
|
|
97 |
<cstring>TextLabel1_2</cstring>
|
|
98 |
</property>
|
|
99 |
<property name="text">
|
|
100 |
<string>&Font:</string>
|
|
101 |
</property>
|
|
102 |
<property name="buddy" stdset="0">
|
|
103 |
<cstring>fontCombo</cstring>
|
|
104 |
</property>
|
|
105 |
</widget>
|
|
106 |
<widget class="QLabel" row="1" column="0">
|
|
107 |
<property name="name">
|
|
108 |
<cstring>TextLabel2</cstring>
|
|
109 |
</property>
|
|
110 |
<property name="text">
|
|
111 |
<string>Rel. &Size:</string>
|
|
112 |
</property>
|
|
113 |
<property name="buddy" stdset="0">
|
|
114 |
<cstring>fontSizeCombo</cstring>
|
|
115 |
</property>
|
|
116 |
</widget>
|
|
117 |
<spacer row="2" column="2">
|
|
118 |
<property name="name">
|
|
119 |
<cstring>Spacer13</cstring>
|
|
120 |
</property>
|
|
121 |
<property name="orientation">
|
|
122 |
<enum>Horizontal</enum>
|
|
123 |
</property>
|
|
124 |
<property name="sizeType">
|
|
125 |
<enum>Expanding</enum>
|
|
126 |
</property>
|
|
127 |
<property name="sizeHint">
|
|
128 |
<size>
|
|
129 |
<width>20</width>
|
|
130 |
<height>20</height>
|
|
131 |
</size>
|
|
132 |
</property>
|
|
133 |
</spacer>
|
|
134 |
<widget class="QLabel" row="2" column="0">
|
|
135 |
<property name="name">
|
|
136 |
<cstring>TextLabel1</cstring>
|
|
137 |
</property>
|
|
138 |
<property name="text">
|
|
139 |
<string>C&olor:</string>
|
|
140 |
</property>
|
|
141 |
<property name="buddy" stdset="0">
|
|
142 |
<cstring>colorButton</cstring>
|
|
143 |
</property>
|
|
144 |
</widget>
|
|
145 |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
|
|
146 |
<item>
|
|
147 |
<property name="text">
|
|
148 |
<string>0</string>
|
|
149 |
</property>
|
|
150 |
</item>
|
|
151 |
<item>
|
|
152 |
<property name="text">
|
|
153 |
<string>-4</string>
|
|
154 |
</property>
|
|
155 |
</item>
|
|
156 |
<item>
|
|
157 |
<property name="text">
|
|
158 |
<string>-3</string>
|
|
159 |
</property>
|
|
160 |
</item>
|
|
161 |
<item>
|
|
162 |
<property name="text">
|
|
163 |
<string>-2</string>
|
|
164 |
</property>
|
|
165 |
</item>
|
|
166 |
<item>
|
|
167 |
<property name="text">
|
|
168 |
<string>-1</string>
|
|
169 |
</property>
|
|
170 |
</item>
|
|
171 |
<item>
|
|
172 |
<property name="text">
|
|
173 |
<string>+1</string>
|
|
174 |
</property>
|
|
175 |
</item>
|
|
176 |
<item>
|
|
177 |
<property name="text">
|
|
178 |
<string>+2</string>
|
|
179 |
</property>
|
|
180 |
</item>
|
|
181 |
<item>
|
|
182 |
<property name="text">
|
|
183 |
<string>+3</string>
|
|
184 |
</property>
|
|
185 |
</item>
|
|
186 |
<item>
|
|
187 |
<property name="text">
|
|
188 |
<string>+4</string>
|
|
189 |
</property>
|
|
190 |
</item>
|
|
191 |
<property name="name">
|
|
192 |
<cstring>fontSizeCombo</cstring>
|
|
193 |
</property>
|
|
194 |
<property name="editable">
|
|
195 |
<bool>true</bool>
|
|
196 |
</property>
|
|
197 |
<property name="insertionPolicy">
|
|
198 |
<enum>AtTop</enum>
|
|
199 |
</property>
|
|
200 |
</widget>
|
|
201 |
<widget class="QToolButton" row="2" column="1">
|
|
202 |
<property name="name">
|
|
203 |
<cstring>colorButton</cstring>
|
|
204 |
</property>
|
|
205 |
<property name="sizePolicy">
|
|
206 |
<sizepolicy>
|
|
207 |
<hsizetype>0</hsizetype>
|
|
208 |
<vsizetype>0</vsizetype>
|
|
209 |
<horstretch>0</horstretch>
|
|
210 |
<verstretch>0</verstretch>
|
|
211 |
</sizepolicy>
|
|
212 |
</property>
|
|
213 |
<property name="minimumSize">
|
|
214 |
<size>
|
|
215 |
<width>40</width>
|
|
216 |
<height>20</height>
|
|
217 |
</size>
|
|
218 |
</property>
|
|
219 |
<property name="paletteBackgroundColor">
|
|
220 |
<color>
|
|
221 |
<red>0</red>
|
|
222 |
<green>0</green>
|
|
223 |
<blue>0</blue>
|
|
224 |
</color>
|
|
225 |
</property>
|
|
226 |
<property name="focusPolicy">
|
|
227 |
<enum>TabFocus</enum>
|
|
228 |
</property>
|
|
229 |
<property name="text">
|
|
230 |
<string></string>
|
|
231 |
</property>
|
|
232 |
</widget>
|
|
233 |
</grid>
|
|
234 |
</widget>
|
|
235 |
<spacer row="1" column="0">
|
|
236 |
<property name="name">
|
|
237 |
<cstring>Spacer14</cstring>
|
|
238 |
</property>
|
|
239 |
<property name="orientation">
|
|
240 |
<enum>Vertical</enum>
|
|
241 |
</property>
|
|
242 |
<property name="sizeType">
|
|
243 |
<enum>Expanding</enum>
|
|
244 |
</property>
|
|
245 |
<property name="sizeHint">
|
|
246 |
<size>
|
|
247 |
<width>20</width>
|
|
248 |
<height>16</height>
|
|
249 |
</size>
|
|
250 |
</property>
|
|
251 |
</spacer>
|
|
252 |
<widget class="Line" row="2" column="0">
|
|
253 |
<property name="name">
|
|
254 |
<cstring>Line1</cstring>
|
|
255 |
</property>
|
|
256 |
<property name="frameShape">
|
|
257 |
<enum>HLine</enum>
|
|
258 |
</property>
|
|
259 |
<property name="frameShadow">
|
|
260 |
<enum>Sunken</enum>
|
|
261 |
</property>
|
|
262 |
<property name="orientation">
|
|
263 |
<enum>Horizontal</enum>
|
|
264 |
</property>
|
|
265 |
</widget>
|
|
266 |
<widget class="QLayoutWidget" row="3" column="0">
|
|
267 |
<property name="name">
|
|
268 |
<cstring>Layout15</cstring>
|
|
269 |
</property>
|
|
270 |
<hbox>
|
|
271 |
<property name="name">
|
|
272 |
<cstring>unnamed</cstring>
|
|
273 |
</property>
|
|
274 |
<property name="margin">
|
|
275 |
<number>0</number>
|
|
276 |
</property>
|
|
277 |
<property name="spacing">
|
|
278 |
<number>6</number>
|
|
279 |
</property>
|
|
280 |
<spacer>
|
|
281 |
<property name="name">
|
|
282 |
<cstring>Spacer12</cstring>
|
|
283 |
</property>
|
|
284 |
<property name="orientation">
|
|
285 |
<enum>Horizontal</enum>
|
|
286 |
</property>
|
|
287 |
<property name="sizeType">
|
|
288 |
<enum>Expanding</enum>
|
|
289 |
</property>
|
|
290 |
<property name="sizeHint">
|
|
291 |
<size>
|
|
292 |
<width>20</width>
|
|
293 |
<height>20</height>
|
|
294 |
</size>
|
|
295 |
</property>
|
|
296 |
</spacer>
|
|
297 |
<widget class="QPushButton">
|
|
298 |
<property name="name">
|
|
299 |
<cstring>okButton</cstring>
|
|
300 |
</property>
|
|
301 |
<property name="text">
|
|
302 |
<string>&OK</string>
|
|
303 |
</property>
|
|
304 |
</widget>
|
|
305 |
<widget class="QPushButton">
|
|
306 |
<property name="name">
|
|
307 |
<cstring>cancelButton</cstring>
|
|
308 |
</property>
|
|
309 |
<property name="text">
|
|
310 |
<string>&Cancel</string>
|
|
311 |
</property>
|
|
312 |
</widget>
|
|
313 |
</hbox>
|
|
314 |
</widget>
|
|
315 |
</grid>
|
|
316 |
</widget>
|
|
317 |
<connections>
|
|
318 |
<connection>
|
|
319 |
<sender>colorButton</sender>
|
|
320 |
<signal>clicked()</signal>
|
|
321 |
<receiver>RichTextFontDialog</receiver>
|
|
322 |
<slot>selectColor()</slot>
|
|
323 |
</connection>
|
|
324 |
<connection>
|
|
325 |
<sender>okButton</sender>
|
|
326 |
<signal>clicked()</signal>
|
|
327 |
<receiver>RichTextFontDialog</receiver>
|
|
328 |
<slot>accept()</slot>
|
|
329 |
</connection>
|
|
330 |
<connection>
|
|
331 |
<sender>cancelButton</sender>
|
|
332 |
<signal>clicked()</signal>
|
|
333 |
<receiver>RichTextFontDialog</receiver>
|
|
334 |
<slot>reject()</slot>
|
|
335 |
</connection>
|
|
336 |
</connections>
|
|
337 |
<tabstops>
|
|
338 |
<tabstop>fontCombo</tabstop>
|
|
339 |
<tabstop>fontSizeCombo</tabstop>
|
|
340 |
<tabstop>colorButton</tabstop>
|
|
341 |
<tabstop>okButton</tabstop>
|
|
342 |
<tabstop>cancelButton</tabstop>
|
|
343 |
</tabstops>
|
|
344 |
<includes>
|
|
345 |
<include location="local" impldecl="in implementation">richtextfontdialog.ui.h</include>
|
|
346 |
</includes>
|
|
347 |
<variables>
|
|
348 |
<variable>QString font</variable>
|
|
349 |
<variable>QColor color</variable>
|
|
350 |
<variable>QString size</variable>
|
|
351 |
</variables>
|
|
352 |
<slots>
|
|
353 |
<slot>init()</slot>
|
|
354 |
<slot>selectColor()</slot>
|
|
355 |
<slot>accept()</slot>
|
|
356 |
<slot>reject()</slot>
|
|
357 |
<slot returnType="QString">getSize()</slot>
|
|
358 |
<slot returnType="QString">getColor()</slot>
|
|
359 |
<slot returnType="QString">getFont()</slot>
|
|
360 |
</slots>
|
|
361 |
<layoutdefaults spacing="6" margin="11"/>
|
|
362 |
</UI>
|