Merge "persistent color scheme selection"
[trojita.git] / src / Gui / ShortcutHandler / ShortcutConfigWidget.ui
blob3ccc479f8744b2283171797910d5ad87a02ef83e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ShortcutConfigWidget</class>
4 <widget class="QWidget" name="ShortcutConfigWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>350</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Configure Shortcuts</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0" colspan="3">
18 <widget class="QLabel" name="descriptionLabel">
19 <property name="text">
20 <string>Select an action and press a key combination to change its shortcut:</string>
21 </property>
22 </widget>
23 </item>
24 <item row="1" column="0" colspan="3">
25 <widget class="QTreeWidget" name="shortcutTreeWidget">
26 <property name="whatsThis">
27 <string>&lt;p&gt;Select an action (with the mouse or the arrow keys). Its shortcut can then be changed by simply pressing the new shortcut.&lt;/p&gt;&lt;p&gt;Note that a few shortcuts cannot be used: &quot;Up&quot;, &quot;Down&quot;, &quot;Left&quot;, &quot;Right&quot;, &quot;Page Up&quot;, &quot;Page Down&quot;, &quot;Tab&quot;, &quot;Shift+Tab&quot;, &quot;Enter&quot; and &quot;Escape&quot;.&lt;/p&gt;</string>
28 </property>
29 <column>
30 <property name="text">
31 <string>Action</string>
32 </property>
33 </column>
34 <column>
35 <property name="text">
36 <string>Shortcut</string>
37 </property>
38 </column>
39 </widget>
40 </item>
41 <item row="2" column="0" colspan="3">
42 <layout class="QHBoxLayout" name="searchHorizontalLayout">
43 <item>
44 <widget class="QLabel" name="searchLabel">
45 <property name="whatsThis">
46 <string>&lt;p&gt;Search interactively for shortcut names (e.g. Copy) or combination of keys (e.g. Ctrl+C) by typing them.&lt;/p&gt;</string>
47 </property>
48 <property name="text">
49 <string comment="Label of search field">Search:</string>
50 </property>
51 <property name="buddy">
52 <cstring>searchLineEdit</cstring>
53 </property>
54 </widget>
55 </item>
56 <item>
57 <widget class="LineEdit" name="searchLineEdit">
58 <property name="sizePolicy">
59 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
60 <horstretch>0</horstretch>
61 <verstretch>0</verstretch>
62 </sizepolicy>
63 </property>
64 <property name="whatsThis">
65 <string>&lt;p&gt;Search interactively for shortcut names (e.g. Copy) or combination of keys (e.g. Ctrl+C) by typing them.&lt;/p&gt;</string>
66 </property>
67 </widget>
68 </item>
69 </layout>
70 </item>
71 <item row="3" column="0">
72 <widget class="QPushButton" name="clearPushButton">
73 <property name="whatsThis">
74 <string>&lt;p&gt;Remove the shortcut of the currently highlighted action.&lt;/p&gt;</string>
75 </property>
76 <property name="text">
77 <string comment="Action for clearing shortcut">Clear</string>
78 </property>
79 </widget>
80 </item>
81 <item row="3" column="1">
82 <widget class="QPushButton" name="useDefaultPushButton">
83 <property name="whatsThis">
84 <string>&lt;p&gt;Restore the default shortcut for the currently highlighted action.&lt;/p&gt;</string>
85 </property>
86 <property name="text">
87 <string comment="Action for restoring default shortcut">Default</string>
88 </property>
89 </widget>
90 </item>
91 </layout>
92 </widget>
93 <customwidgets>
94 <customwidget>
95 <class>LineEdit</class>
96 <extends>QLineEdit</extends>
97 <header>LineEdit.h</header>
98 </customwidget>
99 </customwidgets>
100 <resources/>
101 <connections/>
102 </ui>