]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ShortcutUi.ui
improvements to the Shortcuts UI.
[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>348</width>
9     <height>106</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="1" column="1" >
26     <widget class="lyx::frontend::ShortcutLineEdit" name="shortcutLE" >
27      <property name="enabled" >
28       <bool>true</bool>
29      </property>
30      <property name="toolTip" >
31       <string>Type shortcut while the cursor is in this field</string>
32      </property>
33      <property name="text" >
34       <string/>
35      </property>
36     </widget>
37    </item>
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>
42      </property>
43      <property name="text" >
44       <string/>
45      </property>
46     </widget>
47    </item>
48    <item row="1" column="2" >
49     <widget class="QPushButton" name="clearPB" >
50      <property name="text" >
51       <string>C&amp;lear</string>
52      </property>
53     </widget>
54    </item>
55    <item row="0" column="0" >
56     <widget class="QLabel" name="lfunLBL" >
57      <property name="text" >
58       <string>&amp;Function:</string>
59      </property>
60      <property name="buddy" >
61       <cstring>lfunLE</cstring>
62      </property>
63     </widget>
64    </item>
65    <item row="1" column="0" >
66     <widget class="QLabel" name="shortcutLBL" >
67      <property name="text" >
68       <string>&amp;Shortcut:</string>
69      </property>
70      <property name="buddy" >
71       <cstring>shortcutLE</cstring>
72      </property>
73     </widget>
74    </item>
75    <item row="2" column="0" colspan="3" >
76     <layout class="QHBoxLayout" >
77      <property name="margin" >
78       <number>0</number>
79      </property>
80      <property name="spacing" >
81       <number>6</number>
82      </property>
83      <item>
84       <spacer>
85        <property name="orientation" >
86         <enum>Qt::Horizontal</enum>
87        </property>
88        <property name="sizeType" >
89         <enum>QSizePolicy::Expanding</enum>
90        </property>
91        <property name="sizeHint" >
92         <size>
93          <width>20</width>
94          <height>20</height>
95         </size>
96        </property>
97       </spacer>
98      </item>
99      <item>
100       <widget class="QPushButton" name="okPB" >
101        <property name="text" >
102         <string>&amp;OK</string>
103        </property>
104        <property name="autoDefault" >
105         <bool>false</bool>
106        </property>
107        <property name="default" >
108         <bool>true</bool>
109        </property>
110       </widget>
111      </item>
112      <item>
113       <widget class="QPushButton" name="cancelPB" >
114        <property name="text" >
115         <string>Cancel</string>
116        </property>
117        <property name="autoDefault" >
118         <bool>false</bool>
119        </property>
120       </widget>
121      </item>
122     </layout>
123    </item>
124   </layout>
125  </widget>
126  <customwidgets>
127   <customwidget>
128    <class>lyx::frontend::ShortcutLineEdit</class>
129    <extends>QLineEdit</extends>
130    <header>CustomizedWidgets.h</header>
131   </customwidget>
132  </customwidgets>
133  <tabstops>
134   <tabstop>lfunLE</tabstop>
135   <tabstop>okPB</tabstop>
136   <tabstop>cancelPB</tabstop>
137  </tabstops>
138  <includes>
139   <include location="local" >qt_i18n.h</include>
140  </includes>
141  <resources/>
142  <connections/>
143 </ui>