2 <class>EditShortcut</class>
3 <widget class="QWidget" name="EditShortcut" >
4 <property name="geometry" >
12 <layout class="QVBoxLayout" >
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.<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 <i>base</i>+(<i>list</i>), where base are modifiers and list is a list of keys.<br>
18 For example "<b>Shift+Alt+(123) Shift+Ctrl+(ABC)</b>" will first try <b>Shift+Alt+1</b>, then others with <b>Shift+Ctrl+C</b> as the last one.</string>
20 <property name="textFormat" >
21 <enum>Qt::RichText</enum>
23 <property name="wordWrap" >
29 <widget class="Line" name="line1" >
30 <property name="frameShape" >
31 <enum>QFrame::HLine</enum>
33 <property name="frameShadow" >
34 <enum>QFrame::Sunken</enum>
39 <widget class="KLineEdit" native="1" name="shortcut" />
42 <layout class="QHBoxLayout" >
45 <property name="orientation" >
46 <enum>Qt::Vertical</enum>
48 <property name="sizeType" >
49 <enum>QSizePolicy::Expanding</enum>
51 <property name="sizeHint" >
60 <widget class="QPushButton" name="pushButton1" >
61 <property name="text" >
62 <string>&Single Shortcut</string>
68 <property name="orientation" >
69 <enum>Qt::Vertical</enum>
71 <property name="sizeType" >
72 <enum>QSizePolicy::Expanding</enum>
74 <property name="sizeHint" >
83 <widget class="QPushButton" name="pushButton2" >
84 <property name="text" >
85 <string>C&lear</string>
91 <property name="orientation" >
92 <enum>Qt::Vertical</enum>
94 <property name="sizeType" >
95 <enum>QSizePolicy::Expanding</enum>
97 <property name="sizeHint" >
108 <widget class="Line" name="line2" >
109 <property name="frameShape" >
110 <enum>QFrame::HLine</enum>
112 <property name="frameShadow" >
113 <enum>QFrame::Sunken</enum>
119 <layoutdefault spacing="6" margin="11" />
120 <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
121 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
124 <class>KLineEdit</class>
125 <extends>QWidget</extends>
126 <header>klineedit.h</header>
132 <sender>pushButton1</sender>
133 <signal>clicked()</signal>
134 <receiver>EditShortcut</receiver>
135 <slot>editShortcut()</slot>
137 <hint type="sourcelabel" >
141 <hint type="destinationlabel" >
148 <sender>pushButton2</sender>
149 <signal>clicked()</signal>
150 <receiver>EditShortcut</receiver>
151 <slot>clearShortcut()</slot>
153 <hint type="sourcelabel" >
157 <hint type="destinationlabel" >