]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/PrefDocHandlingUi.ui
On Linux show in crash message box the backtrace
[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>403</width>
10     <height>416</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="text">
145          <string>&amp;Save documents compressed by default</string>
146         </property>
147        </widget>
148       </item>
149      </layout>
150     </widget>
151    </item>
152    <item row="2" column="0">
153     <widget class="QGroupBox" name="tabsGB">
154      <property name="title">
155       <string>Windows &amp;&amp; work area</string>
156      </property>
157      <property name="flat">
158       <bool>true</bool>
159      </property>
160      <layout class="QGridLayout" name="gridLayout">
161       <item row="0" column="0">
162        <widget class="QCheckBox" name="openDocumentsInTabsCB">
163         <property name="text">
164          <string>Open documents in &amp;tabs</string>
165         </property>
166        </widget>
167       </item>
168       <item row="1" column="0">
169        <widget class="QCheckBox" name="singleInstanceCB">
170         <property name="toolTip">
171          <string>Whether to open documents in an already running instance of LyX.&#x0a;(Set the LyXServer pipe path and restart LyX to enable this feature)</string>
172         </property>
173         <property name="text">
174          <string>Use s&amp;ingle instance</string>
175         </property>
176        </widget>
177       </item>
178       <item row="2" column="0">
179        <widget class="QCheckBox" name="singleCloseTabButtonCB">
180         <property name="toolTip">
181          <string>Whether to place close button on each tab or only one in the top left.</string>
182         </property>
183         <property name="text">
184          <string>Displa&amp;y single close-tab button</string>
185         </property>
186        </widget>
187       </item>
188       <item row="3" column="0">
189        <layout class="QHBoxLayout" name="horizontalLayout">
190         <item>
191          <widget class="QLabel" name="label">
192           <property name="text">
193            <string>Closing last &amp;view:</string>
194           </property>
195           <property name="buddy">
196            <cstring>closeLastViewCO</cstring>
197           </property>
198          </widget>
199         </item>
200         <item>
201          <widget class="QComboBox" name="closeLastViewCO">
202           <item>
203            <property name="text">
204             <string>Closes document</string>
205            </property>
206           </item>
207           <item>
208            <property name="text">
209             <string>Hides document</string>
210            </property>
211           </item>
212           <item>
213            <property name="text">
214             <string>Ask the user</string>
215            </property>
216           </item>
217          </widget>
218         </item>
219         <item>
220          <spacer name="horizontalSpacer_2">
221           <property name="orientation">
222            <enum>Qt::Horizontal</enum>
223           </property>
224           <property name="sizeHint" stdset="0">
225            <size>
226             <width>40</width>
227             <height>20</height>
228            </size>
229           </property>
230          </spacer>
231         </item>
232        </layout>
233       </item>
234      </layout>
235     </widget>
236    </item>
237    <item row="3" column="0">
238     <spacer>
239      <property name="orientation">
240       <enum>Qt::Vertical</enum>
241      </property>
242      <property name="sizeHint" stdset="0">
243       <size>
244        <width>395</width>
245        <height>16</height>
246       </size>
247      </property>
248     </spacer>
249    </item>
250   </layout>
251  </widget>
252  <layoutdefault spacing="4" margin="9"/>
253  <tabstops>
254   <tabstop>restoreCursorCB</tabstop>
255   <tabstop>loadSessionCB</tabstop>
256   <tabstop>clearSessionPB</tabstop>
257   <tabstop>backupCB</tabstop>
258   <tabstop>autoSaveCB</tabstop>
259   <tabstop>autoSaveSB</tabstop>
260   <tabstop>saveCompressedCB</tabstop>
261  </tabstops>
262  <includes>
263   <include location="local">qt_i18n.h</include>
264  </includes>
265  <resources/>
266  <connections/>
267 </ui>