1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>PrefDocHandlingUi</class>
4 <widget class="QWidget" name="PrefDocHandlingUi">
5 <property name="geometry">
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name="windowTitle">
22 <layout class="QGridLayout" name="gridLayout_4">
23 <item row="0" column="0">
24 <widget class="QGroupBox" name="GeometryGB">
25 <property name="title">
26 <string>Session handling</string>
28 <property name="flat">
31 <layout class="QGridLayout" name="gridLayout_3">
32 <item row="0" column="0">
33 <widget class="QCheckBox" name="allowGeometrySessionCB">
34 <property name="enabled">
37 <property name="text">
38 <string>Restore window layouts and &geometries</string>
42 <item row="1" column="0">
43 <widget class="QCheckBox" name="restoreCursorCB">
44 <property name="toolTip">
45 <string>Restore to the cursor position when the file was last closed</string>
47 <property name="text">
48 <string>Restore cursor &positions</string>
52 <item row="2" column="0">
53 <widget class="QCheckBox" name="loadSessionCB">
54 <property name="text">
55 <string>&Load opened files from last session</string>
59 <item row="3" column="0">
60 <widget class="QPushButton" name="clearSessionPB">
61 <property name="text">
62 <string>&Clear all session information</string>
66 <item row="3" column="1">
67 <spacer name="horizontalSpacer">
68 <property name="orientation">
69 <enum>Qt::Horizontal</enum>
71 <property name="sizeHint" stdset="0">
82 <item row="1" column="0">
83 <widget class="QGroupBox" name="documentsGB">
84 <property name="title">
85 <string>Backup && saving</string>
87 <property name="flat">
90 <layout class="QGridLayout" name="gridLayout_2">
91 <item row="0" column="0">
92 <widget class="QCheckBox" name="backupCB">
93 <property name="text">
94 <string>Backup &original documents when saving</string>
98 <item row="1" column="0">
99 <layout class="QHBoxLayout" name="horizontalLayout_2">
101 <widget class="QCheckBox" name="autoSaveCB">
102 <property name="text">
103 <string>&Backup documents, every</string>
108 <widget class="QSpinBox" name="autoSaveSB">
109 <property name="minimum">
112 <property name="maximum">
118 <widget class="QLabel" name="TextLabel1">
119 <property name="text">
120 <string>&minutes</string>
122 <property name="buddy">
123 <cstring>autoSaveSB</cstring>
129 <property name="orientation">
130 <enum>Qt::Horizontal</enum>
132 <property name="sizeHint" stdset="0">
142 <item row="2" column="0">
143 <widget class="QCheckBox" name="saveCompressedCB">
144 <property name="text">
145 <string>&Save documents compressed by default</string>
149 <item row="3" column="0">
150 <layout class="QHBoxLayout" name="horizontalLayout_3">
152 <widget class="QLabel" name="lastfilesLA">
153 <property name="text">
154 <string>Ma&ximum last files:</string>
156 <property name="buddy">
157 <cstring>lastfilesSB</cstring>
162 <widget class="QSpinBox" name="lastfilesSB">
163 <property name="maximum">
170 <property name="orientation">
171 <enum>Qt::Horizontal</enum>
173 <property name="sizeHint" stdset="0">
186 <item row="2" column="0">
187 <widget class="QGroupBox" name="tabsGB">
188 <property name="title">
189 <string>Windows && work area</string>
191 <property name="flat">
194 <layout class="QGridLayout" name="gridLayout">
195 <item row="0" column="0">
196 <widget class="QCheckBox" name="openDocumentsInTabsCB">
197 <property name="text">
198 <string>Open documents in &tabs</string>
202 <item row="1" column="0">
203 <widget class="QCheckBox" name="singleInstanceCB">
204 <property name="toolTip">
205 <string>Whether to open documents in an already running instance of LyX.
206 (Set the LyXServer pipe path and restart LyX to enable this feature)</string>
208 <property name="text">
209 <string>Use s&ingle instance</string>
213 <item row="2" column="0">
214 <widget class="QCheckBox" name="singleCloseTabButtonCB">
215 <property name="toolTip">
216 <string>Whether to place close button on each tab or only one in the top left.</string>
218 <property name="text">
219 <string>Displa&y single close-tab button</string>
223 <item row="3" column="0">
224 <layout class="QHBoxLayout" name="horizontalLayout">
226 <widget class="QLabel" name="label">
227 <property name="text">
228 <string>Closing last &view:</string>
230 <property name="buddy">
231 <cstring>closeLastViewCO</cstring>
236 <widget class="QComboBox" name="closeLastViewCO">
238 <property name="text">
239 <string>Closes document</string>
243 <property name="text">
244 <string>Hides document</string>
248 <property name="text">
249 <string>Ask the user</string>
255 <spacer name="horizontalSpacer_2">
256 <property name="orientation">
257 <enum>Qt::Horizontal</enum>
259 <property name="sizeHint" stdset="0">
272 <item row="3" column="0">
274 <property name="orientation">
275 <enum>Qt::Vertical</enum>
277 <property name="sizeHint" stdset="0">
287 <layoutdefault spacing="4" margin="9"/>
289 <tabstop>restoreCursorCB</tabstop>
290 <tabstop>loadSessionCB</tabstop>
291 <tabstop>clearSessionPB</tabstop>
292 <tabstop>backupCB</tabstop>
293 <tabstop>autoSaveCB</tabstop>
294 <tabstop>autoSaveSB</tabstop>
295 <tabstop>saveCompressedCB</tabstop>
296 <tabstop>lastfilesSB</tabstop>
299 <include location="local">qt_i18n.h</include>