not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwin / effects / maketransparent_config.ui
blobafb47a4b4fae67429df829fd991a5acd955861a5
1 <ui version="4.0" >
2  <class>KWin::MakeTransparentEffectConfigForm</class>
3  <widget class="QWidget" name="KWin::MakeTransparentEffectConfigForm" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>616</width>
9     <height>295</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Translucency</string>
14   </property>
15   <layout class="QHBoxLayout" name="horizontalLayout" >
16    <item>
17     <widget class="QGroupBox" name="m_opacityGroupBox" >
18      <property name="title" >
19       <string>General Translucency Settings</string>
20      </property>
21      <layout class="QGridLayout" name="gridLayout" >
22       <item row="1" column="0" >
23        <widget class="QLabel" name="decorations_label" >
24         <property name="sizePolicy" >
25          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
26           <horstretch>0</horstretch>
27           <verstretch>0</verstretch>
28          </sizepolicy>
29         </property>
30         <property name="text" >
31          <string>Decorations:</string>
32         </property>
33         <property name="alignment" >
34          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
35         </property>
36         <property name="buddy" >
37          <cstring>decorations</cstring>
38         </property>
39        </widget>
40       </item>
41       <item row="1" column="1" colspan="2" >
42        <widget class="QSlider" name="decorations" >
43         <property name="minimumSize" >
44          <size>
45           <width>170</width>
46           <height>0</height>
47          </size>
48         </property>
49         <property name="minimum" >
50          <number>10</number>
51         </property>
52         <property name="maximum" >
53          <number>100</number>
54         </property>
55         <property name="orientation" >
56          <enum>Qt::Horizontal</enum>
57         </property>
58         <property name="tickPosition" >
59          <enum>QSlider::TicksBelow</enum>
60         </property>
61         <property name="tickInterval" >
62          <number>10</number>
63         </property>
64        </widget>
65       </item>
66       <item row="2" column="0" >
67        <widget class="QLabel" name="inactive_label" >
68         <property name="sizePolicy" >
69          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
70           <horstretch>0</horstretch>
71           <verstretch>0</verstretch>
72          </sizepolicy>
73         </property>
74         <property name="text" >
75          <string>Inactive windows:</string>
76         </property>
77         <property name="alignment" >
78          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
79         </property>
80         <property name="buddy" >
81          <cstring>inactive</cstring>
82         </property>
83        </widget>
84       </item>
85       <item row="2" column="1" colspan="2" >
86        <widget class="QSlider" name="inactive" >
87         <property name="minimum" >
88          <number>10</number>
89         </property>
90         <property name="maximum" >
91          <number>100</number>
92         </property>
93         <property name="orientation" >
94          <enum>Qt::Horizontal</enum>
95         </property>
96         <property name="tickPosition" >
97          <enum>QSlider::TicksBelow</enum>
98         </property>
99         <property name="tickInterval" >
100          <number>10</number>
101         </property>
102        </widget>
103       </item>
104       <item row="3" column="0" >
105        <widget class="QLabel" name="moveresize_label" >
106         <property name="sizePolicy" >
107          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
108           <horstretch>0</horstretch>
109           <verstretch>0</verstretch>
110          </sizepolicy>
111         </property>
112         <property name="text" >
113          <string>Moving windows:</string>
114         </property>
115         <property name="alignment" >
116          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
117         </property>
118         <property name="buddy" >
119          <cstring>moveresize</cstring>
120         </property>
121        </widget>
122       </item>
123       <item row="3" column="1" colspan="2" >
124        <widget class="QSlider" name="moveresize" >
125         <property name="minimum" >
126          <number>10</number>
127         </property>
128         <property name="maximum" >
129          <number>100</number>
130         </property>
131         <property name="orientation" >
132          <enum>Qt::Horizontal</enum>
133         </property>
134         <property name="tickPosition" >
135          <enum>QSlider::TicksBelow</enum>
136         </property>
137         <property name="tickInterval" >
138          <number>10</number>
139         </property>
140        </widget>
141       </item>
142       <item row="4" column="0" >
143        <widget class="QLabel" name="dialogs_label" >
144         <property name="sizePolicy" >
145          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
146           <horstretch>0</horstretch>
147           <verstretch>0</verstretch>
148          </sizepolicy>
149         </property>
150         <property name="text" >
151          <string>Dialogs:</string>
152         </property>
153         <property name="alignment" >
154          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
155         </property>
156         <property name="buddy" >
157          <cstring>dialogs</cstring>
158         </property>
159        </widget>
160       </item>
161       <item row="4" column="1" colspan="2" >
162        <widget class="QSlider" name="dialogs" >
163         <property name="minimum" >
164          <number>10</number>
165         </property>
166         <property name="maximum" >
167          <number>100</number>
168         </property>
169         <property name="orientation" >
170          <enum>Qt::Horizontal</enum>
171         </property>
172         <property name="tickPosition" >
173          <enum>QSlider::TicksBelow</enum>
174         </property>
175         <property name="tickInterval" >
176          <number>10</number>
177         </property>
178        </widget>
179       </item>
180       <item row="5" column="0" >
181        <widget class="QLabel" name="comboboxpopup_label" >
182         <property name="sizePolicy" >
183          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
184           <horstretch>0</horstretch>
185           <verstretch>0</verstretch>
186          </sizepolicy>
187         </property>
188         <property name="text" >
189          <string>Combobox popups:</string>
190         </property>
191         <property name="alignment" >
192          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
193         </property>
194         <property name="buddy" >
195          <cstring>comboboxpopup</cstring>
196         </property>
197        </widget>
198       </item>
199       <item row="5" column="1" colspan="2" >
200        <widget class="QSlider" name="comboboxpopup" >
201         <property name="minimum" >
202          <number>10</number>
203         </property>
204         <property name="maximum" >
205          <number>100</number>
206         </property>
207         <property name="orientation" >
208          <enum>Qt::Horizontal</enum>
209         </property>
210         <property name="tickPosition" >
211          <enum>QSlider::TicksBelow</enum>
212         </property>
213         <property name="tickInterval" >
214          <number>10</number>
215         </property>
216        </widget>
217       </item>
218       <item row="6" column="0" >
219        <widget class="QLabel" name="menus_label" >
220         <property name="sizePolicy" >
221          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
222           <horstretch>0</horstretch>
223           <verstretch>0</verstretch>
224          </sizepolicy>
225         </property>
226         <property name="text" >
227          <string>Menus:</string>
228         </property>
229         <property name="alignment" >
230          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
231         </property>
232         <property name="buddy" >
233          <cstring>menus</cstring>
234         </property>
235        </widget>
236       </item>
237       <item row="6" column="1" colspan="2" >
238        <widget class="QSlider" name="menus" >
239         <property name="minimum" >
240          <number>10</number>
241         </property>
242         <property name="maximum" >
243          <number>100</number>
244         </property>
245         <property name="orientation" >
246          <enum>Qt::Horizontal</enum>
247         </property>
248         <property name="tickPosition" >
249          <enum>QSlider::TicksBelow</enum>
250         </property>
251         <property name="tickInterval" >
252          <number>10</number>
253         </property>
254        </widget>
255       </item>
256       <item row="7" column="0" >
257        <widget class="QLabel" name="label" >
258         <property name="text" >
259          <string>Fading duration:</string>
260         </property>
261         <property name="alignment" >
262          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
263         </property>
264         <property name="buddy" >
265          <cstring>duration</cstring>
266         </property>
267        </widget>
268       </item>
269       <item row="7" column="1" colspan="2" >
270        <widget class="QSpinBox" name="duration" >
271         <property name="minimumSize" >
272          <size>
273           <width>60</width>
274           <height>0</height>
275          </size>
276         </property>
277         <property name="specialValueText" >
278          <string comment="Duration of fading">Default</string>
279         </property>
280         <property name="suffix" >
281          <string>msec</string>
282         </property>
283         <property name="maximum" >
284          <number>5000</number>
285         </property>
286         <property name="singleStep" >
287          <number>100</number>
288         </property>
289        </widget>
290       </item>
291       <item row="8" column="0" colspan="2" >
292        <spacer name="verticalSpacer_2" >
293         <property name="orientation" >
294          <enum>Qt::Vertical</enum>
295         </property>
296         <property name="sizeHint" stdset="0" >
297          <size>
298           <width>20</width>
299           <height>0</height>
300          </size>
301         </property>
302        </spacer>
303       </item>
304       <item row="0" column="1" >
305        <widget class="QLabel" name="label_2" >
306         <property name="sizePolicy" >
307          <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
308           <horstretch>0</horstretch>
309           <verstretch>0</verstretch>
310          </sizepolicy>
311         </property>
312         <property name="text" >
313          <string>Transparent</string>
314         </property>
315        </widget>
316       </item>
317       <item row="0" column="2" >
318        <widget class="QLabel" name="label_3" >
319         <property name="sizePolicy" >
320          <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
321           <horstretch>0</horstretch>
322           <verstretch>0</verstretch>
323          </sizepolicy>
324         </property>
325         <property name="text" >
326          <string>Opaque</string>
327         </property>
328         <property name="alignment" >
329          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
330         </property>
331        </widget>
332       </item>
333      </layout>
334     </widget>
335    </item>
336    <item>
337     <widget class="QGroupBox" name="individualmenuconfig" >
338      <property name="title" >
339       <string>Set menu translucency independently</string>
340      </property>
341      <property name="checkable" >
342       <bool>true</bool>
343      </property>
344      <property name="checked" >
345       <bool>false</bool>
346      </property>
347      <layout class="QGridLayout" name="gridLayout_2" >
348       <item row="1" column="0" >
349        <widget class="QLabel" name="dropdownmenus_label" >
350         <property name="sizePolicy" >
351          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
352           <horstretch>0</horstretch>
353           <verstretch>0</verstretch>
354          </sizepolicy>
355         </property>
356         <property name="text" >
357          <string>Dropdown menus:</string>
358         </property>
359         <property name="alignment" >
360          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
361         </property>
362         <property name="buddy" >
363          <cstring>dropdownmenus</cstring>
364         </property>
365        </widget>
366       </item>
367       <item row="1" column="1" colspan="2" >
368        <widget class="QSlider" name="dropdownmenus" >
369         <property name="minimumSize" >
370          <size>
371           <width>170</width>
372           <height>0</height>
373          </size>
374         </property>
375         <property name="minimum" >
376          <number>10</number>
377         </property>
378         <property name="maximum" >
379          <number>100</number>
380         </property>
381         <property name="orientation" >
382          <enum>Qt::Horizontal</enum>
383         </property>
384         <property name="tickPosition" >
385          <enum>QSlider::TicksBelow</enum>
386         </property>
387         <property name="tickInterval" >
388          <number>10</number>
389         </property>
390        </widget>
391       </item>
392       <item row="2" column="0" >
393        <widget class="QLabel" name="popupmenus_label" >
394         <property name="sizePolicy" >
395          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
396           <horstretch>0</horstretch>
397           <verstretch>0</verstretch>
398          </sizepolicy>
399         </property>
400         <property name="text" >
401          <string>Popup menus:</string>
402         </property>
403         <property name="alignment" >
404          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
405         </property>
406         <property name="buddy" >
407          <cstring>popupmenus</cstring>
408         </property>
409        </widget>
410       </item>
411       <item row="2" column="1" colspan="2" >
412        <widget class="QSlider" name="popupmenus" >
413         <property name="minimum" >
414          <number>10</number>
415         </property>
416         <property name="maximum" >
417          <number>100</number>
418         </property>
419         <property name="orientation" >
420          <enum>Qt::Horizontal</enum>
421         </property>
422         <property name="tickPosition" >
423          <enum>QSlider::TicksBelow</enum>
424         </property>
425         <property name="tickInterval" >
426          <number>10</number>
427         </property>
428        </widget>
429       </item>
430       <item row="3" column="0" >
431        <widget class="QLabel" name="tornoffmenus_label" >
432         <property name="sizePolicy" >
433          <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
434           <horstretch>0</horstretch>
435           <verstretch>0</verstretch>
436          </sizepolicy>
437         </property>
438         <property name="text" >
439          <string>Torn-off menus:</string>
440         </property>
441         <property name="alignment" >
442          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
443         </property>
444         <property name="buddy" >
445          <cstring>tornoffmenus</cstring>
446         </property>
447        </widget>
448       </item>
449       <item row="3" column="1" colspan="2" >
450        <widget class="QSlider" name="tornoffmenus" >
451         <property name="minimum" >
452          <number>10</number>
453         </property>
454         <property name="maximum" >
455          <number>100</number>
456         </property>
457         <property name="orientation" >
458          <enum>Qt::Horizontal</enum>
459         </property>
460         <property name="tickPosition" >
461          <enum>QSlider::TicksBelow</enum>
462         </property>
463         <property name="tickInterval" >
464          <number>10</number>
465         </property>
466        </widget>
467       </item>
468       <item row="4" column="0" colspan="3" >
469        <spacer name="verticalSpacer" >
470         <property name="orientation" >
471          <enum>Qt::Vertical</enum>
472         </property>
473         <property name="sizeHint" stdset="0" >
474          <size>
475           <width>20</width>
476           <height>0</height>
477          </size>
478         </property>
479        </spacer>
480       </item>
481       <item row="0" column="1" >
482        <widget class="QLabel" name="label_6" >
483         <property name="sizePolicy" >
484          <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
485           <horstretch>0</horstretch>
486           <verstretch>0</verstretch>
487          </sizepolicy>
488         </property>
489         <property name="text" >
490          <string>Transparent</string>
491         </property>
492        </widget>
493       </item>
494       <item row="0" column="2" >
495        <widget class="QLabel" name="label_7" >
496         <property name="sizePolicy" >
497          <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
498           <horstretch>0</horstretch>
499           <verstretch>0</verstretch>
500          </sizepolicy>
501         </property>
502         <property name="text" >
503          <string>Opaque</string>
504         </property>
505         <property name="alignment" >
506          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
507         </property>
508        </widget>
509       </item>
510      </layout>
511     </widget>
512    </item>
513   </layout>
514  </widget>
515  <tabstops>
516   <tabstop>decorations</tabstop>
517   <tabstop>inactive</tabstop>
518   <tabstop>moveresize</tabstop>
519   <tabstop>dialogs</tabstop>
520   <tabstop>comboboxpopup</tabstop>
521   <tabstop>menus</tabstop>
522   <tabstop>duration</tabstop>
523   <tabstop>individualmenuconfig</tabstop>
524   <tabstop>dropdownmenus</tabstop>
525   <tabstop>popupmenus</tabstop>
526   <tabstop>tornoffmenus</tabstop>
527  </tabstops>
528  <resources/>
529  <connections>
530   <connection>
531    <sender>individualmenuconfig</sender>
532    <signal>toggled(bool)</signal>
533    <receiver>menus</receiver>
534    <slot>setDisabled(bool)</slot>
535    <hints>
536     <hint type="sourcelabel" >
537      <x>109</x>
538      <y>316</y>
539     </hint>
540     <hint type="destinationlabel" >
541      <x>212</x>
542      <y>220</y>
543     </hint>
544    </hints>
545   </connection>
546  </connections>
547 </ui>