]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/ui/PrefDocHandlingUi.ui
Few string fixes from Dan.
[lyx.git] / src / frontends / qt / 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>853</width>
10     <height>575</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="toolTip">
103            <string>If this is checked, LyX saves a temporary copy of changed documents in the given interval (as #filename.lyx# in the given directory). As opposed to the backup above, this snapshot will be removed when changes are being saved. If the application crashes with unsaved changes and the restoration from the emergency file (named filename.lyx.emergency) fails, this snapshot can be at rescue.</string>
104           </property>
105           <property name="text">
106            <string>Make a&amp;uto-save snapshots every[[ N minutes]]</string>
107           </property>
108          </widget>
109         </item>
110         <item>
111          <widget class="QSpinBox" name="autoSaveSB">
112           <property name="minimum">
113            <number>1</number>
114           </property>
115           <property name="maximum">
116            <number>300</number>
117           </property>
118          </widget>
119         </item>
120         <item>
121          <widget class="QLabel" name="TextLabel1">
122           <property name="text">
123            <string>[[Make auto-save snapshots every N ]]&amp;minutes</string>
124           </property>
125           <property name="buddy">
126            <cstring>autoSaveSB</cstring>
127           </property>
128          </widget>
129         </item>
130         <item>
131          <spacer>
132           <property name="orientation">
133            <enum>Qt::Horizontal</enum>
134           </property>
135           <property name="sizeHint" stdset="0">
136            <size>
137             <width>61</width>
138             <height>21</height>
139            </size>
140           </property>
141          </spacer>
142         </item>
143        </layout>
144       </item>
145       <item row="2" column="0">
146        <widget class="QCheckBox" name="saveCompressedCB">
147         <property name="toolTip">
148          <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>
149         </property>
150         <property name="text">
151          <string>&amp;Save new documents compressed by default</string>
152         </property>
153        </widget>
154       </item>
155       <item row="3" column="0">
156        <widget class="QCheckBox" name="saveOriginCB">
157         <property name="toolTip">
158          <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>
159         </property>
160         <property name="text">
161          <string>Save the &amp;document directory path</string>
162         </property>
163        </widget>
164       </item>
165      </layout>
166     </widget>
167    </item>
168    <item row="2" column="0">
169     <widget class="QGroupBox" name="tabsGB">
170      <property name="title">
171       <string>Windows &amp;&amp; Work Area</string>
172      </property>
173      <property name="flat">
174       <bool>true</bool>
175      </property>
176      <layout class="QGridLayout" name="gridLayout">
177       <item row="0" column="0">
178        <widget class="QCheckBox" name="openDocumentsInTabsCB">
179         <property name="text">
180          <string>Open documents in &amp;tabs</string>
181         </property>
182        </widget>
183       </item>
184       <item row="1" column="0">
185        <widget class="QCheckBox" name="singleInstanceCB">
186         <property name="toolTip">
187          <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>
188         </property>
189         <property name="text">
190          <string>Use s&amp;ingle instance</string>
191         </property>
192        </widget>
193       </item>
194       <item row="2" column="0">
195        <widget class="QCheckBox" name="singleCloseTabButtonCB">
196         <property name="toolTip">
197          <string>Whether to place close button on each tab or only one in the top right.</string>
198         </property>
199         <property name="text">
200          <string>Displa&amp;y single close-tab button</string>
201         </property>
202        </widget>
203       </item>
204       <item row="3" column="0">
205        <layout class="QHBoxLayout" name="horizontalLayout">
206         <item>
207          <widget class="QLabel" name="label">
208           <property name="text">
209            <string>Closing last &amp;view:</string>
210           </property>
211           <property name="buddy">
212            <cstring>closeLastViewCO</cstring>
213           </property>
214          </widget>
215         </item>
216         <item>
217          <widget class="QComboBox" name="closeLastViewCO">
218           <item>
219            <property name="text">
220             <string>Closes document</string>
221            </property>
222           </item>
223           <item>
224            <property name="text">
225             <string>Hides document</string>
226            </property>
227           </item>
228           <item>
229            <property name="text">
230             <string>Ask the user</string>
231            </property>
232           </item>
233          </widget>
234         </item>
235         <item>
236          <spacer name="horizontalSpacer_2">
237           <property name="orientation">
238            <enum>Qt::Horizontal</enum>
239           </property>
240           <property name="sizeHint" stdset="0">
241            <size>
242             <width>40</width>
243             <height>20</height>
244            </size>
245           </property>
246          </spacer>
247         </item>
248        </layout>
249       </item>
250      </layout>
251     </widget>
252    </item>
253    <item row="3" column="0">
254     <spacer>
255      <property name="orientation">
256       <enum>Qt::Vertical</enum>
257      </property>
258      <property name="sizeHint" stdset="0">
259       <size>
260        <width>395</width>
261        <height>16</height>
262       </size>
263      </property>
264     </spacer>
265    </item>
266   </layout>
267  </widget>
268  <layoutdefault spacing="4" margin="9"/>
269  <tabstops>
270   <tabstop>restoreCursorCB</tabstop>
271   <tabstop>loadSessionCB</tabstop>
272   <tabstop>clearSessionPB</tabstop>
273   <tabstop>backupCB</tabstop>
274   <tabstop>autoSaveCB</tabstop>
275   <tabstop>autoSaveSB</tabstop>
276   <tabstop>saveCompressedCB</tabstop>
277   <tabstop>saveOriginCB</tabstop>
278  </tabstops>
279  <includes>
280   <include location="local">qt_i18n.h</include>
281  </includes>
282  <resources/>
283  <connections/>
284 </ui>