source: trunk/tools/designer/designer/richtextfontdialog.ui@ 197

Last change on this file since 197 was 197, checked in by rudi, 14 years ago

Added QtDesigner

File size: 12.9 KB
Line 
1<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2<class>RichTextFontDialog</class>
3<comment>*********************************************************************
4** Copyright (C) 2002-2007 Trolltech ASA. All rights reserved.
5**
6** This file is part of Qt Designer.
7**
8** This file may be distributed and/or modified under the terms of the
9** GNU General Public License version 2 as published by the Free Software
10** Foundation and appearing in the file LICENSE.GPL included in the
11** packaging of this file.
12**
13** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
14** licenses may use this file in accordance with the Qt Commercial License
15** Agreement provided with the Software.
16**
17** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19**
20** See http://www.trolltech.com/gpl/ for GPL licensing information.
21** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
22** information about Qt Commercial License Agreements.
23**
24** Contact info@trolltech.com if any conditions of this licensing are
25** not clear to you.
26**
27*********************************************************************</comment>
28<widget class="QDialog">
29 <property name="name">
30 <cstring>RichTextFontDialog</cstring>
31 </property>
32 <property name="geometry">
33 <rect>
34 <x>0</x>
35 <y>0</y>
36 <width>255</width>
37 <height>158</height>
38 </rect>
39 </property>
40 <property name="caption">
41 <string>Font Properties</string>
42 </property>
43 <property name="sizeGripEnabled">
44 <bool>true</bool>
45 </property>
46 <grid>
47 <property name="name">
48 <cstring>unnamed</cstring>
49 </property>
50 <property name="margin">
51 <number>11</number>
52 </property>
53 <property name="spacing">
54 <number>6</number>
55 </property>
56 <widget class="QLayoutWidget" row="0" column="0">
57 <property name="name">
58 <cstring>Layout6</cstring>
59 </property>
60 <grid>
61 <property name="name">
62 <cstring>unnamed</cstring>
63 </property>
64 <property name="margin">
65 <number>0</number>
66 </property>
67 <property name="spacing">
68 <number>6</number>
69 </property>
70 <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
71 <item>
72 <property name="text">
73 <string>default</string>
74 </property>
75 </item>
76 <property name="name">
77 <cstring>fontCombo</cstring>
78 </property>
79 </widget>
80 <widget class="QLabel" row="0" column="0">
81 <property name="name">
82 <cstring>TextLabel1_2</cstring>
83 </property>
84 <property name="text">
85 <string>&amp;Font:</string>
86 </property>
87 <property name="buddy" stdset="0">
88 <cstring>fontCombo</cstring>
89 </property>
90 </widget>
91 <widget class="QLabel" row="1" column="0">
92 <property name="name">
93 <cstring>TextLabel2</cstring>
94 </property>
95 <property name="text">
96 <string>Rel. &amp;Size:</string>
97 </property>
98 <property name="buddy" stdset="0">
99 <cstring>fontSizeCombo</cstring>
100 </property>
101 </widget>
102 <spacer row="2" column="2">
103 <property name="name">
104 <cstring>Spacer13</cstring>
105 </property>
106 <property name="orientation">
107 <enum>Horizontal</enum>
108 </property>
109 <property name="sizeType">
110 <enum>Expanding</enum>
111 </property>
112 <property name="sizeHint">
113 <size>
114 <width>20</width>
115 <height>20</height>
116 </size>
117 </property>
118 </spacer>
119 <widget class="QLabel" row="2" column="0">
120 <property name="name">
121 <cstring>TextLabel1</cstring>
122 </property>
123 <property name="text">
124 <string>C&amp;olor:</string>
125 </property>
126 <property name="buddy" stdset="0">
127 <cstring>colorButton</cstring>
128 </property>
129 </widget>
130 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
131 <item>
132 <property name="text">
133 <string>0</string>
134 </property>
135 </item>
136 <item>
137 <property name="text">
138 <string>-4</string>
139 </property>
140 </item>
141 <item>
142 <property name="text">
143 <string>-3</string>
144 </property>
145 </item>
146 <item>
147 <property name="text">
148 <string>-2</string>
149 </property>
150 </item>
151 <item>
152 <property name="text">
153 <string>-1</string>
154 </property>
155 </item>
156 <item>
157 <property name="text">
158 <string>+1</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>+3</string>
169 </property>
170 </item>
171 <item>
172 <property name="text">
173 <string>+4</string>
174 </property>
175 </item>
176 <property name="name">
177 <cstring>fontSizeCombo</cstring>
178 </property>
179 <property name="editable">
180 <bool>true</bool>
181 </property>
182 <property name="insertionPolicy">
183 <enum>AtTop</enum>
184 </property>
185 </widget>
186 <widget class="QToolButton" row="2" column="1">
187 <property name="name">
188 <cstring>colorButton</cstring>
189 </property>
190 <property name="sizePolicy">
191 <sizepolicy>
192 <hsizetype>0</hsizetype>
193 <vsizetype>0</vsizetype>
194 <horstretch>0</horstretch>
195 <verstretch>0</verstretch>
196 </sizepolicy>
197 </property>
198 <property name="minimumSize">
199 <size>
200 <width>40</width>
201 <height>20</height>
202 </size>
203 </property>
204 <property name="paletteBackgroundColor">
205 <color>
206 <red>0</red>
207 <green>0</green>
208 <blue>0</blue>
209 </color>
210 </property>
211 <property name="focusPolicy">
212 <enum>TabFocus</enum>
213 </property>
214 <property name="text">
215 <string></string>
216 </property>
217 </widget>
218 </grid>
219 </widget>
220 <spacer row="1" column="0">
221 <property name="name">
222 <cstring>Spacer14</cstring>
223 </property>
224 <property name="orientation">
225 <enum>Vertical</enum>
226 </property>
227 <property name="sizeType">
228 <enum>Expanding</enum>
229 </property>
230 <property name="sizeHint">
231 <size>
232 <width>20</width>
233 <height>16</height>
234 </size>
235 </property>
236 </spacer>
237 <widget class="Line" row="2" column="0">
238 <property name="name">
239 <cstring>Line1</cstring>
240 </property>
241 <property name="frameShape">
242 <enum>HLine</enum>
243 </property>
244 <property name="frameShadow">
245 <enum>Sunken</enum>
246 </property>
247 <property name="orientation">
248 <enum>Horizontal</enum>
249 </property>
250 </widget>
251 <widget class="QLayoutWidget" row="3" column="0">
252 <property name="name">
253 <cstring>Layout15</cstring>
254 </property>
255 <hbox>
256 <property name="name">
257 <cstring>unnamed</cstring>
258 </property>
259 <property name="margin">
260 <number>0</number>
261 </property>
262 <property name="spacing">
263 <number>6</number>
264 </property>
265 <spacer>
266 <property name="name">
267 <cstring>Spacer12</cstring>
268 </property>
269 <property name="orientation">
270 <enum>Horizontal</enum>
271 </property>
272 <property name="sizeType">
273 <enum>Expanding</enum>
274 </property>
275 <property name="sizeHint">
276 <size>
277 <width>20</width>
278 <height>20</height>
279 </size>
280 </property>
281 </spacer>
282 <widget class="QPushButton">
283 <property name="name">
284 <cstring>okButton</cstring>
285 </property>
286 <property name="text">
287 <string>&amp;OK</string>
288 </property>
289 </widget>
290 <widget class="QPushButton">
291 <property name="name">
292 <cstring>cancelButton</cstring>
293 </property>
294 <property name="text">
295 <string>&amp;Cancel</string>
296 </property>
297 </widget>
298 </hbox>
299 </widget>
300 </grid>
301</widget>
302<connections>
303 <connection>
304 <sender>colorButton</sender>
305 <signal>clicked()</signal>
306 <receiver>RichTextFontDialog</receiver>
307 <slot>selectColor()</slot>
308 </connection>
309 <connection>
310 <sender>okButton</sender>
311 <signal>clicked()</signal>
312 <receiver>RichTextFontDialog</receiver>
313 <slot>accept()</slot>
314 </connection>
315 <connection>
316 <sender>cancelButton</sender>
317 <signal>clicked()</signal>
318 <receiver>RichTextFontDialog</receiver>
319 <slot>reject()</slot>
320 </connection>
321</connections>
322<tabstops>
323 <tabstop>fontCombo</tabstop>
324 <tabstop>fontSizeCombo</tabstop>
325 <tabstop>colorButton</tabstop>
326 <tabstop>okButton</tabstop>
327 <tabstop>cancelButton</tabstop>
328</tabstops>
329<includes>
330 <include location="local" impldecl="in implementation">richtextfontdialog.ui.h</include>
331</includes>
332<variables>
333 <variable>QString font</variable>
334 <variable>QColor color</variable>
335 <variable>QString size</variable>
336</variables>
337<slots>
338 <slot>init()</slot>
339 <slot>selectColor()</slot>
340 <slot>accept()</slot>
341 <slot>reject()</slot>
342 <slot returnType="QString">getSize()</slot>
343 <slot returnType="QString">getColor()</slot>
344 <slot returnType="QString">getFont()</slot>
345</slots>
346<layoutdefaults spacing="6" margin="11"/>
347</UI>
Note: See TracBrowser for help on using the repository browser.