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="Expanding" vsizetype="Expanding">
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="toolTip">
145 <string>If this is checked, new documents will be saved in a compressed binary-format by default.
Existing documents will still be saved in their current state (compressed or uncompressed).</string>
147 <property name="text">
148 <string>&Save new documents compressed by default</string>
152 <item row="3" column="0">
153 <widget class="QCheckBox" name="saveOriginCB">
154 <property name="toolTip">
155 <string>If this is checked, the document directory path will be saved in the document.
This allows moving the document elsewhere and still finding the included files.</string>
157 <property name="text">
158 <string>Save the &document directory path</string>
165 <item row="2" column="0">
166 <widget class="QGroupBox" name="tabsGB">
167 <property name="title">
168 <string>Windows && Work Area</string>
170 <property name="flat">
173 <layout class="QGridLayout" name="gridLayout">
174 <item row="0" column="0">
175 <widget class="QCheckBox" name="openDocumentsInTabsCB">
176 <property name="text">
177 <string>Open documents in &tabs</string>
181 <item row="1" column="0">
182 <widget class="QCheckBox" name="singleInstanceCB">
183 <property name="toolTip">
184 <string>Whether to open documents in an already running instance of LyX.
(Set the LyXServer pipe path and restart LyX to enable this feature)</string>
186 <property name="text">
187 <string>Use s&ingle instance</string>
191 <item row="2" column="0">
192 <widget class="QCheckBox" name="singleCloseTabButtonCB">
193 <property name="toolTip">
194 <string>Whether to place close button on each tab or only one in the top left.</string>
196 <property name="text">
197 <string>Displa&y single close-tab button</string>
201 <item row="3" column="0">
202 <layout class="QHBoxLayout" name="horizontalLayout">
204 <widget class="QLabel" name="label">
205 <property name="text">
206 <string>Closing last &view:</string>
208 <property name="buddy">
209 <cstring>closeLastViewCO</cstring>
214 <widget class="QComboBox" name="closeLastViewCO">
216 <property name="text">
217 <string>Closes document</string>
221 <property name="text">
222 <string>Hides document</string>
226 <property name="text">
227 <string>Ask the user</string>
233 <spacer name="horizontalSpacer_2">
234 <property name="orientation">
235 <enum>Qt::Horizontal</enum>
237 <property name="sizeHint" stdset="0">
250 <item row="3" column="0">
252 <property name="orientation">
253 <enum>Qt::Vertical</enum>
255 <property name="sizeHint" stdset="0">
265 <layoutdefault spacing="4" margin="9"/>
267 <tabstop>restoreCursorCB</tabstop>
268 <tabstop>loadSessionCB</tabstop>
269 <tabstop>clearSessionPB</tabstop>
270 <tabstop>backupCB</tabstop>
271 <tabstop>autoSaveCB</tabstop>
272 <tabstop>autoSaveSB</tabstop>
273 <tabstop>saveCompressedCB</tabstop>
274 <tabstop>saveOriginCB</tabstop>
277 <include location="local">qt_i18n.h</include>