]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ShortcutUi.ui
Hopefully less confusing shortcut settings UI (bug 5012).
[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::ShortcutWidget" name="shortcutWG" >
27      <property name="enabled" >
28       <bool>true</bool>
29      </property>
30      <property name="toolTip" >
31       <string>Type shortcut after clicking on this field. You can reset the content with the 'Clear' button</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="toolTip" >
51       <string>Clear current shortcut</string>
52      </property>
53      <property name="text" >
54       <string>C&amp;lear</string>
55      </property>
56     </widget>
57    </item>
58    <item row="0" column="0" >
59     <widget class="QLabel" name="lfunLBL" >
60      <property name="text" >
61       <string>&amp;Function:</string>
62      </property>
63      <property name="buddy" >
64       <cstring>lfunLE</cstring>
65      </property>
66     </widget>
67    </item>
68    <item row="1" column="0" >
69     <widget class="QLabel" name="shortcutLBL" >
70      <property name="text" >
71       <string>&amp;Shortcut:</string>
72      </property>
73      <property name="buddy" >
74       <cstring>shortcutWG</cstring>
75      </property>
76     </widget>
77    </item>
78    <item row="2" column="0" colspan="3" >
79     <layout class="QHBoxLayout" >
80      <property name="margin" >
81       <number>0</number>
82      </property>
83      <property name="spacing" >
84       <number>6</number>
85      </property>
86      <item>
87       <spacer>
88        <property name="orientation" >
89         <enum>Qt::Horizontal</enum>
90        </property>
91        <property name="sizeType" >
92         <enum>QSizePolicy::Expanding</enum>
93        </property>
94        <property name="sizeHint" >
95         <size>
96          <width>20</width>
97          <height>20</height>
98         </size>
99        </property>
100       </spacer>
101      </item>
102      <item>
103       <widget class="QPushButton" name="okPB" >
104        <property name="text" >
105         <string>&amp;OK</string>
106        </property>
107        <property name="autoDefault" >
108         <bool>false</bool>
109        </property>
110        <property name="default" >
111         <bool>true</bool>
112        </property>
113       </widget>
114      </item>
115      <item>
116       <widget class="QPushButton" name="cancelPB" >
117        <property name="text" >
118         <string>Cancel</string>
119        </property>
120        <property name="autoDefault" >
121         <bool>false</bool>
122        </property>
123       </widget>
124      </item>
125     </layout>
126    </item>
127   </layout>
128  </widget>
129  <customwidgets>
130   <customwidget>
131    <class>lyx::frontend::ShortcutWidget</class>
132    <extends>QLineEdit</extends>
133    <header>CustomizedWidgets.h</header>
134   </customwidget>
135  </customwidgets>
136  <tabstops>
137   <tabstop>lfunLE</tabstop>
138   <tabstop>okPB</tabstop>
139   <tabstop>cancelPB</tabstop>
140  </tabstops>
141  <includes>
142   <include location="local" >qt_i18n.h</include>
143  </includes>
144  <resources/>
145  <connections/>
146 </ui>