add more spacing
[personal-kdebase.git] / workspace / kwin / effects / cube_config.ui
blob36bacd0d289776cc88c61fbba32e4512ce2ae64b
1 <ui version="4.0" >
2  <class>KWin::CubeEffectConfigForm</class>
3  <widget class="QWidget" name="KWin::CubeEffectConfigForm" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>610</width>
9     <height>566</height>
10    </rect>
11   </property>
12   <layout class="QVBoxLayout" >
13    <item>
14     <widget class="QTabWidget" name="tabWidget" >
15      <property name="currentIndex" >
16       <number>0</number>
17      </property>
18      <widget class="QWidget" name="tab" >
19       <attribute name="title" >
20        <string>Tab 1</string>
21       </attribute>
22       <layout class="QGridLayout" name="gridLayout_5" >
23        <item row="1" column="1" >
24         <widget class="QGroupBox" name="groupBox_5" >
25          <property name="title" >
26           <string>Background</string>
27          </property>
28          <layout class="QGridLayout" name="gridLayout" >
29           <item row="0" column="0" >
30            <widget class="QLabel" name="label_6" >
31             <property name="text" >
32              <string>Background color:</string>
33             </property>
34             <property name="alignment" >
35              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
36             </property>
37             <property name="buddy" >
38              <cstring>backgroundColorButton</cstring>
39             </property>
40            </widget>
41           </item>
42           <item row="0" column="1" >
43            <widget class="KColorButton" name="backgroundColorButton" >
44             <property name="sizePolicy" >
45              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
46               <horstretch>0</horstretch>
47               <verstretch>0</verstretch>
48              </sizepolicy>
49             </property>
50            </widget>
51           </item>
52           <item row="1" column="0" >
53            <widget class="QLabel" name="label_3" >
54             <property name="text" >
55              <string>Wallpaper:</string>
56             </property>
57             <property name="alignment" >
58              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
59             </property>
60             <property name="buddy" >
61              <cstring>wallpaperRequester</cstring>
62             </property>
63            </widget>
64           </item>
65           <item row="1" column="1" >
66            <widget class="KUrlRequester" name="wallpaperRequester" >
67             <property name="sizePolicy" >
68              <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
69               <horstretch>0</horstretch>
70               <verstretch>0</verstretch>
71              </sizepolicy>
72             </property>
73            </widget>
74           </item>
75          </layout>
76         </widget>
77        </item>
78        <item row="3" column="0" colspan="2" >
79         <widget class="QGroupBox" name="groupBox_8" >
80          <property name="title" >
81           <string>Activation</string>
82          </property>
83          <layout class="QGridLayout" name="gridLayout_3" >
84           <item row="0" column="0" colspan="2" >
85            <widget class="KWin::GlobalShortcutsEditor" native="1" name="editor" >
86             <property name="minimumSize" >
87              <size>
88               <width>0</width>
89               <height>200</height>
90              </size>
91             </property>
92            </widget>
93           </item>
94          </layout>
95         </widget>
96        </item>
97        <item rowspan="2" row="0" column="0" >
98         <widget class="QGroupBox" name="groupBox_7" >
99          <property name="title" >
100           <string>Appearance</string>
101          </property>
102          <layout class="QGridLayout" name="gridLayout_2" >
103           <item row="0" column="0" colspan="2" >
104            <widget class="QCheckBox" name="displayDesktopNameBox" >
105             <property name="text" >
106              <string>Display desktop name</string>
107             </property>
108            </widget>
109           </item>
110           <item row="1" column="0" colspan="2" >
111            <widget class="QCheckBox" name="reflectionBox" >
112             <property name="text" >
113              <string>Reflection</string>
114             </property>
115            </widget>
116           </item>
117           <item row="2" column="0" >
118            <widget class="QLabel" name="label" >
119             <property name="text" >
120              <string>Rotation duration:</string>
121             </property>
122             <property name="alignment" >
123              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
124             </property>
125             <property name="buddy" >
126              <cstring>rotationDurationSpin</cstring>
127             </property>
128            </widget>
129           </item>
130           <item row="2" column="1" >
131            <widget class="QSpinBox" name="rotationDurationSpin" >
132             <property name="sizePolicy" >
133              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
134               <horstretch>0</horstretch>
135               <verstretch>0</verstretch>
136              </sizepolicy>
137             </property>
138             <property name="minimumSize" >
139              <size>
140               <width>100</width>
141               <height>0</height>
142              </size>
143             </property>
144             <property name="specialValueText" >
145              <string comment="Duration of rotation">Default</string>
146             </property>
147             <property name="suffix" >
148              <string> msec</string>
149             </property>
150             <property name="maximum" >
151              <number>5000</number>
152             </property>
153             <property name="singleStep" >
154              <number>10</number>
155             </property>
156            </widget>
157           </item>
158           <item row="3" column="0" colspan="2" >
159            <spacer name="verticalSpacer_2" >
160             <property name="orientation" >
161              <enum>Qt::Vertical</enum>
162             </property>
163             <property name="sizeHint" stdset="0" >
164              <size>
165               <width>20</width>
166               <height>0</height>
167              </size>
168             </property>
169            </spacer>
170           </item>
171          </layout>
172         </widget>
173        </item>
174        <item row="0" column="1" >
175         <widget class="QGroupBox" name="groupBox_4" >
176          <property name="title" >
177           <string>Opacity</string>
178          </property>
179          <layout class="QGridLayout" name="gridLayout_6" >
180           <item row="1" column="0" colspan="2" >
181            <widget class="QSlider" name="cubeOpacitySlider" >
182             <property name="minimumSize" >
183              <size>
184               <width>200</width>
185               <height>0</height>
186              </size>
187             </property>
188             <property name="maximum" >
189              <number>100</number>
190             </property>
191             <property name="singleStep" >
192              <number>1</number>
193             </property>
194             <property name="value" >
195              <number>100</number>
196             </property>
197             <property name="orientation" >
198              <enum>Qt::Horizontal</enum>
199             </property>
200             <property name="tickPosition" >
201              <enum>QSlider::TicksBelow</enum>
202             </property>
203             <property name="tickInterval" >
204              <number>10</number>
205             </property>
206            </widget>
207           </item>
208           <item row="1" column="2" >
209            <widget class="QSpinBox" name="cubeOpacitySpin" >
210             <property name="minimumSize" >
211              <size>
212               <width>75</width>
213               <height>0</height>
214              </size>
215             </property>
216             <property name="suffix" >
217              <string> %</string>
218             </property>
219             <property name="maximum" >
220              <number>100</number>
221             </property>
222             <property name="value" >
223              <number>100</number>
224             </property>
225            </widget>
226           </item>
227           <item row="2" column="0" >
228            <widget class="QLabel" name="label_4" >
229             <property name="text" >
230              <string>Transparent</string>
231             </property>
232            </widget>
233           </item>
234           <item row="2" column="1" >
235            <widget class="QLabel" name="label_5" >
236             <property name="text" >
237              <string>Opaque</string>
238             </property>
239             <property name="alignment" >
240              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
241             </property>
242            </widget>
243           </item>
244          </layout>
245         </widget>
246        </item>
247        <item row="4" column="0" colspan="2" >
248         <spacer name="verticalSpacer_3" >
249          <property name="orientation" >
250           <enum>Qt::Vertical</enum>
251          </property>
252          <property name="sizeHint" stdset="0" >
253           <size>
254            <width>20</width>
255            <height>40</height>
256           </size>
257          </property>
258         </spacer>
259        </item>
260       </layout>
261      </widget>
262      <widget class="QWidget" name="tab_2" >
263       <attribute name="title" >
264        <string>Tab 2</string>
265       </attribute>
266       <layout class="QGridLayout" name="gridLayout_7" >
267        <item row="0" column="0" >
268         <widget class="QGroupBox" name="groupBox_3" >
269          <property name="title" >
270           <string>Caps</string>
271          </property>
272          <layout class="QGridLayout" name="gridLayout_4" >
273           <item row="0" column="0" colspan="2" >
274            <widget class="QCheckBox" name="cubeCapsBox" >
275             <property name="text" >
276              <string>Show caps</string>
277             </property>
278            </widget>
279           </item>
280           <item row="1" column="0" >
281            <widget class="QLabel" name="capColorLabel" >
282             <property name="text" >
283              <string>Cap color:</string>
284             </property>
285             <property name="alignment" >
286              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
287             </property>
288             <property name="buddy" >
289              <cstring>capColorButton</cstring>
290             </property>
291            </widget>
292           </item>
293           <item row="1" column="1" >
294            <widget class="KColorButton" name="capColorButton" >
295             <property name="sizePolicy" >
296              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
297               <horstretch>0</horstretch>
298               <verstretch>0</verstretch>
299              </sizepolicy>
300             </property>
301            </widget>
302           </item>
303           <item row="2" column="0" colspan="2" >
304            <widget class="QCheckBox" name="capsImageBox" >
305             <property name="text" >
306              <string>Display image on caps</string>
307             </property>
308            </widget>
309           </item>
310          </layout>
311         </widget>
312        </item>
313        <item row="1" column="0" colspan="2" >
314         <widget class="QGroupBox" name="groupBox_2" >
315          <property name="title" >
316           <string>Zoom</string>
317          </property>
318          <layout class="QGridLayout" name="gridLayout_8" >
319           <item row="1" column="0" >
320            <widget class="QLabel" name="label_8" >
321             <property name="text" >
322              <string>Near</string>
323             </property>
324            </widget>
325           </item>
326           <item row="1" column="1" >
327            <widget class="QLabel" name="label_9" >
328             <property name="text" >
329              <string>Far</string>
330             </property>
331             <property name="alignment" >
332              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
333             </property>
334            </widget>
335           </item>
336           <item row="0" column="0" colspan="2" >
337            <widget class="QSlider" name="zPositionSlider" >
338             <property name="toolTip" >
339              <string>Define how far away the object should appear</string>
340             </property>
341             <property name="maximum" >
342              <number>3000</number>
343             </property>
344             <property name="singleStep" >
345              <number>10</number>
346             </property>
347             <property name="pageStep" >
348              <number>100</number>
349             </property>
350             <property name="orientation" >
351              <enum>Qt::Horizontal</enum>
352             </property>
353             <property name="tickPosition" >
354              <enum>QSlider::TicksBelow</enum>
355             </property>
356             <property name="tickInterval" >
357              <number>100</number>
358             </property>
359            </widget>
360           </item>
361          </layout>
362         </widget>
363        </item>
364        <item row="3" column="0" colspan="2" >
365         <spacer name="verticalSpacer" >
366          <property name="orientation" >
367           <enum>Qt::Vertical</enum>
368          </property>
369          <property name="sizeHint" stdset="0" >
370           <size>
371            <width>20</width>
372            <height>0</height>
373           </size>
374          </property>
375         </spacer>
376        </item>
377        <item row="0" column="1" >
378         <widget class="QGroupBox" name="groupBox_9" >
379          <property name="title" >
380           <string>Additional Options</string>
381          </property>
382          <layout class="QVBoxLayout" name="verticalLayout" >
383           <item>
384            <widget class="QCheckBox" name="animateDesktopChangeBox" >
385             <property name="toolTip" >
386              <string/>
387             </property>
388             <property name="text" >
389              <string>Display the cube when switching desktops</string>
390             </property>
391            </widget>
392           </item>
393           <item>
394            <widget class="QCheckBox" name="bigCubeBox" >
395             <property name="toolTip" >
396              <string>If enabled span the cube across all screens on a multiscreen setup, otherwise
397 the cube will only be displayed on a single screen</string>
398             </property>
399             <property name="text" >
400              <string>Span cube on all screens in multi screen setup</string>
401             </property>
402            </widget>
403           </item>
404           <item>
405            <widget class="QCheckBox" name="closeOnMouseReleaseBox" >
406             <property name="toolTip" >
407              <string>If enabled the effect will be deactivated after rotating the cube with the mouse,
408 otherwise it will remain active</string>
409             </property>
410             <property name="text" >
411              <string>Close after mouse dragging</string>
412             </property>
413            </widget>
414           </item>
415           <item>
416            <widget class="QCheckBox" name="walkThroughDesktopBox" >
417             <property name="text" >
418              <string>Use this effect for walking through the desktops</string>
419             </property>
420            </widget>
421           </item>
422          </layout>
423         </widget>
424        </item>
425       </layout>
426      </widget>
427     </widget>
428    </item>
429   </layout>
430  </widget>
431  <customwidgets>
432   <customwidget>
433    <class>KColorButton</class>
434    <extends>QPushButton</extends>
435    <header>kcolorbutton.h</header>
436   </customwidget>
437   <customwidget>
438    <class>KUrlRequester</class>
439    <extends>QFrame</extends>
440    <header>kurlrequester.h</header>
441    <container>1</container>
442   </customwidget>
443   <customwidget>
444    <class>KWin::GlobalShortcutsEditor</class>
445    <extends>QWidget</extends>
446    <header location="global" >kwineffects.h</header>
447    <container>1</container>
448   </customwidget>
449  </customwidgets>
450  <tabstops>
451   <tabstop>tabWidget</tabstop>
452   <tabstop>displayDesktopNameBox</tabstop>
453   <tabstop>reflectionBox</tabstop>
454   <tabstop>rotationDurationSpin</tabstop>
455   <tabstop>cubeOpacitySlider</tabstop>
456   <tabstop>cubeOpacitySpin</tabstop>
457   <tabstop>backgroundColorButton</tabstop>
458   <tabstop>wallpaperRequester</tabstop>
459   <tabstop>cubeCapsBox</tabstop>
460   <tabstop>capColorButton</tabstop>
461   <tabstop>capsImageBox</tabstop>
462   <tabstop>animateDesktopChangeBox</tabstop>
463   <tabstop>bigCubeBox</tabstop>
464   <tabstop>closeOnMouseReleaseBox</tabstop>
465   <tabstop>walkThroughDesktopBox</tabstop>
466   <tabstop>zPositionSlider</tabstop>
467  </tabstops>
468  <resources/>
469  <connections>
470   <connection>
471    <sender>cubeOpacitySpin</sender>
472    <signal>valueChanged(int)</signal>
473    <receiver>cubeOpacitySlider</receiver>
474    <slot>setValue(int)</slot>
475    <hints>
476     <hint type="sourcelabel" >
477      <x>386</x>
478      <y>175</y>
479     </hint>
480     <hint type="destinationlabel" >
481      <x>235</x>
482      <y>162</y>
483     </hint>
484    </hints>
485   </connection>
486   <connection>
487    <sender>cubeOpacitySlider</sender>
488    <signal>valueChanged(int)</signal>
489    <receiver>cubeOpacitySpin</receiver>
490    <slot>setValue(int)</slot>
491    <hints>
492     <hint type="sourcelabel" >
493      <x>133</x>
494      <y>162</y>
495     </hint>
496     <hint type="destinationlabel" >
497      <x>386</x>
498      <y>175</y>
499     </hint>
500    </hints>
501   </connection>
502  </connections>
503 </ui>