| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Gui::Dialog::DlgCustomKeyboard</class> |
| 4 |
<widget class="QWidget" name="Gui::Dialog::DlgCustomKeyboard"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>736</width> |
| 10 |
<height>376</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Keyboard</string> |
| 15 |
</property> |
| 16 |
<layout class="QVBoxLayout" name="verticalLayout" stretch="1"> |
| 17 |
<item> |
| 18 |
<widget class="QSplitter" name="splitter"> |
| 19 |
<property name="orientation"> |
| 20 |
<enum>Qt::Horizontal</enum> |
| 21 |
</property> |
| 22 |
<widget class="QWidget" name="layoutWidget"> |
| 23 |
<layout class="QGridLayout" name="gridLayout"> |
| 24 |
<property name="leftMargin"> |
| 25 |
<number>0</number> |
| 26 |
</property> |
| 27 |
<property name="topMargin"> |
| 28 |
<number>0</number> |
| 29 |
</property> |
| 30 |
<property name="rightMargin"> |
| 31 |
<number>0</number> |
| 32 |
</property> |
| 33 |
<property name="bottomMargin"> |
| 34 |
<number>0</number> |
| 35 |
</property> |
| 36 |
<item row="1" column="0" colspan="2"> |
| 37 |
<widget class="QLineEdit" name="editCommand"/> |
| 38 |
</item> |
| 39 |
<item row="2" column="0"> |
| 40 |
<widget class="QLabel" name="TextLabelCategory"> |
| 41 |
<property name="sizePolicy"> |
| 42 |
<sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 43 |
<horstretch>0</horstretch> |
| 44 |
<verstretch>0</verstretch> |
| 45 |
</sizepolicy> |
| 46 |
</property> |
| 47 |
<property name="text"> |
| 48 |
<string>&Category</string> |
| 49 |
</property> |
| 50 |
<property name="buddy"> |
| 51 |
<cstring>categoryBox</cstring> |
| 52 |
</property> |
| 53 |
</widget> |
| 54 |
</item> |
| 55 |
<item row="2" column="1"> |
| 56 |
<widget class="QComboBox" name="categoryBox"/> |
| 57 |
</item> |
| 58 |
<item row="3" column="0" colspan="2"> |
| 59 |
<widget class="QTreeWidget" name="commandTreeWidget"> |
| 60 |
<property name="minimumSize"> |
| 61 |
<size> |
| 62 |
<width>400</width> |
| 63 |
<height>0</height> |
| 64 |
</size> |
| 65 |
</property> |
| 66 |
<property name="rootIsDecorated"> |
| 67 |
<bool>false</bool> |
| 68 |
</property> |
| 69 |
<property name="sortingEnabled"> |
| 70 |
<bool>true</bool> |
| 71 |
</property> |
| 72 |
<column> |
| 73 |
<property name="text"> |
| 74 |
<string notr="true">1</string> |
| 75 |
</property> |
| 76 |
</column> |
| 77 |
</widget> |
| 78 |
</item> |
| 79 |
</layout> |
| 80 |
</widget> |
| 81 |
<widget class="QWidget" name="horizontalLayoutWidget"> |
| 82 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 83 |
<item> |
| 84 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 85 |
<property name="leftMargin"> |
| 86 |
<number>0</number> |
| 87 |
</property> |
| 88 |
<property name="topMargin"> |
| 89 |
<number>0</number> |
| 90 |
</property> |
| 91 |
<property name="rightMargin"> |
| 92 |
<number>0</number> |
| 93 |
</property> |
| 94 |
<property name="bottomMargin"> |
| 95 |
<number>0</number> |
| 96 |
</property> |
| 97 |
<item row="1" column="1"> |
| 98 |
<widget class="QLabel" name="textLabelShortcut"> |
| 99 |
<property name="text"> |
| 100 |
<string>Current shortcut</string> |
| 101 |
</property> |
| 102 |
</widget> |
| 103 |
</item> |
| 104 |
<item row="1" column="2" colspan="2"> |
| 105 |
<widget class="Gui::AccelLineEdit" name="accelLineEditShortcut"> |
| 106 |
<property name="toolTip"> |
| 107 |
<string>To change a current shortcut enter the new shortcut in the field below and press 'Assign'.</string> |
| 108 |
</property> |
| 109 |
<property name="readOnly"> |
| 110 |
<bool>true</bool> |
| 111 |
</property> |
| 112 |
</widget> |
| 113 |
</item> |
| 114 |
<item row="3" column="1" colspan="3"> |
| 115 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
| 116 |
<item> |
| 117 |
<widget class="QLabel" name="textLabelNewShortcut"> |
| 118 |
<property name="text"> |
| 119 |
<string>&New shortcut</string> |
| 120 |
</property> |
| 121 |
<property name="buddy"> |
| 122 |
<cstring>editShortcut</cstring> |
| 123 |
</property> |
| 124 |
</widget> |
| 125 |
</item> |
| 126 |
<item> |
| 127 |
<widget class="Gui::AccelLineEdit" name="editShortcut"/> |
| 128 |
</item> |
| 129 |
</layout> |
| 130 |
</item> |
| 131 |
<item row="4" column="1" colspan="2"> |
| 132 |
<widget class="QLabel" name="label"> |
| 133 |
<property name="toolTip"> |
| 134 |
<string/> |
| 135 |
</property> |
| 136 |
<property name="text"> |
| 137 |
<string>Multi-key sequence delay</string> |
| 138 |
</property> |
| 139 |
</widget> |
| 140 |
</item> |
| 141 |
<item row="4" column="3"> |
| 142 |
<widget class="Gui::PrefSpinBox" name="shortcutTimeout"> |
| 143 |
<property name="sizePolicy"> |
| 144 |
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 145 |
<horstretch>0</horstretch> |
| 146 |
<verstretch>0</verstretch> |
| 147 |
</sizepolicy> |
| 148 |
</property> |
| 149 |
<property name="minimumSize"> |
| 150 |
<size> |
| 151 |
<width>50</width> |
| 152 |
<height>0</height> |
| 153 |
</size> |
| 154 |
</property> |
| 155 |
<property name="toolTip"> |
| 156 |
<string>Time in milliseconds to wait for the next keystroke of the current key sequence. |
| 157 |
For example, pressing 'F' twice in less than the time delay setting here will be |
| 158 |
treated as shortcut key sequence 'F, F'.</string> |
| 159 |
</property> |
| 160 |
<property name="maximum"> |
| 161 |
<number>10000</number> |
| 162 |
</property> |
| 163 |
<property name="singleStep"> |
| 164 |
<number>100</number> |
| 165 |
</property> |
| 166 |
<property name="value"> |
| 167 |
<number>300</number> |
| 168 |
</property> |
| 169 |
<property name="prefPath" stdset="0"> |
| 170 |
<cstring>Shortcut/Settings</cstring> |
| 171 |
</property> |
| 172 |
<property name="prefEntry" stdset="0"> |
| 173 |
<cstring>ShortcutTimeout</cstring> |
| 174 |
</property> |
| 175 |
</widget> |
| 176 |
</item> |
| 177 |
<item row="5" column="1" colspan="3"> |
| 178 |
<widget class="QLabel" name="textLabelAssigned"> |
| 179 |
<property name="minimumSize"> |
| 180 |
<size> |
| 181 |
<width>0</width> |
| 182 |
<height>20</height> |
| 183 |
</size> |
| 184 |
</property> |
| 185 |
<property name="toolTip"> |
| 186 |
<string>This list shows commands having the same shortcut in the priority from high |
| 187 |
to low. If more than one command with the same shortcut are active at the |
| 188 |
same time. The one with the highest priority will be triggered.</string> |
| 189 |
</property> |
| 190 |
<property name="text"> |
| 191 |
<string>Shortcut priority list</string> |
| 192 |
</property> |
| 193 |
</widget> |
| 194 |
</item> |
| 195 |
<item row="6" column="1" colspan="3"> |
| 196 |
<widget class="QTreeWidget" name="assignedTreeWidget"> |
| 197 |
<property name="minimumSize"> |
| 198 |
<size> |
| 199 |
<width>220</width> |
| 200 |
<height>0</height> |
| 201 |
</size> |
| 202 |
</property> |
| 203 |
<property name="alternatingRowColors"> |
| 204 |
<bool>true</bool> |
| 205 |
</property> |
| 206 |
<property name="rootIsDecorated"> |
| 207 |
<bool>false</bool> |
| 208 |
</property> |
| 209 |
<column> |
| 210 |
<property name="text"> |
| 211 |
<string notr="true">1</string> |
| 212 |
</property> |
| 213 |
</column> |
| 214 |
</widget> |
| 215 |
</item> |
| 216 |
</layout> |
| 217 |
</item> |
| 218 |
<item> |
| 219 |
<layout class="QVBoxLayout"> |
| 220 |
<property name="spacing"> |
| 221 |
<number>6</number> |
| 222 |
</property> |
| 223 |
<property name="leftMargin"> |
| 224 |
<number>0</number> |
| 225 |
</property> |
| 226 |
<property name="topMargin"> |
| 227 |
<number>0</number> |
| 228 |
</property> |
| 229 |
<property name="rightMargin"> |
| 230 |
<number>0</number> |
| 231 |
</property> |
| 232 |
<property name="bottomMargin"> |
| 233 |
<number>0</number> |
| 234 |
</property> |
| 235 |
<item> |
| 236 |
<widget class="QPushButton" name="buttonAssign"> |
| 237 |
<property name="text"> |
| 238 |
<string>&Assign</string> |
| 239 |
</property> |
| 240 |
<property name="shortcut"> |
| 241 |
<string>Alt+A</string> |
| 242 |
</property> |
| 243 |
</widget> |
| 244 |
</item> |
| 245 |
<item> |
| 246 |
<widget class="QPushButton" name="buttonClear"> |
| 247 |
<property name="text"> |
| 248 |
<string>Clear</string> |
| 249 |
</property> |
| 250 |
</widget> |
| 251 |
</item> |
| 252 |
<item> |
| 253 |
<widget class="QPushButton" name="buttonReset"> |
| 254 |
<property name="text"> |
| 255 |
<string>&Reset</string> |
| 256 |
</property> |
| 257 |
<property name="shortcut"> |
| 258 |
<string>Alt+R</string> |
| 259 |
</property> |
| 260 |
</widget> |
| 261 |
</item> |
| 262 |
<item> |
| 263 |
<widget class="QPushButton" name="buttonResetAll"> |
| 264 |
<property name="text"> |
| 265 |
<string>Re&set All</string> |
| 266 |
</property> |
| 267 |
<property name="shortcut"> |
| 268 |
<string>Alt+S</string> |
| 269 |
</property> |
| 270 |
</widget> |
| 271 |
</item> |
| 272 |
<item> |
| 273 |
<spacer> |
| 274 |
<property name="orientation"> |
| 275 |
<enum>Qt::Vertical</enum> |
| 276 |
</property> |
| 277 |
<property name="sizeType"> |
| 278 |
<enum>QSizePolicy::Expanding</enum> |
| 279 |
</property> |
| 280 |
<property name="sizeHint" stdset="0"> |
| 281 |
<size> |
| 282 |
<width>41</width> |
| 283 |
<height>150</height> |
| 284 |
</size> |
| 285 |
</property> |
| 286 |
</spacer> |
| 287 |
</item> |
| 288 |
<item> |
| 289 |
<widget class="QPushButton" name="buttonUp"> |
| 290 |
<property name="enabled"> |
| 291 |
<bool>false</bool> |
| 292 |
</property> |
| 293 |
<property name="text"> |
| 294 |
<string>Up</string> |
| 295 |
</property> |
| 296 |
</widget> |
| 297 |
</item> |
| 298 |
<item> |
| 299 |
<widget class="QPushButton" name="buttonDown"> |
| 300 |
<property name="enabled"> |
| 301 |
<bool>false</bool> |
| 302 |
</property> |
| 303 |
<property name="text"> |
| 304 |
<string>Down</string> |
| 305 |
</property> |
| 306 |
</widget> |
| 307 |
</item> |
| 308 |
</layout> |
| 309 |
</item> |
| 310 |
</layout> |
| 311 |
</widget> |
| 312 |
</widget> |
| 313 |
</item> |
| 314 |
</layout> |
| 315 |
</widget> |
| 316 |
<layoutdefault spacing="6" margin="11"/> |
| 317 |
<customwidgets> |
| 318 |
<customwidget> |
| 319 |
<class>Gui::AccelLineEdit</class> |
| 320 |
<extends>QLineEdit</extends> |
| 321 |
<header>Gui/Widgets.h</header> |
| 322 |
</customwidget> |
| 323 |
<customwidget> |
| 324 |
<class>Gui::PrefSpinBox</class> |
| 325 |
<extends>QSpinBox</extends> |
| 326 |
<header>Gui/PrefWidgets.h</header> |
| 327 |
</customwidget> |
| 328 |
</customwidgets> |
| 329 |
<tabstops> |
| 330 |
<tabstop>editCommand</tabstop> |
| 331 |
<tabstop>categoryBox</tabstop> |
| 332 |
<tabstop>commandTreeWidget</tabstop> |
| 333 |
<tabstop>accelLineEditShortcut</tabstop> |
| 334 |
<tabstop>editShortcut</tabstop> |
| 335 |
<tabstop>shortcutTimeout</tabstop> |
| 336 |
<tabstop>buttonAssign</tabstop> |
| 337 |
<tabstop>buttonClear</tabstop> |
| 338 |
<tabstop>buttonReset</tabstop> |
| 339 |
<tabstop>buttonResetAll</tabstop> |
| 340 |
<tabstop>assignedTreeWidget</tabstop> |
| 341 |
<tabstop>buttonUp</tabstop> |
| 342 |
<tabstop>buttonDown</tabstop> |
| 343 |
</tabstops> |
| 344 |
<resources/> |
| 345 |
<connections/> |
| 346 |
</ui> |