]> git.lyx.org Git - features.git/blob - src/frontends/qt4/ui/PrefDocHandlingUi.ui
Split the overcrowded and chaotic UI pref pane into two (#7524)
[features.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>524</width>
10     <height>440</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
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="text">
145          <string>&amp;Save documents compressed by default</string>
146         </property>
147        </widget>
148       </item>
149       <item row="3" column="0">
150        <layout class="QHBoxLayout" name="horizontalLayout_3">
151         <item>
152          <widget class="QLabel" name="lastfilesLA">
153           <property name="text">
154            <string>Ma&amp;ximum last files:</string>
155           </property>
156           <property name="buddy">
157            <cstring>lastfilesSB</cstring>
158           </property>
159          </widget>
160         </item>
161         <item>
162          <widget class="QSpinBox" name="lastfilesSB">
163           <property name="maximum">
164            <number>9</number>
165           </property>
166          </widget>
167         </item>
168         <item>
169          <spacer>
170           <property name="orientation">
171            <enum>Qt::Horizontal</enum>
172           </property>
173           <property name="sizeHint" stdset="0">
174            <size>
175             <width>48</width>
176             <height>20</height>
177            </size>
178           </property>
179          </spacer>
180         </item>
181        </layout>
182       </item>
183      </layout>
184     </widget>
185    </item>
186    <item row="2" column="0">
187     <widget class="QGroupBox" name="tabsGB">
188      <property name="title">
189       <string>Windows &amp;&amp; work area</string>
190      </property>
191      <property name="flat">
192       <bool>true</bool>
193      </property>
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 &amp;tabs</string>
199         </property>
200        </widget>
201       </item>
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>
207         </property>
208         <property name="text">
209          <string>Use s&amp;ingle instance</string>
210         </property>
211        </widget>
212       </item>
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>
217         </property>
218         <property name="text">
219          <string>Displa&amp;y single close-tab button</string>
220         </property>
221        </widget>
222       </item>
223       <item row="3" column="0">
224        <layout class="QHBoxLayout" name="horizontalLayout">
225         <item>
226          <widget class="QLabel" name="label">
227           <property name="text">
228            <string>Closing last &amp;view:</string>
229           </property>
230           <property name="buddy">
231            <cstring>closeLastViewCO</cstring>
232           </property>
233          </widget>
234         </item>
235         <item>
236          <widget class="QComboBox" name="closeLastViewCO">
237           <item>
238            <property name="text">
239             <string>Closes document</string>
240            </property>
241           </item>
242           <item>
243            <property name="text">
244             <string>Hides document</string>
245            </property>
246           </item>
247           <item>
248            <property name="text">
249             <string>Ask the user</string>
250            </property>
251           </item>
252          </widget>
253         </item>
254         <item>
255          <spacer name="horizontalSpacer_2">
256           <property name="orientation">
257            <enum>Qt::Horizontal</enum>
258           </property>
259           <property name="sizeHint" stdset="0">
260            <size>
261             <width>40</width>
262             <height>20</height>
263            </size>
264           </property>
265          </spacer>
266         </item>
267        </layout>
268       </item>
269      </layout>
270     </widget>
271    </item>
272    <item row="3" column="0">
273     <spacer>
274      <property name="orientation">
275       <enum>Qt::Vertical</enum>
276      </property>
277      <property name="sizeHint" stdset="0">
278       <size>
279        <width>395</width>
280        <height>16</height>
281       </size>
282      </property>
283     </spacer>
284    </item>
285   </layout>
286  </widget>
287  <layoutdefault spacing="4" margin="9"/>
288  <tabstops>
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>
297  </tabstops>
298  <includes>
299   <include location="local">qt_i18n.h</include>
300  </includes>
301  <resources/>
302  <connections/>
303 </ui>