]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ShortcutUi.ui
Properly extend qt standard widgets, remove the search button in PrefShortcuts.
[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>277</width>
9     <height>147</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>1</hsizetype>
15     <vsizetype>1</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle" >
21    <string>Edit shortcut</string>
22   </property>
23   <property name="sizeGripEnabled" >
24    <bool>true</bool>
25   </property>
26   <layout class="QGridLayout" >
27    <property name="margin" >
28     <number>9</number>
29    </property>
30    <property name="spacing" >
31     <number>6</number>
32    </property>
33    <item row="0" column="1" colspan="2" >
34     <widget class="QLineEdit" name="lfunLE" >
35      <property name="sizePolicy" >
36       <sizepolicy>
37        <hsizetype>7</hsizetype>
38        <vsizetype>0</vsizetype>
39        <horstretch>0</horstretch>
40        <verstretch>0</verstretch>
41       </sizepolicy>
42      </property>
43      <property name="toolTip" >
44       <string>Enter BibTeX database name</string>
45      </property>
46      <property name="text" >
47       <string/>
48      </property>
49     </widget>
50    </item>
51    <item row="1" column="2" >
52     <widget class="QPushButton" name="clearPB" >
53      <property name="text" >
54       <string>Clear</string>
55      </property>
56     </widget>
57    </item>
58    <item row="1" column="0" >
59     <widget class="QLabel" name="shortcutLBL" >
60      <property name="text" >
61       <string>Shortcut</string>
62      </property>
63     </widget>
64    </item>
65    <item row="0" column="0" >
66     <widget class="QLabel" name="lfunLBL" >
67      <property name="text" >
68       <string>Function:</string>
69      </property>
70     </widget>
71    </item>
72    <item row="2" column="0" colspan="3" >
73     <layout class="QHBoxLayout" >
74      <property name="margin" >
75       <number>0</number>
76      </property>
77      <property name="spacing" >
78       <number>6</number>
79      </property>
80      <item>
81       <spacer>
82        <property name="orientation" >
83         <enum>Qt::Horizontal</enum>
84        </property>
85        <property name="sizeType" >
86         <enum>QSizePolicy::Expanding</enum>
87        </property>
88        <property name="sizeHint" >
89         <size>
90          <width>20</width>
91          <height>20</height>
92         </size>
93        </property>
94       </spacer>
95      </item>
96      <item>
97       <widget class="QPushButton" name="okPB" >
98        <property name="text" >
99         <string>&amp;OK</string>
100        </property>
101        <property name="autoDefault" >
102         <bool>false</bool>
103        </property>
104        <property name="default" >
105         <bool>true</bool>
106        </property>
107       </widget>
108      </item>
109      <item>
110       <widget class="QPushButton" name="cancelPB" >
111        <property name="text" >
112         <string>Cancel</string>
113        </property>
114        <property name="autoDefault" >
115         <bool>false</bool>
116        </property>
117       </widget>
118      </item>
119     </layout>
120    </item>
121    <item row="1" column="1" >
122     <widget class="ShortcutLineEdit" name="shortcutLE" >
123      <property name="enabled" >
124       <bool>true</bool>
125      </property>
126      <property name="sizePolicy" >
127       <sizepolicy>
128        <hsizetype>13</hsizetype>
129        <vsizetype>13</vsizetype>
130        <horstretch>0</horstretch>
131        <verstretch>0</verstretch>
132       </sizepolicy>
133      </property>
134      <property name="toolTip" >
135       <string>Enter BibTeX database name</string>
136      </property>
137      <property name="text" >
138       <string/>
139      </property>
140     </widget>
141    </item>
142   </layout>
143  </widget>
144  <customwidgets>
145   <customwidget>
146    <class>ShortcutLineEdit</class>
147    <extends>QLineEdit</extends>
148    <header>CustomizedWidgets.h</header>
149   </customwidget>
150  </customwidgets>
151  <tabstops>
152   <tabstop>lfunLE</tabstop>
153   <tabstop>okPB</tabstop>
154   <tabstop>cancelPB</tabstop>
155  </tabstops>
156  <includes>
157   <include location="local" >qt_helpers.h</include>
158  </includes>
159  <resources/>
160  <connections/>
161 </ui>