2 <class>shortcutUi</class>
3 <widget class="QDialog" name="shortcutUi" >
4 <property name="geometry" >
12 <property name="windowTitle" >
13 <string>Edit shortcut</string>
15 <property name="sizeGripEnabled" >
18 <layout class="QGridLayout" >
19 <property name="margin" >
22 <property name="spacing" >
25 <item row="1" column="1" >
26 <widget class="lyx::frontend::ShortcutWidget" name="shortcutWG" >
27 <property name="enabled" >
30 <property name="toolTip" >
31 <string>Type shortcut after clicking on this field. You can reset the content with the 'Clear' button</string>
33 <property name="text" >
38 <item row="0" column="1" colspan="2" >
39 <widget class="QLineEdit" name="lfunLE" >
40 <property name="toolTip" >
41 <string>Enter LyX function or command sequence</string>
43 <property name="text" >
48 <item row="1" column="2" >
49 <widget class="QPushButton" name="clearPB" >
50 <property name="toolTip" >
51 <string>Clear current shortcut</string>
53 <property name="text" >
54 <string>C&lear</string>
58 <item row="0" column="0" >
59 <widget class="QLabel" name="lfunLBL" >
60 <property name="text" >
61 <string>&Function:</string>
63 <property name="buddy" >
64 <cstring>lfunLE</cstring>
68 <item row="1" column="0" >
69 <widget class="QLabel" name="shortcutLBL" >
70 <property name="text" >
71 <string>&Shortcut:</string>
73 <property name="buddy" >
74 <cstring>shortcutWG</cstring>
78 <item row="2" column="0" colspan="3" >
79 <layout class="QHBoxLayout" >
80 <property name="margin" >
83 <property name="spacing" >
88 <property name="orientation" >
89 <enum>Qt::Horizontal</enum>
91 <property name="sizeType" >
92 <enum>QSizePolicy::Expanding</enum>
94 <property name="sizeHint" >
103 <widget class="QPushButton" name="okPB" >
104 <property name="text" >
105 <string>&OK</string>
107 <property name="autoDefault" >
110 <property name="default" >
116 <widget class="QPushButton" name="cancelPB" >
117 <property name="text" >
118 <string>Cancel</string>
120 <property name="autoDefault" >
131 <class>lyx::frontend::ShortcutWidget</class>
132 <extends>QLineEdit</extends>
133 <header>CustomizedWidgets.h</header>
137 <tabstop>lfunLE</tabstop>
138 <tabstop>okPB</tabstop>
139 <tabstop>cancelPB</tabstop>
142 <include location="local" >qt_i18n.h</include>