1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ShortcutCaptureDialogBase</class>
4 <widget class="QDialog" name="ShortcutCaptureDialogBase">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>461</width>
10    <height>214</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Enter Shortcut Sequence</string>
15  </property>
16  <property name="modal">
17   <bool>true</bool>
18  </property>
19  <layout class="QGridLayout">
20   <property name="leftMargin">
21    <number>9</number>
22   </property>
23   <property name="topMargin">
24    <number>9</number>
25   </property>
26   <property name="rightMargin">
27    <number>9</number>
28   </property>
29   <property name="bottomMargin">
30    <number>9</number>
31   </property>
32   <property name="spacing">
33    <number>6</number>
34   </property>
35   <item row="0" column="0" colspan="2">
36    <widget class="QLabel" name="descrLabel">
37     <property name="toolTip">
38      <string>To enter a shortcut, choose a key sequence, for example, Ctrl+A, and press it on your keyboard.
39A key sequence can be implemented into another: Ctrl+B, and then Ctrl+C is a valid shortcut.
40Up to four combinations can be used: Ctrl+A then Ctrl+B then Ctrl+C then Ctrl+D is also a valid shortcut.
41Note: this last shortcut would be noted &quot;Ctrl+A,Ctrl+B,Ctrl+C,Ctrl+D&quot;</string>
42     </property>
43     <property name="text">
44      <string>Press up to four key combinations to enter shortcut sequence.
45Note: &quot;Ctrl+Shift+1&quot; is one key combination.</string>
46     </property>
47     <property name="alignment">
48      <set>Qt::AlignCenter</set>
49     </property>
50    </widget>
51   </item>
52   <item row="1" column="0" colspan="2">
53    <widget class="QLabel" name="messageLabel">
54     <property name="text">
55      <string/>
56     </property>
57    </widget>
58   </item>
59   <item row="2" column="0">
60    <widget class="QLabel" name="oshrtTextLabel">
61     <property name="text">
62      <string>Old shortcuts:</string>
63     </property>
64    </widget>
65   </item>
66   <item row="2" column="1">
67    <widget class="QLineEdit" name="oshrtLabel">
68     <property name="cursor">
69      <cursorShape>ArrowCursor</cursorShape>
70     </property>
71     <property name="accessibleName">
72      <string>Old shortcuts</string>
73     </property>
74     <property name="readOnly">
75      <bool>true</bool>
76     </property>
77    </widget>
78   </item>
79   <item row="3" column="0">
80    <widget class="QLabel" name="nshrtTextLabel">
81     <property name="text">
82      <string>New shortcut:</string>
83     </property>
84    </widget>
85   </item>
86   <item row="3" column="1">
87    <widget class="QLineEdit" name="nshrtLabel">
88     <property name="cursor">
89      <cursorShape>ArrowCursor</cursorShape>
90     </property>
91     <property name="accessibleName">
92      <string>New shortcut</string>
93     </property>
94     <property name="accessibleDescription">
95      <string>Type to set shortcut</string>
96     </property>
97     <property name="readOnly">
98      <bool>true</bool>
99     </property>
100     <property name="placeholderText">
101      <string comment="placeholder text">Type to set shortcut</string>
102     </property>
103    </widget>
104   </item>
105   <item row="4" column="0" colspan="2">
106    <layout class="QHBoxLayout">
107     <property name="spacing">
108      <number>6</number>
109     </property>
110     <property name="leftMargin">
111      <number>0</number>
112     </property>
113     <property name="topMargin">
114      <number>0</number>
115     </property>
116     <property name="rightMargin">
117      <number>0</number>
118     </property>
119     <property name="bottomMargin">
120      <number>0</number>
121     </property>
122     <item>
123      <widget class="QPushButton" name="clearButton">
124       <property name="accessibleDescription">
125        <string>Clear new shortcut.</string>
126       </property>
127       <property name="text">
128        <string>Clear</string>
129       </property>
130      </widget>
131     </item>
132     <item>
133      <spacer>
134       <property name="orientation">
135        <enum>Qt::Horizontal</enum>
136       </property>
137       <property name="sizeHint" stdset="0">
138        <size>
139         <width>40</width>
140         <height>20</height>
141        </size>
142       </property>
143      </spacer>
144     </item>
145     <item>
146      <widget class="QPushButton" name="addButton">
147       <property name="accessibleDescription">
148        <string>Add the new shortcut to the list of existing shortcuts.</string>
149       </property>
150       <property name="text">
151        <string>Add</string>
152       </property>
153      </widget>
154     </item>
155     <item>
156      <widget class="QPushButton" name="replaceButton">
157       <property name="enabled">
158        <bool>false</bool>
159       </property>
160       <property name="accessibleDescription">
161        <string>Replace the old shortcut(s) with new one.</string>
162       </property>
163       <property name="text">
164        <string>Replace</string>
165       </property>
166       <property name="shortcut">
167        <string/>
168       </property>
169      </widget>
170     </item>
171     <item>
172      <widget class="QPushButton" name="cancelButton">
173       <property name="text">
174        <string>Cancel</string>
175       </property>
176       <property name="shortcut">
177        <string/>
178       </property>
179      </widget>
180     </item>
181    </layout>
182   </item>
183  </layout>
184 </widget>
185 <layoutdefault spacing="6" margin="11"/>
186 <resources/>
187 <connections>
188  <connection>
189   <sender>cancelButton</sender>
190   <signal>clicked()</signal>
191   <receiver>ShortcutCaptureDialogBase</receiver>
192   <slot>reject()</slot>
193   <hints>
194    <hint type="sourcelabel">
195     <x>425</x>
196     <y>194</y>
197    </hint>
198    <hint type="destinationlabel">
199     <x>350</x>
200     <y>153</y>
201    </hint>
202   </hints>
203  </connection>
204 </connections>
205</ui>
206