]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ShortcutUi.ui
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / ui / ShortcutUi.ui
1 <ui version="4.0" >
2  <class>shortcutUi</class>
3  <widget class="QDialog" name="shortcutUi" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>421</width>
9     <height>111</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Edit shortcut</string>
14   </property>
15   <property name="sizeGripEnabled" >
16    <bool>true</bool>
17   </property>
18   <layout class="QGridLayout" >
19    <property name="margin" >
20     <number>9</number>
21    </property>
22    <property name="spacing" >
23     <number>6</number>
24    </property>
25    <item row="2" column="0" colspan="4" >
26     <layout class="QHBoxLayout" >
27      <property name="margin" >
28       <number>0</number>
29      </property>
30      <property name="spacing" >
31       <number>6</number>
32      </property>
33      <item>
34       <spacer>
35        <property name="orientation" >
36         <enum>Qt::Horizontal</enum>
37        </property>
38        <property name="sizeType" >
39         <enum>QSizePolicy::Expanding</enum>
40        </property>
41        <property name="sizeHint" >
42         <size>
43          <width>20</width>
44          <height>20</height>
45         </size>
46        </property>
47       </spacer>
48      </item>
49      <item>
50       <widget class="QPushButton" name="okPB" >
51        <property name="text" >
52         <string>&amp;OK</string>
53        </property>
54        <property name="autoDefault" >
55         <bool>false</bool>
56        </property>
57        <property name="default" >
58         <bool>true</bool>
59        </property>
60       </widget>
61      </item>
62      <item>
63       <widget class="QPushButton" name="cancelPB" >
64        <property name="text" >
65         <string>Cancel</string>
66        </property>
67        <property name="autoDefault" >
68         <bool>false</bool>
69        </property>
70       </widget>
71      </item>
72     </layout>
73    </item>
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>
78      </property>
79      <property name="text" >
80       <string/>
81      </property>
82     </widget>
83    </item>
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>
88      </property>
89      <property name="text" >
90       <string>&amp;Delete Key</string>
91      </property>
92     </widget>
93    </item>
94    <item row="1" column="3" >
95     <widget class="QPushButton" name="clearPB" >
96      <property name="toolTip" >
97       <string>Clear current shortcut</string>
98      </property>
99      <property name="text" >
100       <string>C&amp;lear</string>
101      </property>
102     </widget>
103    </item>
104    <item row="1" column="0" >
105     <widget class="QLabel" name="shortcutLBL" >
106      <property name="text" >
107       <string>&amp;Shortcut:</string>
108      </property>
109      <property name="buddy" >
110       <cstring>shortcutWG</cstring>
111      </property>
112     </widget>
113    </item>
114    <item row="0" column="0" >
115     <widget class="QLabel" name="lfunLBL" >
116      <property name="text" >
117       <string>&amp;Function:</string>
118      </property>
119      <property name="buddy" >
120       <cstring>lfunLE</cstring>
121      </property>
122     </widget>
123    </item>
124    <item row="1" column="1" >
125     <widget class="lyx::frontend::ShortcutWidget" name="shortcutWG" >
126      <property name="enabled" >
127       <bool>true</bool>
128      </property>
129      <property name="toolTip" >
130       <string>Type shortcut after clicking on this field. You can reset the content with the 'Clear' button</string>
131      </property>
132      <property name="text" >
133       <string/>
134      </property>
135     </widget>
136    </item>
137   </layout>
138  </widget>
139  <customwidgets>
140   <customwidget>
141    <class>lyx::frontend::ShortcutWidget</class>
142    <extends>QLineEdit</extends>
143    <header>CustomizedWidgets.h</header>
144   </customwidget>
145  </customwidgets>
146  <tabstops>
147   <tabstop>lfunLE</tabstop>
148   <tabstop>okPB</tabstop>
149   <tabstop>cancelPB</tabstop>
150  </tabstops>
151  <includes>
152   <include location="local" >qt_i18n.h</include>
153  </includes>
154  <resources/>
155  <connections/>
156 </ui>