|
1 <ui version="4.0" > |
|
2 <comment>********************************************************************* |
|
3 ** |
|
4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
5 ** All rights reserved. |
|
6 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
7 ** |
|
8 ** This file is part of the autotests of the Qt Toolkit. |
|
9 ** |
|
10 ** $QT_BEGIN_LICENSE:LGPL$ |
|
11 ** No Commercial Usage |
|
12 ** This file contains pre-release code and may not be distributed. |
|
13 ** You may use this file in accordance with the terms and conditions |
|
14 ** contained in the Technology Preview License Agreement accompanying |
|
15 ** this package. |
|
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 additional |
|
26 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
28 ** |
|
29 ** If you have questions regarding the use of this file, please contact |
|
30 ** Nokia at qt-info@nokia.com. |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** $QT_END_LICENSE$ |
|
40 ** |
|
41 *********************************************************************</comment> |
|
42 <class>qdesigner_internal::PaletteEditor</class> |
|
43 <widget class="QDialog" name="qdesigner_internal::PaletteEditor" > |
|
44 <property name="geometry" > |
|
45 <rect> |
|
46 <x>0</x> |
|
47 <y>0</y> |
|
48 <width>365</width> |
|
49 <height>409</height> |
|
50 </rect> |
|
51 </property> |
|
52 <property name="sizePolicy" > |
|
53 <sizepolicy> |
|
54 <hsizetype>7</hsizetype> |
|
55 <vsizetype>7</vsizetype> |
|
56 <horstretch>0</horstretch> |
|
57 <verstretch>0</verstretch> |
|
58 </sizepolicy> |
|
59 </property> |
|
60 <property name="windowTitle" > |
|
61 <string>Edit Palette</string> |
|
62 </property> |
|
63 <layout class="QVBoxLayout" > |
|
64 <property name="margin" > |
|
65 <number>9</number> |
|
66 </property> |
|
67 <property name="spacing" > |
|
68 <number>6</number> |
|
69 </property> |
|
70 <item> |
|
71 <widget class="QGroupBox" name="advancedBox" > |
|
72 <property name="minimumSize" > |
|
73 <size> |
|
74 <width>0</width> |
|
75 <height>0</height> |
|
76 </size> |
|
77 </property> |
|
78 <property name="maximumSize" > |
|
79 <size> |
|
80 <width>16777215</width> |
|
81 <height>16777215</height> |
|
82 </size> |
|
83 </property> |
|
84 <property name="title" > |
|
85 <string>Tune Palette</string> |
|
86 </property> |
|
87 <layout class="QGridLayout" > |
|
88 <property name="margin" > |
|
89 <number>9</number> |
|
90 </property> |
|
91 <property name="spacing" > |
|
92 <number>6</number> |
|
93 </property> |
|
94 <item row="0" column="1" > |
|
95 <widget class="QtColorButton" name="buildButton" > |
|
96 <property name="sizePolicy" > |
|
97 <sizepolicy> |
|
98 <hsizetype>7</hsizetype> |
|
99 <vsizetype>13</vsizetype> |
|
100 <horstretch>0</horstretch> |
|
101 <verstretch>0</verstretch> |
|
102 </sizepolicy> |
|
103 </property> |
|
104 <property name="text" > |
|
105 <string/> |
|
106 </property> |
|
107 </widget> |
|
108 </item> |
|
109 <item row="1" column="0" colspan="4" > |
|
110 <widget class="QTreeView" name="paletteView" > |
|
111 <property name="minimumSize" > |
|
112 <size> |
|
113 <width>0</width> |
|
114 <height>200</height> |
|
115 </size> |
|
116 </property> |
|
117 </widget> |
|
118 </item> |
|
119 <item row="0" column="3" > |
|
120 <widget class="QRadioButton" name="detailsRadio" > |
|
121 <property name="text" > |
|
122 <string>Show Details</string> |
|
123 </property> |
|
124 </widget> |
|
125 </item> |
|
126 <item row="0" column="2" > |
|
127 <widget class="QRadioButton" name="computeRadio" > |
|
128 <property name="text" > |
|
129 <string>Compute Details</string> |
|
130 </property> |
|
131 <property name="checked" > |
|
132 <bool>true</bool> |
|
133 </property> |
|
134 </widget> |
|
135 </item> |
|
136 <item row="0" column="0" > |
|
137 <widget class="QLabel" name="label" > |
|
138 <property name="text" > |
|
139 <string>Quick</string> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 </layout> |
|
144 </widget> |
|
145 </item> |
|
146 <item> |
|
147 <widget class="QGroupBox" name="GroupBox126" > |
|
148 <property name="sizePolicy" > |
|
149 <sizepolicy> |
|
150 <hsizetype>5</hsizetype> |
|
151 <vsizetype>7</vsizetype> |
|
152 <horstretch>0</horstretch> |
|
153 <verstretch>0</verstretch> |
|
154 </sizepolicy> |
|
155 </property> |
|
156 <property name="title" > |
|
157 <string>Preview</string> |
|
158 </property> |
|
159 <layout class="QGridLayout" > |
|
160 <property name="margin" > |
|
161 <number>8</number> |
|
162 </property> |
|
163 <property name="spacing" > |
|
164 <number>6</number> |
|
165 </property> |
|
166 <item row="0" column="2" > |
|
167 <widget class="QRadioButton" name="disabledRadio" > |
|
168 <property name="text" > |
|
169 <string>Disabled</string> |
|
170 </property> |
|
171 </widget> |
|
172 </item> |
|
173 <item row="0" column="1" > |
|
174 <widget class="QRadioButton" name="inactiveRadio" > |
|
175 <property name="text" > |
|
176 <string>Inactive</string> |
|
177 </property> |
|
178 </widget> |
|
179 </item> |
|
180 <item row="0" column="0" > |
|
181 <widget class="QRadioButton" name="activeRadio" > |
|
182 <property name="text" > |
|
183 <string>Active</string> |
|
184 </property> |
|
185 <property name="checked" > |
|
186 <bool>true</bool> |
|
187 </property> |
|
188 </widget> |
|
189 </item> |
|
190 <item row="1" column="0" colspan="3" > |
|
191 <widget class="qdesigner_internal::PreviewFrame" native="1" name="previewFrame" > |
|
192 <property name="sizePolicy" > |
|
193 <sizepolicy> |
|
194 <hsizetype>7</hsizetype> |
|
195 <vsizetype>7</vsizetype> |
|
196 <horstretch>0</horstretch> |
|
197 <verstretch>0</verstretch> |
|
198 </sizepolicy> |
|
199 </property> |
|
200 </widget> |
|
201 </item> |
|
202 </layout> |
|
203 </widget> |
|
204 </item> |
|
205 <item> |
|
206 <widget class="QDialogButtonBox" name="buttonBox" > |
|
207 <property name="orientation" > |
|
208 <enum>Qt::Horizontal</enum> |
|
209 </property> |
|
210 <property name="standardButtons" > |
|
211 <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
|
212 </property> |
|
213 </widget> |
|
214 </item> |
|
215 </layout> |
|
216 </widget> |
|
217 <customwidgets> |
|
218 <customwidget> |
|
219 <class>QtColorButton</class> |
|
220 <extends>QToolButton</extends> |
|
221 <header>qtcolorbutton.h</header> |
|
222 </customwidget> |
|
223 <customwidget> |
|
224 <class>qdesigner_internal::PreviewFrame</class> |
|
225 <extends>QWidget</extends> |
|
226 <header>previewframe.h</header> |
|
227 </customwidget> |
|
228 </customwidgets> |
|
229 <resources/> |
|
230 <connections> |
|
231 <connection> |
|
232 <sender>buttonBox</sender> |
|
233 <signal>accepted()</signal> |
|
234 <receiver>qdesigner_internal::PaletteEditor</receiver> |
|
235 <slot>accept()</slot> |
|
236 <hints> |
|
237 <hint type="sourcelabel" > |
|
238 <x>180</x> |
|
239 <y>331</y> |
|
240 </hint> |
|
241 <hint type="destinationlabel" > |
|
242 <x>134</x> |
|
243 <y>341</y> |
|
244 </hint> |
|
245 </hints> |
|
246 </connection> |
|
247 <connection> |
|
248 <sender>buttonBox</sender> |
|
249 <signal>rejected()</signal> |
|
250 <receiver>qdesigner_internal::PaletteEditor</receiver> |
|
251 <slot>reject()</slot> |
|
252 <hints> |
|
253 <hint type="sourcelabel" > |
|
254 <x>287</x> |
|
255 <y>329</y> |
|
256 </hint> |
|
257 <hint type="destinationlabel" > |
|
258 <x>302</x> |
|
259 <y>342</y> |
|
260 </hint> |
|
261 </hints> |
|
262 </connection> |
|
263 </connections> |
|
264 </ui> |