]> git.lyx.org Git - lyx.git/blob - src/frontends/qt3/ui/QPrefUIModule.ui
Add lyxrc.use_lastfilepos and load_session to the preference dialog. Bo Peng (ben...
[lyx.git] / src / frontends / qt3 / ui / QPrefUIModule.ui
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>QPrefUIModule</class>
3 <widget class="QWidget">
4     <property name="name">
5         <cstring>QPrefUIModule</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>412</width>
12             <height>441</height>
13         </rect>
14     </property>
15     <property name="sizePolicy">
16         <sizepolicy>
17             <hsizetype>1</hsizetype>
18             <vsizetype>1</vsizetype>
19             <horstretch>0</horstretch>
20             <verstretch>0</verstretch>
21         </sizepolicy>
22     </property>
23     <property name="caption">
24         <string>QPrefUIModule</string>
25     </property>
26     <vbox>
27         <property name="name">
28             <cstring>unnamed</cstring>
29         </property>
30         <property name="margin">
31             <number>11</number>
32         </property>
33         <property name="spacing">
34             <number>6</number>
35         </property>
36         <widget class="QLayoutWidget">
37             <property name="name">
38                 <cstring>Layout2</cstring>
39             </property>
40             <grid>
41                 <property name="name">
42                     <cstring>unnamed</cstring>
43                 </property>
44                 <property name="margin">
45                     <number>0</number>
46                 </property>
47                 <property name="spacing">
48                     <number>6</number>
49                 </property>
50                 <widget class="QPushButton" row="1" column="2">
51                     <property name="name">
52                         <cstring>bindFilePB</cstring>
53                     </property>
54                     <property name="text">
55                         <string>B&amp;rowse...</string>
56                     </property>
57                 </widget>
58                 <widget class="QLabel" row="0" column="0">
59                     <property name="name">
60                         <cstring>uiFileLA</cstring>
61                     </property>
62                     <property name="text">
63                         <string>&amp;User interface file:</string>
64                     </property>
65                     <property name="buddy" stdset="0">
66                         <cstring>uiFileED</cstring>
67                     </property>
68                 </widget>
69                 <widget class="QLabel" row="1" column="0">
70                     <property name="name">
71                         <cstring>bindFileLA</cstring>
72                     </property>
73                     <property name="text">
74                         <string>&amp;Bind file:</string>
75                     </property>
76                     <property name="buddy" stdset="0">
77                         <cstring>bindFileED</cstring>
78                     </property>
79                 </widget>
80                 <widget class="QLineEdit" row="0" column="1">
81                     <property name="name">
82                         <cstring>uiFileED</cstring>
83                     </property>
84                 </widget>
85                 <widget class="QPushButton" row="0" column="2">
86                     <property name="name">
87                         <cstring>uiFilePB</cstring>
88                     </property>
89                     <property name="text">
90                         <string>Bro&amp;wse...</string>
91                     </property>
92                 </widget>
93                 <widget class="QLineEdit" row="1" column="1">
94                     <property name="name">
95                         <cstring>bindFileED</cstring>
96                     </property>
97                 </widget>
98             </grid>
99         </widget>
100         <widget class="QLayoutWidget">
101             <property name="name">
102                 <cstring>Layout7</cstring>
103             </property>
104             <hbox>
105                 <property name="name">
106                     <cstring>unnamed</cstring>
107                 </property>
108                 <property name="margin">
109                     <number>0</number>
110                 </property>
111                 <property name="spacing">
112                     <number>6</number>
113                 </property>
114                 <widget class="QLayoutWidget">
115                     <property name="name">
116                         <cstring>Layout6</cstring>
117                     </property>
118                     <vbox>
119                         <property name="name">
120                             <cstring>unnamed</cstring>
121                         </property>
122                         <property name="margin">
123                             <number>0</number>
124                         </property>
125                         <property name="spacing">
126                             <number>6</number>
127                         </property>
128                         <widget class="QGroupBox">
129                             <property name="name">
130                                 <cstring>documentsGB</cstring>
131                             </property>
132                             <property name="title">
133                                 <string>Documents</string>
134                             </property>
135                             <widget class="QLayoutWidget">
136                                 <property name="name">
137                                     <cstring>Layout11</cstring>
138                                 </property>
139                                 <property name="geometry">
140                                     <rect>
141                                         <x>60</x>
142                                         <y>40</y>
143                                         <width>177</width>
144                                         <height>23</height>
145                                     </rect>
146                                 </property>
147                                 <hbox>
148                                     <property name="name">
149                                         <cstring>unnamed</cstring>
150                                     </property>
151                                     <property name="margin">
152                                         <number>0</number>
153                                     </property>
154                                     <property name="spacing">
155                                         <number>6</number>
156                                     </property>
157                                     <spacer>
158                                         <property name="name">
159                                             <cstring>Spacer6</cstring>
160                                         </property>
161                                         <property name="orientation">
162                                             <enum>Horizontal</enum>
163                                         </property>
164                                         <property name="sizeType">
165                                             <enum>Fixed</enum>
166                                         </property>
167                                         <property name="sizeHint">
168                                             <size>
169                                                 <width>21</width>
170                                                 <height>20</height>
171                                             </size>
172                                         </property>
173                                     </spacer>
174                                     <widget class="QLabel">
175                                         <property name="name">
176                                             <cstring>autoSaveLA</cstring>
177                                         </property>
178                                         <property name="text">
179                                             <string> every</string>
180                                         </property>
181                                         <property name="buddy" stdset="0">
182                                             <cstring>autoSaveSB</cstring>
183                                         </property>
184                                     </widget>
185                                     <widget class="QSpinBox">
186                                         <property name="name">
187                                             <cstring>autoSaveSB</cstring>
188                                         </property>
189                                         <property name="maxValue">
190                                             <number>300</number>
191                                         </property>
192                                         <property name="minValue">
193                                             <number>1</number>
194                                         </property>
195                                     </widget>
196                                     <widget class="QLabel">
197                                         <property name="name">
198                                             <cstring>TextLabel1</cstring>
199                                         </property>
200                                         <property name="text">
201                                             <string>minutes</string>
202                                         </property>
203                                     </widget>
204                                 </hbox>
205                             </widget>
206                             <widget class="QLayoutWidget">
207                                 <property name="name">
208                                     <cstring>Layout12</cstring>
209                                 </property>
210                                 <property name="geometry">
211                                     <rect>
212                                         <x>11</x>
213                                         <y>69</y>
214                                         <width>275</width>
215                                         <height>23</height>
216                                     </rect>
217                                 </property>
218                                 <hbox>
219                                     <property name="name">
220                                         <cstring>unnamed</cstring>
221                                     </property>
222                                     <property name="margin">
223                                         <number>0</number>
224                                     </property>
225                                     <property name="spacing">
226                                         <number>6</number>
227                                     </property>
228                                     <widget class="QLabel">
229                                         <property name="name">
230                                             <cstring>lastfilesLA</cstring>
231                                         </property>
232                                         <property name="text">
233                                             <string>&amp;Maximum last files:</string>
234                                         </property>
235                                         <property name="buddy" stdset="0">
236                                             <cstring>lastfilesSB</cstring>
237                                         </property>
238                                     </widget>
239                                     <widget class="QSpinBox">
240                                         <property name="name">
241                                             <cstring>lastfilesSB</cstring>
242                                         </property>
243                                         <property name="maxValue">
244                                             <number>9</number>
245                                         </property>
246                                     </widget>
247                                 </hbox>
248                             </widget>
249                             <widget class="QCheckBox">
250                                 <property name="name">
251                                     <cstring>autoSaveCB</cstring>
252                                 </property>
253                                 <property name="geometry">
254                                     <rect>
255                                         <x>11</x>
256                                         <y>17</y>
257                                         <width>275</width>
258                                         <height>17</height>
259                                     </rect>
260                                 </property>
261                                 <property name="text">
262                                     <string>B&amp;ackup documents </string>
263                                 </property>
264                                 <property name="accel">
265                                     <string>Alt+A</string>
266                                 </property>
267                             </widget>
268                         </widget>
269                     </vbox>
270                 </widget>
271                 <spacer>
272                     <property name="name">
273                         <cstring>Spacer8</cstring>
274                     </property>
275                     <property name="orientation">
276                         <enum>Horizontal</enum>
277                     </property>
278                     <property name="sizeType">
279                         <enum>Expanding</enum>
280                     </property>
281                     <property name="sizeHint">
282                         <size>
283                             <width>20</width>
284                             <height>20</height>
285                         </size>
286                     </property>
287                 </spacer>
288             </hbox>
289         </widget>
290         <widget class="QLayoutWidget">
291             <property name="name">
292                 <cstring>layout6</cstring>
293             </property>
294             <hbox>
295                 <property name="name">
296                     <cstring>unnamed</cstring>
297                 </property>
298                 <widget class="QGroupBox">
299                     <property name="name">
300                         <cstring>sessionGB</cstring>
301                     </property>
302                     <property name="title">
303                         <string>Session</string>
304                     </property>
305                     <hbox>
306                         <property name="name">
307                             <cstring>unnamed</cstring>
308                         </property>
309                         <widget class="QLayoutWidget">
310                             <property name="name">
311                                 <cstring>layout7</cstring>
312                             </property>
313                             <vbox>
314                                 <property name="name">
315                                     <cstring>unnamed</cstring>
316                                 </property>
317                                 <widget class="QCheckBox">
318                                     <property name="name">
319                                         <cstring>restoreCursorCB</cstring>
320                                     </property>
321                                     <property name="text">
322                                         <string>Restore cursor positions</string>
323                                     </property>
324                                     <property name="checked">
325                                         <bool>true</bool>
326                                     </property>
327                                     <property name="toolTip" stdset="0">
328                                         <string>Restore to cursor position when the file was last closed</string>
329                                     </property>
330                                 </widget>
331                                 <widget class="QCheckBox">
332                                     <property name="name">
333                                         <cstring>loadSessionCB</cstring>
334                                     </property>
335                                     <property name="text">
336                                         <string>Load opened files from last session</string>
337                                     </property>
338                                 </widget>
339                             </vbox>
340                         </widget>
341                     </hbox>
342                 </widget>
343                 <spacer>
344                     <property name="name">
345                         <cstring>spacer4</cstring>
346                     </property>
347                     <property name="orientation">
348                         <enum>Horizontal</enum>
349                     </property>
350                     <property name="sizeType">
351                         <enum>Expanding</enum>
352                     </property>
353                     <property name="sizeHint">
354                         <size>
355                             <width>81</width>
356                             <height>31</height>
357                         </size>
358                     </property>
359                 </spacer>
360             </hbox>
361         </widget>
362         <widget class="QCheckBox">
363             <property name="name">
364                 <cstring>cursorFollowsCB</cstring>
365             </property>
366             <property name="text">
367                 <string>Cursor follows &amp;scrollbar</string>
368             </property>
369             <property name="accel">
370                 <string>Alt+S</string>
371             </property>
372         </widget>
373         <spacer>
374             <property name="name">
375                 <cstring>Spacer7</cstring>
376             </property>
377             <property name="orientation">
378                 <enum>Vertical</enum>
379             </property>
380             <property name="sizeType">
381                 <enum>Expanding</enum>
382             </property>
383             <property name="sizeHint">
384                 <size>
385                     <width>20</width>
386                     <height>90</height>
387                 </size>
388             </property>
389         </spacer>
390     </vbox>
391 </widget>
392 <connections>
393     <connection>
394         <sender>autoSaveCB</sender>
395         <signal>toggled(bool)</signal>
396         <receiver>autoSaveLA</receiver>
397         <slot>setEnabled(bool)</slot>
398     </connection>
399     <connection>
400         <sender>autoSaveCB</sender>
401         <signal>toggled(bool)</signal>
402         <receiver>autoSaveSB</receiver>
403         <slot>setEnabled(bool)</slot>
404     </connection>
405     <connection>
406         <sender>autoSaveCB</sender>
407         <signal>toggled(bool)</signal>
408         <receiver>TextLabel1</receiver>
409         <slot>setEnabled(bool)</slot>
410     </connection>
411 </connections>
412 <tabstops>
413     <tabstop>uiFileED</tabstop>
414     <tabstop>uiFilePB</tabstop>
415     <tabstop>bindFileED</tabstop>
416     <tabstop>bindFilePB</tabstop>
417     <tabstop>cursorFollowsCB</tabstop>
418     <tabstop>autoSaveCB</tabstop>
419     <tabstop>autoSaveSB</tabstop>
420     <tabstop>lastfilesSB</tabstop>
421 </tabstops>
422 <includes>
423     <include location="global" impldecl="in implementation">config.h</include>
424     <include location="local" impldecl="in implementation">qt_helpers.h</include>
425 </includes>
426 <layoutdefaults spacing="6" margin="11"/>
427 </UI>