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="2" column="0" colspan="4" >
26 <layout class="QHBoxLayout" >
27 <property name="margin" >
30 <property name="spacing" >
35 <property name="orientation" >
36 <enum>Qt::Horizontal</enum>
38 <property name="sizeType" >
39 <enum>QSizePolicy::Expanding</enum>
41 <property name="sizeHint" >
50 <widget class="QPushButton" name="okPB" >
51 <property name="text" >
52 <string>&OK</string>
54 <property name="autoDefault" >
57 <property name="default" >
63 <widget class="QPushButton" name="cancelPB" >
64 <property name="text" >
65 <string>Cancel</string>
67 <property name="autoDefault" >
74 <item row="0" column="1" colspan="3" >
75 <widget class="QLineEdit" name="lfunLE" >
76 <property name="toolTip" >
77 <string>Enter LyX function or command sequence</string>
79 <property name="text" >
84 <item row="1" column="2" >
85 <widget class="QPushButton" name="removePB" >
86 <property name="toolTip" >
87 <string>Remove last key from the shortcut sequence</string>
89 <property name="text" >
90 <string>&Delete Key</string>
94 <item row="1" column="3" >
95 <widget class="QPushButton" name="clearPB" >
96 <property name="toolTip" >
97 <string>Clear current shortcut</string>
99 <property name="text" >
100 <string>C&lear</string>
104 <item row="1" column="0" >
105 <widget class="QLabel" name="shortcutLBL" >
106 <property name="text" >
107 <string>&Shortcut:</string>
109 <property name="buddy" >
110 <cstring>shortcutWG</cstring>
114 <item row="0" column="0" >
115 <widget class="QLabel" name="lfunLBL" >
116 <property name="text" >
117 <string>&Function:</string>
119 <property name="buddy" >
120 <cstring>lfunLE</cstring>
124 <item row="1" column="1" >
125 <widget class="lyx::frontend::ShortcutWidget" name="shortcutWG" >
126 <property name="enabled" >
129 <property name="toolTip" >
130 <string>Type shortcut after clicking on this field. You can reset the content with the 'Clear' button</string>
132 <property name="text" >
141 <class>lyx::frontend::ShortcutWidget</class>
142 <extends>QLineEdit</extends>
143 <header>CustomizedWidgets.h</header>
147 <tabstop>lfunLE</tabstop>
148 <tabstop>okPB</tabstop>
149 <tabstop>cancelPB</tabstop>
152 <include location="local" >qt_i18n.h</include>