]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/PrefUi.ui
Use QSettings for session management of windows geometry. This commit also removes...
[lyx.git] / src / frontends / qt4 / ui / PrefUi.ui
1 <ui version="4.0" >
2  <class>PrefUi</class>
3  <widget class="QWidget" name="PrefUi" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>398</width>
9     <height>565</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy>
14     <hsizetype>0</hsizetype>
15     <vsizetype>0</vsizetype>
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle" >
21    <string/>
22   </property>
23   <layout class="QGridLayout" >
24    <property name="margin" >
25     <number>9</number>
26    </property>
27    <property name="spacing" >
28     <number>6</number>
29    </property>
30    <item row="2" column="0" colspan="3" >
31     <widget class="QGroupBox" name="documentsGB" >
32      <property name="title" >
33       <string>Documents</string>
34      </property>
35      <property name="flat" >
36       <bool>true</bool>
37      </property>
38      <layout class="QGridLayout" >
39       <property name="margin" >
40        <number>9</number>
41       </property>
42       <property name="spacing" >
43        <number>6</number>
44       </property>
45       <item row="0" column="1" >
46        <widget class="QSpinBox" name="autoSaveSB" >
47         <property name="maximum" >
48          <number>300</number>
49         </property>
50         <property name="minimum" >
51          <number>1</number>
52         </property>
53        </widget>
54       </item>
55       <item row="0" column="0" >
56        <widget class="QCheckBox" name="autoSaveCB" >
57         <property name="text" >
58          <string>B&amp;ackup documents, every</string>
59         </property>
60        </widget>
61       </item>
62       <item row="0" column="2" >
63        <widget class="QLabel" name="TextLabel1" >
64         <property name="text" >
65          <string>minutes</string>
66         </property>
67        </widget>
68       </item>
69       <item row="0" column="3" >
70        <spacer>
71         <property name="orientation" >
72          <enum>Qt::Horizontal</enum>
73         </property>
74         <property name="sizeHint" >
75          <size>
76           <width>40</width>
77           <height>20</height>
78          </size>
79         </property>
80        </spacer>
81       </item>
82       <item row="1" column="0" colspan="4" >
83        <layout class="QHBoxLayout" >
84         <property name="margin" >
85          <number>0</number>
86         </property>
87         <property name="spacing" >
88          <number>6</number>
89         </property>
90         <item>
91          <widget class="QLabel" name="lastfilesLA" >
92           <property name="text" >
93            <string>&amp;Maximum last files:</string>
94           </property>
95           <property name="buddy" >
96            <cstring>lastfilesSB</cstring>
97           </property>
98          </widget>
99         </item>
100         <item>
101          <widget class="QSpinBox" name="lastfilesSB" >
102           <property name="maximum" >
103            <number>9</number>
104           </property>
105          </widget>
106         </item>
107         <item>
108          <spacer>
109           <property name="orientation" >
110            <enum>Qt::Horizontal</enum>
111           </property>
112           <property name="sizeHint" >
113            <size>
114             <width>40</width>
115             <height>20</height>
116            </size>
117           </property>
118          </spacer>
119         </item>
120        </layout>
121       </item>
122      </layout>
123     </widget>
124    </item>
125    <item row="1" column="0" colspan="2" >
126     <widget class="QGroupBox" name="GeometryGB" >
127      <property name="sizePolicy" >
128       <sizepolicy>
129        <hsizetype>0</hsizetype>
130        <vsizetype>0</vsizetype>
131        <horstretch>0</horstretch>
132        <verstretch>0</verstretch>
133       </sizepolicy>
134      </property>
135      <property name="title" >
136       <string>Session</string>
137      </property>
138      <property name="flat" >
139       <bool>true</bool>
140      </property>
141      <layout class="QGridLayout" >
142       <property name="margin" >
143        <number>9</number>
144       </property>
145       <property name="spacing" >
146        <number>6</number>
147       </property>
148       <item row="0" column="0" >
149        <widget class="QCheckBox" name="allowGeometrySessionCB" >
150         <property name="enabled" >
151          <bool>true</bool>
152         </property>
153         <property name="toolTip" >
154          <string>Restore to cursor position when the file was last closed</string>
155         </property>
156         <property name="text" >
157          <string>Allow saving/restoring of windows geometry</string>
158         </property>
159        </widget>
160       </item>
161       <item row="2" column="0" >
162        <widget class="QCheckBox" name="loadSessionCB" >
163         <property name="text" >
164          <string>Load opened files from last session</string>
165         </property>
166        </widget>
167       </item>
168       <item row="1" column="0" >
169        <widget class="QCheckBox" name="restoreCursorCB" >
170         <property name="text" >
171          <string>Restore cursor positions</string>
172         </property>
173        </widget>
174       </item>
175      </layout>
176     </widget>
177    </item>
178    <item row="5" column="1" >
179     <spacer>
180      <property name="orientation" >
181       <enum>Qt::Vertical</enum>
182      </property>
183      <property name="sizeHint" >
184       <size>
185        <width>20</width>
186        <height>40</height>
187       </size>
188      </property>
189     </spacer>
190    </item>
191    <item row="4" column="0" colspan="3" >
192     <widget class="QGroupBox" name="pixmapCacheGB" >
193      <property name="title" >
194       <string>Pixmap Cache</string>
195      </property>
196      <property name="alignment" >
197       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
198      </property>
199      <property name="flat" >
200       <bool>true</bool>
201      </property>
202      <layout class="QGridLayout" >
203       <property name="margin" >
204        <number>9</number>
205       </property>
206       <property name="spacing" >
207        <number>6</number>
208       </property>
209       <item row="0" column="0" >
210        <widget class="QCheckBox" name="pixmapCacheCB" >
211         <property name="toolTip" >
212          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
213 p, li { white-space: pre-wrap; }
214 &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
215 &lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Checking this improves performance, but might decrease the on-screen quality of fonts.&lt;/p>&lt;/body>&lt;/html></string>
216         </property>
217         <property name="text" >
218          <string>Enable Pi&amp;xmap Cache</string>
219         </property>
220        </widget>
221       </item>
222      </layout>
223     </widget>
224    </item>
225    <item row="3" column="0" colspan="3" >
226     <widget class="QGroupBox" name="scrollGB" >
227      <property name="title" >
228       <string>Editing</string>
229      </property>
230      <property name="alignment" >
231       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
232      </property>
233      <property name="flat" >
234       <bool>true</bool>
235      </property>
236      <layout class="QGridLayout" >
237       <property name="margin" >
238        <number>9</number>
239       </property>
240       <property name="spacing" >
241        <number>6</number>
242       </property>
243       <item row="0" column="0" >
244        <widget class="QCheckBox" name="cursorFollowsCB" >
245         <property name="text" >
246          <string>Cursor follows &amp;scrollbar</string>
247         </property>
248        </widget>
249       </item>
250       <item row="1" column="0" >
251        <widget class="QCheckBox" name="sortEnvironmentsCB" >
252         <property name="text" >
253          <string>Sort &amp;Environments alphabetically</string>
254         </property>
255        </widget>
256       </item>
257      </layout>
258     </widget>
259    </item>
260    <item row="0" column="2" >
261     <widget class="QPushButton" name="uiFilePB" >
262      <property name="text" >
263       <string>Bro&amp;wse...</string>
264      </property>
265     </widget>
266    </item>
267    <item row="0" column="1" >
268     <widget class="QLineEdit" name="uiFileED" />
269    </item>
270    <item row="0" column="0" >
271     <widget class="QLabel" name="uiFileLA" >
272      <property name="text" >
273       <string>&amp;User interface file:</string>
274      </property>
275      <property name="buddy" >
276       <cstring>uiFileED</cstring>
277      </property>
278     </widget>
279    </item>
280   </layout>
281  </widget>
282  <tabstops>
283   <tabstop>uiFileED</tabstop>
284   <tabstop>uiFilePB</tabstop>
285   <tabstop>allowGeometrySessionCB</tabstop>
286   <tabstop>restoreCursorCB</tabstop>
287   <tabstop>loadSessionCB</tabstop>
288   <tabstop>autoSaveCB</tabstop>
289   <tabstop>autoSaveSB</tabstop>
290   <tabstop>lastfilesSB</tabstop>
291   <tabstop>cursorFollowsCB</tabstop>
292  </tabstops>
293  <includes>
294   <include location="local" >qt_helpers.h</include>
295  </includes>
296  <resources/>
297  <connections/>
298 </ui>