]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/PrefDocHandlingUi.ui
Clarify "Save compressed by default" feature (bug 7822)
[lyx.git] / src / frontends / qt4 / ui / PrefDocHandlingUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PrefDocHandlingUi</class>
4  <widget class="QWidget" name="PrefDocHandlingUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>413</width>
10     <height>497</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string/>
21   </property>
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>
27      </property>
28      <property name="flat">
29       <bool>true</bool>
30      </property>
31      <layout class="QGridLayout" name="gridLayout_3">
32       <item row="0" column="0">
33        <widget class="QCheckBox" name="allowGeometrySessionCB">
34         <property name="enabled">
35          <bool>true</bool>
36         </property>
37         <property name="text">
38          <string>Restore window layouts and &amp;geometries</string>
39         </property>
40        </widget>
41       </item>
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>
46         </property>
47         <property name="text">
48          <string>Restore cursor &amp;positions</string>
49         </property>
50        </widget>
51       </item>
52       <item row="2" column="0">
53        <widget class="QCheckBox" name="loadSessionCB">
54         <property name="text">
55          <string>&amp;Load opened files from last session</string>
56         </property>
57        </widget>
58       </item>
59       <item row="3" column="0">
60        <widget class="QPushButton" name="clearSessionPB">
61         <property name="text">
62          <string>&amp;Clear all session information</string>
63         </property>
64        </widget>
65       </item>
66       <item row="3" column="1">
67        <spacer name="horizontalSpacer">
68         <property name="orientation">
69          <enum>Qt::Horizontal</enum>
70         </property>
71         <property name="sizeHint" stdset="0">
72          <size>
73           <width>225</width>
74           <height>20</height>
75          </size>
76         </property>
77        </spacer>
78       </item>
79      </layout>
80     </widget>
81    </item>
82    <item row="1" column="0">
83     <widget class="QGroupBox" name="documentsGB">
84      <property name="title">
85       <string>Backup &amp;&amp; Saving</string>
86      </property>
87      <property name="flat">
88       <bool>true</bool>
89      </property>
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 &amp;original documents when saving</string>
95         </property>
96        </widget>
97       </item>
98       <item row="1" column="0">
99        <layout class="QHBoxLayout" name="horizontalLayout_2">
100         <item>
101          <widget class="QCheckBox" name="autoSaveCB">
102           <property name="text">
103            <string>&amp;Backup documents, every</string>
104           </property>
105          </widget>
106         </item>
107         <item>
108          <widget class="QSpinBox" name="autoSaveSB">
109           <property name="minimum">
110            <number>1</number>
111           </property>
112           <property name="maximum">
113            <number>300</number>
114           </property>
115          </widget>
116         </item>
117         <item>
118          <widget class="QLabel" name="TextLabel1">
119           <property name="text">
120            <string>&amp;minutes</string>
121           </property>
122           <property name="buddy">
123            <cstring>autoSaveSB</cstring>
124           </property>
125          </widget>
126         </item>
127         <item>
128          <spacer>
129           <property name="orientation">
130            <enum>Qt::Horizontal</enum>
131           </property>
132           <property name="sizeHint" stdset="0">
133            <size>
134             <width>61</width>
135             <height>21</height>
136            </size>
137           </property>
138          </spacer>
139         </item>
140        </layout>
141       </item>
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.
146 Existing documents will still be saved in their current state (compressed or uncompressed).</string>
147         </property>
148         <property name="text">
149          <string>&amp;Save new documents compressed by default</string>
150         </property>
151        </widget>
152       </item>
153      </layout>
154     </widget>
155    </item>
156    <item row="2" column="0">
157     <widget class="QGroupBox" name="tabsGB">
158      <property name="title">
159       <string>Windows &amp;&amp; Work Area</string>
160      </property>
161      <property name="flat">
162       <bool>true</bool>
163      </property>
164      <layout class="QGridLayout" name="gridLayout">
165       <item row="0" column="0">
166        <widget class="QCheckBox" name="openDocumentsInTabsCB">
167         <property name="text">
168          <string>Open documents in &amp;tabs</string>
169         </property>
170        </widget>
171       </item>
172       <item row="1" column="0">
173        <widget class="QCheckBox" name="singleInstanceCB">
174         <property name="toolTip">
175          <string>Whether to open documents in an already running instance of LyX.
176 (Set the LyXServer pipe path and restart LyX to enable this feature)</string>
177         </property>
178         <property name="text">
179          <string>Use s&amp;ingle instance</string>
180         </property>
181        </widget>
182       </item>
183       <item row="2" column="0">
184        <widget class="QCheckBox" name="singleCloseTabButtonCB">
185         <property name="toolTip">
186          <string>Whether to place close button on each tab or only one in the top left.</string>
187         </property>
188         <property name="text">
189          <string>Displa&amp;y single close-tab button</string>
190         </property>
191        </widget>
192       </item>
193       <item row="3" column="0">
194        <layout class="QHBoxLayout" name="horizontalLayout">
195         <item>
196          <widget class="QLabel" name="label">
197           <property name="text">
198            <string>Closing last &amp;view:</string>
199           </property>
200           <property name="buddy">
201            <cstring>closeLastViewCO</cstring>
202           </property>
203          </widget>
204         </item>
205         <item>
206          <widget class="QComboBox" name="closeLastViewCO">
207           <item>
208            <property name="text">
209             <string>Closes document</string>
210            </property>
211           </item>
212           <item>
213            <property name="text">
214             <string>Hides document</string>
215            </property>
216           </item>
217           <item>
218            <property name="text">
219             <string>Ask the user</string>
220            </property>
221           </item>
222          </widget>
223         </item>
224         <item>
225          <spacer name="horizontalSpacer_2">
226           <property name="orientation">
227            <enum>Qt::Horizontal</enum>
228           </property>
229           <property name="sizeHint" stdset="0">
230            <size>
231             <width>40</width>
232             <height>20</height>
233            </size>
234           </property>
235          </spacer>
236         </item>
237        </layout>
238       </item>
239      </layout>
240     </widget>
241    </item>
242    <item row="3" column="0">
243     <spacer>
244      <property name="orientation">
245       <enum>Qt::Vertical</enum>
246      </property>
247      <property name="sizeHint" stdset="0">
248       <size>
249        <width>395</width>
250        <height>16</height>
251       </size>
252      </property>
253     </spacer>
254    </item>
255   </layout>
256  </widget>
257  <layoutdefault spacing="4" margin="9"/>
258  <tabstops>
259   <tabstop>restoreCursorCB</tabstop>
260   <tabstop>loadSessionCB</tabstop>
261   <tabstop>clearSessionPB</tabstop>
262   <tabstop>backupCB</tabstop>
263   <tabstop>autoSaveCB</tabstop>
264   <tabstop>autoSaveSB</tabstop>
265   <tabstop>saveCompressedCB</tabstop>
266  </tabstops>
267  <includes>
268   <include location="local">qt_i18n.h</include>
269  </includes>
270  <resources/>
271  <connections/>
272 </ui>