~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to tools/designer/src/components/propertyeditor/paletteeditor.ui

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-10-12 23:14:14 UTC
  • mto: (15.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20061012231414-y2oqbom5dy389os0
Tags: upstream-4.2.0
ImportĀ upstreamĀ versionĀ 4.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<ui version="4.0" >
2
 
 <author></author>
3
2
 <comment>*********************************************************************
4
3
**
5
4
** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.
22
21
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23
22
**
24
23
*********************************************************************</comment>
25
 
 <exportmacro></exportmacro>
26
 
 <class>PaletteEditor</class>
27
 
 <widget class="QDialog" name="PaletteEditor" >
 
24
 <class>qdesigner_internal::PaletteEditor</class>
 
25
 <widget class="QDialog" name="qdesigner_internal::PaletteEditor" >
28
26
  <property name="geometry" >
29
27
   <rect>
30
28
    <x>0</x>
31
29
    <y>0</y>
32
 
    <width>337</width>
33
 
    <height>433</height>
 
30
    <width>365</width>
 
31
    <height>409</height>
34
32
   </rect>
35
33
  </property>
36
34
  <property name="sizePolicy" >
46
44
  </property>
47
45
  <layout class="QVBoxLayout" >
48
46
   <property name="margin" >
49
 
    <number>8</number>
 
47
    <number>9</number>
50
48
   </property>
51
49
   <property name="spacing" >
52
50
    <number>6</number>
70
68
     </property>
71
69
     <layout class="QGridLayout" >
72
70
      <property name="margin" >
73
 
       <number>8</number>
 
71
       <number>9</number>
74
72
      </property>
75
73
      <property name="spacing" >
76
74
       <number>6</number>
77
75
      </property>
78
 
      <item row="0" column="0" >
79
 
       <widget class="QLabel" name="label" >
80
 
        <property name="text" >
81
 
         <string>Quick</string>
82
 
        </property>
83
 
       </widget>
84
 
      </item>
85
76
      <item row="0" column="1" >
86
 
       <widget class="qdesigner_internal::StyledButton" name="buildButton" >
 
77
       <widget class="qdesigner_internal::QtColorButton" name="buildButton" >
87
78
        <property name="sizePolicy" >
88
79
         <sizepolicy>
89
 
          <hsizetype>0</hsizetype>
90
 
          <vsizetype>0</vsizetype>
 
80
          <hsizetype>7</hsizetype>
 
81
          <vsizetype>13</vsizetype>
91
82
          <horstretch>0</horstretch>
92
83
          <verstretch>0</verstretch>
93
84
         </sizepolicy>
94
85
        </property>
95
 
        <property name="focusPolicy" >
96
 
         <enum>Qt::StrongFocus</enum>
97
 
        </property>
98
 
        <property name="toolTip" >
99
 
         <string>Choose a color</string>
100
 
        </property>
101
 
        <property name="whatsThis" >
102
 
         <string>Choose the effect-color for the generated palette.</string>
103
 
        </property>
104
 
       </widget>
105
 
      </item>
106
 
      <item row="0" column="2" >
107
 
       <widget class="QRadioButton" name="computeRadio" >
108
 
        <property name="text" >
109
 
         <string>Compute Details</string>
110
 
        </property>
111
 
        <property name="checked" >
112
 
         <bool>true</bool>
113
 
        </property>
114
 
       </widget>
115
 
      </item>
116
 
      <item row="0" column="3" >
117
 
       <widget class="QRadioButton" name="detailsRadio" >
118
 
        <property name="text" >
119
 
         <string>Show Details</string>
 
86
        <property name="text" >
 
87
         <string/>
120
88
        </property>
121
89
       </widget>
122
90
      </item>
130
98
        </property>
131
99
       </widget>
132
100
      </item>
 
101
      <item row="0" column="3" >
 
102
       <widget class="QRadioButton" name="detailsRadio" >
 
103
        <property name="text" >
 
104
         <string>Show Details</string>
 
105
        </property>
 
106
       </widget>
 
107
      </item>
 
108
      <item row="0" column="2" >
 
109
       <widget class="QRadioButton" name="computeRadio" >
 
110
        <property name="text" >
 
111
         <string>Compute Details</string>
 
112
        </property>
 
113
        <property name="checked" >
 
114
         <bool>true</bool>
 
115
        </property>
 
116
       </widget>
 
117
      </item>
 
118
      <item row="0" column="0" >
 
119
       <widget class="QLabel" name="label" >
 
120
        <property name="text" >
 
121
         <string>Quick</string>
 
122
        </property>
 
123
       </widget>
 
124
      </item>
133
125
     </layout>
134
126
    </widget>
135
127
   </item>
178
170
       </widget>
179
171
      </item>
180
172
      <item row="1" column="0" colspan="3" >
181
 
       <widget class="qdesigner_internal::PreviewFrame" name="previewFrame" >
 
173
       <widget class="qdesigner_internal::PreviewFrame" native="1" name="previewFrame" >
182
174
        <property name="sizePolicy" >
183
175
         <sizepolicy>
184
176
          <hsizetype>7</hsizetype>
193
185
    </widget>
194
186
   </item>
195
187
   <item>
196
 
    <layout class="QHBoxLayout" >
197
 
     <property name="margin" >
198
 
      <number>0</number>
199
 
     </property>
200
 
     <property name="spacing" >
201
 
      <number>6</number>
202
 
     </property>
203
 
     <item>
204
 
      <widget class="QPushButton" name="buttonHelp" >
205
 
       <property name="text" >
206
 
        <string>&amp;Help</string>
207
 
       </property>
208
 
       <property name="autoDefault" >
209
 
        <bool>true</bool>
210
 
       </property>
211
 
      </widget>
212
 
     </item>
213
 
     <item>
214
 
      <spacer>
215
 
       <property name="orientation" >
216
 
        <enum>Qt::Horizontal</enum>
217
 
       </property>
218
 
       <property name="sizeType" >
219
 
        <enum>QSizePolicy::Expanding</enum>
220
 
       </property>
221
 
       <property name="sizeHint" >
222
 
        <size>
223
 
         <width>20</width>
224
 
         <height>20</height>
225
 
        </size>
226
 
       </property>
227
 
      </spacer>
228
 
     </item>
229
 
     <item>
230
 
      <widget class="QPushButton" name="buttonOk" >
231
 
       <property name="whatsThis" >
232
 
        <string>Close the dialog and apply all the changes.</string>
233
 
       </property>
234
 
       <property name="text" >
235
 
        <string>OK</string>
236
 
       </property>
237
 
       <property name="autoDefault" >
238
 
        <bool>true</bool>
239
 
       </property>
240
 
       <property name="default" >
241
 
        <bool>true</bool>
242
 
       </property>
243
 
      </widget>
244
 
     </item>
245
 
     <item>
246
 
      <widget class="QPushButton" name="buttonCancel" >
247
 
       <property name="whatsThis" >
248
 
        <string>Close the dialog and discard any changes.</string>
249
 
       </property>
250
 
       <property name="text" >
251
 
        <string>Cancel</string>
252
 
       </property>
253
 
       <property name="autoDefault" >
254
 
        <bool>true</bool>
255
 
       </property>
256
 
      </widget>
257
 
     </item>
258
 
    </layout>
 
188
    <widget class="QDialogButtonBox" name="buttonBox" >
 
189
     <property name="orientation" >
 
190
      <enum>Qt::Horizontal</enum>
 
191
     </property>
 
192
     <property name="standardButtons" >
 
193
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
 
194
     </property>
 
195
    </widget>
259
196
   </item>
260
197
  </layout>
261
198
 </widget>
262
 
 <pixmapfunction></pixmapfunction>
263
199
 <customwidgets>
264
200
  <customwidget>
265
 
   <class>qdesigner_internal::StyledButton</class>
266
 
   <extends></extends>
267
 
   <header>styledbutton.h</header>
268
 
   <container>0</container>
269
 
   <pixmap></pixmap>
 
201
   <class>qdesigner_internal::QtColorButton</class>
 
202
   <extends>QToolButton</extends>
 
203
   <header>qtcolorbutton.h</header>
270
204
  </customwidget>
271
205
  <customwidget>
272
206
   <class>qdesigner_internal::PreviewFrame</class>
273
 
   <extends></extends>
 
207
   <extends>QWidget</extends>
274
208
   <header>previewframe.h</header>
275
 
   <container>0</container>
276
 
   <pixmap></pixmap>
277
209
  </customwidget>
278
210
 </customwidgets>
279
 
 <tabstops>
280
 
  <tabstop>buildButton</tabstop>
281
 
  <tabstop>buttonHelp</tabstop>
282
 
  <tabstop>buttonOk</tabstop>
283
 
  <tabstop>buttonCancel</tabstop>
284
 
 </tabstops>
285
211
 <resources/>
286
212
 <connections>
287
213
  <connection>
288
 
   <sender>buttonCancel</sender>
289
 
   <signal>clicked()</signal>
290
 
   <receiver>PaletteEditor</receiver>
 
214
   <sender>buttonBox</sender>
 
215
   <signal>accepted()</signal>
 
216
   <receiver>qdesigner_internal::PaletteEditor</receiver>
 
217
   <slot>accept()</slot>
 
218
   <hints>
 
219
    <hint type="sourcelabel" >
 
220
     <x>180</x>
 
221
     <y>331</y>
 
222
    </hint>
 
223
    <hint type="destinationlabel" >
 
224
     <x>134</x>
 
225
     <y>341</y>
 
226
    </hint>
 
227
   </hints>
 
228
  </connection>
 
229
  <connection>
 
230
   <sender>buttonBox</sender>
 
231
   <signal>rejected()</signal>
 
232
   <receiver>qdesigner_internal::PaletteEditor</receiver>
291
233
   <slot>reject()</slot>
292
234
   <hints>
293
235
    <hint type="sourcelabel" >
294
 
     <x>390</x>
295
 
     <y>430</y>
296
 
    </hint>
297
 
    <hint type="destinationlabel" >
298
 
     <x>409</x>
299
 
     <y>444</y>
300
 
    </hint>
301
 
   </hints>
302
 
  </connection>
303
 
  <connection>
304
 
   <sender>buttonOk</sender>
305
 
   <signal>clicked()</signal>
306
 
   <receiver>PaletteEditor</receiver>
307
 
   <slot>accept()</slot>
308
 
   <hints>
309
 
    <hint type="sourcelabel" >
310
 
     <x>304</x>
311
 
     <y>423</y>
312
 
    </hint>
313
 
    <hint type="destinationlabel" >
314
 
     <x>208</x>
315
 
     <y>419</y>
 
236
     <x>287</x>
 
237
     <y>329</y>
 
238
    </hint>
 
239
    <hint type="destinationlabel" >
 
240
     <x>302</x>
 
241
     <y>342</y>
316
242
    </hint>
317
243
   </hints>
318
244
  </connection>