source: trunk/tools/qtconfig/paletteeditoradvancedbase.ui@ 123

Last change on this file since 123 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 24.2 KB
Line 
1<ui version="4.0" stdsetdef="1" >
2 <author></author>
3 <comment>*********************************************************************
4**
5** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
6** Contact: Qt Software Information ([email protected])
7**
8** This file is part of the tools applications of the Qt Toolkit.
9**
10** $QT_BEGIN_LICENSE:LGPL$
11** Commercial Usage
12** Licensees holding valid Qt Commercial licenses may use this file in
13** accordance with the Qt Commercial License Agreement provided with the
14** Software or, alternatively, in accordance with the terms contained in
15** a written agreement between you and Nokia.
16**
17** GNU Lesser General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU Lesser
19** General Public License version 2.1 as published by the Free Software
20** Foundation and appearing in the file LICENSE.LGPL included in the
21** packaging of this file. Please review the following information to
22** ensure the GNU Lesser General Public License version 2.1 requirements
23** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24**
25** In addition, as a special exception, Nokia gives you certain
26** additional rights. These rights are described in the Nokia Qt LGPL
27** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
28** package.
29**
30** GNU General Public License Usage
31** Alternatively, this file may be used under the terms of the GNU
32** General Public License version 3.0 as published by the Free Software
33** Foundation and appearing in the file LICENSE.GPL included in the
34** packaging of this file. Please review the following information to
35** ensure the GNU General Public License version 3.0 requirements will be
36** met: http://www.gnu.org/copyleft/gpl.html.
37**
38** If you are unsure which license is appropriate for your use, please
39** contact the sales department at [email protected].
40** $QT_END_LICENSE$
41**
42*********************************************************************</comment>
43 <exportmacro></exportmacro>
44 <class>PaletteEditorAdvancedBase</class>
45 <widget class="QDialog" name="PaletteEditorAdvancedBase" >
46 <property name="objectName" >
47 <string notr="true" >PaletteEditorAdvancedBase</string>
48 </property>
49 <property name="enabled" >
50 <bool>true</bool>
51 </property>
52 <property name="geometry" >
53 <rect>
54 <x>0</x>
55 <y>0</y>
56 <width>295</width>
57 <height>346</height>
58 </rect>
59 </property>
60 <property name="windowTitle" >
61 <string>Tune Palette</string>
62 </property>
63 <property name="sizeGripEnabled" >
64 <bool>true</bool>
65 </property>
66 <property name="whatsThis" stdset="0" >
67 <string>&lt;b>Edit Palette&lt;/b>&lt;p>Change the palette of the current widget or form.&lt;/p>&lt;p>Use a generated palette or select colors for each color group and each color role.&lt;/p>&lt;p>The palette can be tested with different widget layouts in the preview section.&lt;/p></string>
68 </property>
69 <layout class="QVBoxLayout" >
70 <property name="objectName" >
71 <string notr="true" >unnamed</string>
72 </property>
73 <property name="margin" >
74 <number>11</number>
75 </property>
76 <property name="spacing" >
77 <number>6</number>
78 </property>
79 <item>
80 <layout class="QHBoxLayout" >
81 <property name="objectName" >
82 <string notr="true" >unnamed</string>
83 </property>
84 <property name="margin" >
85 <number>0</number>
86 </property>
87 <property name="spacing" >
88 <number>6</number>
89 </property>
90 <item>
91 <widget class="QLabel" name="TextLabel1" >
92 <property name="objectName" >
93 <string notr="true" >TextLabel1</string>
94 </property>
95 <property name="text" >
96 <string>Select &amp;Palette:</string>
97 </property>
98 <property name="buddy" stdset="0" >
99 <cstring>paletteCombo</cstring>
100 </property>
101 </widget>
102 </item>
103 <item>
104 <widget class="QComboBox" name="paletteCombo" >
105 <property name="objectName" >
106 <string notr="true" >paletteCombo</string>
107 </property>
108 <item>
109 <property name="text" >
110 <string>Active Palette</string>
111 </property>
112 </item>
113 <item>
114 <property name="text" >
115 <string>Inactive Palette</string>
116 </property>
117 </item>
118 <item>
119 <property name="text" >
120 <string>Disabled Palette</string>
121 </property>
122 </item>
123 </widget>
124 </item>
125 </layout>
126 </item>
127 <item>
128 <widget class="Q3ButtonGroup" name="ButtonGroup1" >
129 <property name="objectName" >
130 <string notr="true" >ButtonGroup1</string>
131 </property>
132 <property name="sizePolicy" >
133 <sizepolicy>
134 <hsizetype>5</hsizetype>
135 <vsizetype>4</vsizetype>
136 <horstretch>0</horstretch>
137 <verstretch>0</verstretch>
138 </sizepolicy>
139 </property>
140 <property name="title" >
141 <string>Auto</string>
142 </property>
143 <layout class="QVBoxLayout" >
144 <property name="objectName" >
145 <string notr="true" >unnamed</string>
146 </property>
147 <property name="margin" >
148 <number>11</number>
149 </property>
150 <property name="spacing" >
151 <number>6</number>
152 </property>
153 <item>
154 <widget class="QCheckBox" name="checkBuildInactive" >
155 <property name="objectName" >
156 <string notr="true" >checkBuildInactive</string>
157 </property>
158 <property name="text" >
159 <string>Build inactive palette from active</string>
160 </property>
161 <property name="checked" >
162 <bool>true</bool>
163 </property>
164 </widget>
165 </item>
166 <item>
167 <widget class="QCheckBox" name="checkBuildDisabled" >
168 <property name="objectName" >
169 <string notr="true" >checkBuildDisabled</string>
170 </property>
171 <property name="text" >
172 <string>Build disabled palette from active</string>
173 </property>
174 <property name="checked" >
175 <bool>true</bool>
176 </property>
177 </widget>
178 </item>
179 </layout>
180 </widget>
181 </item>
182 <item>
183 <widget class="Q3GroupBox" name="groupCentral" >
184 <property name="objectName" >
185 <string notr="true" >groupCentral</string>
186 </property>
187 <property name="title" >
188 <string>Central color &amp;roles</string>
189 </property>
190 <layout class="QVBoxLayout" >
191 <property name="objectName" >
192 <string notr="true" >unnamed</string>
193 </property>
194 <property name="margin" >
195 <number>11</number>
196 </property>
197 <property name="spacing" >
198 <number>6</number>
199 </property>
200 <item>
201 <widget class="QComboBox" name="comboCentral" >
202 <property name="objectName" >
203 <string notr="true" >comboCentral</string>
204 </property>
205 <property name="toolTip" stdset="0" >
206 <string>Choose central color role</string>
207 </property>
208 <property name="whatsThis" stdset="0" >
209 <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available central roles are: &lt;ul> &lt;li>Window - general background color.&lt;/li> &lt;li>WindowText - general foreground color. &lt;/li> &lt;li>Base - used as background color for e.g. text entry widgets, usually white or another light color. &lt;/li> &lt;li>Text - the foreground color used with Base. Usually this is the same as WindowText, in what case it must provide good contrast both with Window and Base. &lt;/li> &lt;li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. &lt;/li> &lt;li>ButtonText - a foreground color used with the Button color. &lt;/li> &lt;li>Highlight - a color to indicate a selected or highlighted item. &lt;/li> &lt;li>HighlightedText - a text color that contrasts to Highlight. &lt;/li> &lt;li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. &lt;/li> &lt;/ul> &lt;/p></string>
210 </property>
211 <item>
212 <property name="text" >
213 <string>Window</string>
214 </property>
215 </item>
216 <item>
217 <property name="text" >
218 <string>WindowText</string>
219 </property>
220 </item>
221 <item>
222 <property name="text" >
223 <string>Button</string>
224 </property>
225 </item>
226 <item>
227 <property name="text" >
228 <string>Base</string>
229 </property>
230 </item>
231 <item>
232 <property name="text" >
233 <string>Text</string>
234 </property>
235 </item>
236 <item>
237 <property name="text" >
238 <string>BrightText</string>
239 </property>
240 </item>
241 <item>
242 <property name="text" >
243 <string>ButtonText</string>
244 </property>
245 </item>
246 <item>
247 <property name="text" >
248 <string>Highlight</string>
249 </property>
250 </item>
251 <item>
252 <property name="text" >
253 <string>HighlightedText</string>
254 </property>
255 </item>
256 </widget>
257 </item>
258 <item>
259 <layout class="QHBoxLayout" >
260 <property name="objectName" >
261 <string notr="true" >unnamed</string>
262 </property>
263 <property name="margin" >
264 <number>0</number>
265 </property>
266 <property name="spacing" >
267 <number>6</number>
268 </property>
269 <item>
270 <spacer name="Horizontal_Spacing1" >
271 <property name="sizeHint" >
272 <size>
273 <width>20</width>
274 <height>20</height>
275 </size>
276 </property>
277 <property name="sizeType" >
278 <enum>Expanding</enum>
279 </property>
280 <property name="orientation" >
281 <enum>Horizontal</enum>
282 </property>
283 </spacer>
284 </item>
285 <item>