add more spacing
[personal-kdebase.git] / workspace / kwin / kcmkwin / kwinrules / editshortcut.ui
blobf5bdbbb6a310e06407f49e3c9bd36ea38fcdd1f4
1 <ui version="4.0" >
2  <class>EditShortcut</class>
3  <widget class="QWidget" name="EditShortcut" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>1194</width>
9     <height>447</height>
10    </rect>
11   </property>
12   <layout class="QVBoxLayout" >
13    <item>
14     <widget class="QLabel" name="textLabel2" >
15      <property name="text" >
16       <string>A single shortcut can be easily assigned or cleared using the two buttons. Only shortcuts with modifiers can be used.&lt;p>
17 It is possible to have several possible shortcuts, and the first available shortcut will be used. The shortcuts are specified using space-separated shortcut sets. One set is specified as &lt;i>base&lt;/i>+(&lt;i>list&lt;/i>), where base are modifiers and list is a list of keys.&lt;br>
18 For example "&lt;b>Shift+Alt+(123) Shift+Ctrl+(ABC)&lt;/b>" will first try &lt;b>Shift+Alt+1&lt;/b>, then others with &lt;b>Shift+Ctrl+C&lt;/b> as the last one.</string>
19      </property>
20      <property name="textFormat" >
21       <enum>Qt::RichText</enum>
22      </property>
23      <property name="wordWrap" >
24       <bool>true</bool>
25      </property>
26     </widget>
27    </item>
28    <item>
29     <widget class="Line" name="line1" >
30      <property name="frameShape" >
31       <enum>QFrame::HLine</enum>
32      </property>
33      <property name="frameShadow" >
34       <enum>QFrame::Sunken</enum>
35      </property>
36     </widget>
37    </item>
38    <item>
39     <widget class="KLineEdit" native="1" name="shortcut" />
40    </item>
41    <item>
42     <layout class="QHBoxLayout" >
43      <item>
44       <spacer>
45        <property name="orientation" >
46         <enum>Qt::Vertical</enum>
47        </property>
48        <property name="sizeType" >
49         <enum>QSizePolicy::Expanding</enum>
50        </property>
51        <property name="sizeHint" >
52         <size>
53          <width>40</width>
54          <height>20</height>
55         </size>
56        </property>
57       </spacer>
58      </item>
59      <item>
60       <widget class="QPushButton" name="pushButton1" >
61        <property name="text" >
62         <string>&amp;Single Shortcut</string>
63        </property>
64       </widget>
65      </item>
66      <item>
67       <spacer>
68        <property name="orientation" >
69         <enum>Qt::Vertical</enum>
70        </property>
71        <property name="sizeType" >
72         <enum>QSizePolicy::Expanding</enum>
73        </property>
74        <property name="sizeHint" >
75         <size>
76          <width>40</width>
77          <height>20</height>
78         </size>
79        </property>
80       </spacer>
81      </item>
82      <item>
83       <widget class="QPushButton" name="pushButton2" >
84        <property name="text" >
85         <string>C&amp;lear</string>
86        </property>
87       </widget>
88      </item>
89      <item>
90       <spacer>
91        <property name="orientation" >
92         <enum>Qt::Vertical</enum>
93        </property>
94        <property name="sizeType" >
95         <enum>QSizePolicy::Expanding</enum>
96        </property>
97        <property name="sizeHint" >
98         <size>
99          <width>40</width>
100          <height>20</height>
101         </size>
102        </property>
103       </spacer>
104      </item>
105     </layout>
106    </item>
107    <item>
108     <widget class="Line" name="line2" >
109      <property name="frameShape" >
110       <enum>QFrame::HLine</enum>
111      </property>
112      <property name="frameShadow" >
113       <enum>QFrame::Sunken</enum>
114      </property>
115     </widget>
116    </item>
117   </layout>
118  </widget>
119  <layoutdefault spacing="6" margin="11" />
120  <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
121  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
122  <customwidgets>
123   <customwidget>
124    <class>KLineEdit</class>
125    <extends>QWidget</extends>
126    <header>klineedit.h</header>
127   </customwidget>
128  </customwidgets>
129  <resources/>
130  <connections>
131   <connection>
132    <sender>pushButton1</sender>
133    <signal>clicked()</signal>
134    <receiver>EditShortcut</receiver>
135    <slot>editShortcut()</slot>
136    <hints>
137     <hint type="sourcelabel" >
138      <x>20</x>
139      <y>20</y>
140     </hint>
141     <hint type="destinationlabel" >
142      <x>20</x>
143      <y>20</y>
144     </hint>
145    </hints>
146   </connection>
147   <connection>
148    <sender>pushButton2</sender>
149    <signal>clicked()</signal>
150    <receiver>EditShortcut</receiver>
151    <slot>clearShortcut()</slot>
152    <hints>
153     <hint type="sourcelabel" >
154      <x>20</x>
155      <y>20</y>
156     </hint>
157     <hint type="destinationlabel" >
158      <x>20</x>
159      <y>20</y>
160     </hint>
161    </hints>
162   </connection>
163  </connections>
164 </ui>