]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/PrefUi.ui
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / ui / PrefUi.ui
index 6747fb3967b6efb099160ea3ada2b4a8371e6060..08818760c3092419214fa250541b1a1788acfd6a 100644 (file)
@@ -5,8 +5,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>398</width>
-    <height>565</height>
+    <width>459</width>
+    <height>459</height>
    </rect>
   </property>
   <property name="sizePolicy" >
@@ -28,9 +28,9 @@
     <number>6</number>
    </property>
    <item row="2" column="0" colspan="3" >
-    <widget class="QGroupBox" name="documentsGB" >
+    <widget class="QGroupBox" name="GeometryGB" >
      <property name="title" >
-      <string>Documents</string>
+      <string>Session</string>
      </property>
      <property name="flat" >
       <bool>true</bool>
        <number>9</number>
       </property>
       <property name="spacing" >
-       <number>6</number>
+       <number>4</number>
       </property>
-      <item row="0" column="1" >
-       <widget class="QSpinBox" name="autoSaveSB" >
-        <property name="maximum" >
-         <number>300</number>
+      <item row="0" column="0" >
+       <widget class="QCheckBox" name="allowGeometrySessionCB" >
+        <property name="enabled" >
+         <bool>true</bool>
         </property>
-        <property name="minimum" >
-         <number>1</number>
+        <property name="text" >
+         <string>Restore window layouts and &amp;geometries</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QCheckBox" name="autoSaveCB" >
+      <item row="1" column="0" >
+       <widget class="QCheckBox" name="restoreCursorCB" >
+        <property name="toolTip" >
+         <string>Restore to the cursor position when the file was last closed</string>
+        </property>
         <property name="text" >
-         <string>B&amp;ackup documents, every</string>
+         <string>Restore cursor &amp;positions</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="2" >
-       <widget class="QLabel" name="TextLabel1" >
+      <item row="2" column="0" >
+       <widget class="QCheckBox" name="loadSessionCB" >
         <property name="text" >
-         <string>minutes</string>
+         <string>&amp;Load opened files from last session</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="3" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" >
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
+      <item row="3" column="0" >
+       <widget class="QPushButton" name="clearSessionPB" >
+        <property name="text" >
+         <string>Clear all session &amp;information</string>
         </property>
-       </spacer>
+       </widget>
       </item>
-      <item row="1" column="0" colspan="4" >
+     </layout>
+    </widget>
+   </item>
+   <item row="3" column="0" colspan="3" >
+    <widget class="QGroupBox" name="documentsGB" >
+     <property name="title" >
+      <string>Documents</string>
+     </property>
+     <property name="flat" >
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="2" column="0" colspan="4" >
        <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>0</number>
-        </property>
         <property name="spacing" >
          <number>6</number>
         </property>
+        <property name="margin" >
+         <number>0</number>
+        </property>
         <item>
          <widget class="QLabel" name="lastfilesLA" >
           <property name="text" >
           <property name="orientation" >
            <enum>Qt::Horizontal</enum>
           </property>
-          <property name="sizeHint" >
+          <property name="sizeHint" stdset="0" >
            <size>
             <width>40</width>
             <height>20</height>
         </item>
        </layout>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="1" column="0" colspan="2" >
-    <widget class="QGroupBox" name="GeometryGB" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>0</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="title" >
-      <string>Session</string>
-     </property>
-     <property name="flat" >
-      <bool>true</bool>
-     </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>9</number>
+      <item row="0" column="0" colspan="4">
+      <widget class="QCheckBox" name="backupCB">
+      <property name="text">
+      <string>Backup original documents when saving</string>
       </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="0" >
-       <widget class="QCheckBox" name="allowGeometrySessionCB" >
-        <property name="enabled" >
-         <bool>true</bool>
+      </widget>
+      </item>
+      <item row="1" column="3" >
+       <spacer>
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
         </property>
-        <property name="toolTip" >
-         <string>Restore to cursor position when the file was last closed</string>
+        <property name="sizeHint" stdset="0" >
+         <size>
+          <width>61</width>
+          <height>21</height>
+         </size>
         </property>
+       </spacer>
+      </item>
+      <item row="1" column="2" >
+       <widget class="QLabel" name="TextLabel1" >
         <property name="text" >
-         <string>Allow saving/restoring of windows geometry</string>
+         <string>minutes</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="0" >
-       <widget class="QCheckBox" name="loadSessionCB" >
-        <property name="text" >
-         <string>Load opened files from last session</string>
+      <item row="1" column="1" >
+       <widget class="QSpinBox" name="autoSaveSB" >
+        <property name="minimum" >
+         <number>1</number>
+        </property>
+        <property name="maximum" >
+         <number>300</number>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
-       <widget class="QCheckBox" name="restoreCursorCB" >
+       <widget class="QCheckBox" name="autoSaveCB" >
         <property name="text" >
-         <string>Restore cursor positions</string>
+         <string>&amp;Backup documents, every</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0" colspan="4" >
+       <widget class="QCheckBox" name="openDocumentsInTabsCB" >
+        <property name="text" >
+         <string>&amp;Open documents in tabs</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="0" >
+       <widget class="QCheckBox" name="singleCloseTabButtonCB" >
+        <property name="toolTip" >
+         <string>Whether to place close button on each tab or only one in the top left.</string>
+        </property>
+        <property name="text" >
+         <string>&amp;Single close-tab button</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="5" column="1" >
+   <item row="6" column="0" colspan="3" >
     <spacer>
      <property name="orientation" >
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeHint" >
+     <property name="sizeHint" stdset="0" >
       <size>
-       <width>20</width>
-       <height>40</height>
+       <width>395</width>
+       <height>16</height>
       </size>
      </property>
     </spacer>
    </item>
-   <item row="4" column="0" colspan="3" >
-    <widget class="QGroupBox" name="pixmapCacheGB" >
+   <item row="1" column="0" colspan="3" >
+    <widget class="QGroupBox" name="pixmapCacheGB_2" >
      <property name="title" >
-      <string>Pixmap Cache</string>
+      <string>Automatic help</string>
      </property>
      <property name="alignment" >
       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
        <number>9</number>
       </property>
       <property name="spacing" >
-       <number>6</number>
+       <number>4</number>
       </property>
       <item row="0" column="0" >
-       <widget class="QCheckBox" name="pixmapCacheCB" >
+       <widget class="QCheckBox" name="tooltipCB" >
         <property name="toolTip" >
-         <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Checking this improves performance, but might decrease the on-screen quality of fonts.&lt;/p>&lt;/body>&lt;/html></string>
+         <string>Checking this allow the automatic display of helpful comments for insets in the main work area of an edited document</string>
         </property>
         <property name="text" >
-         <string>Enable Pi&amp;xmap Cache</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="3" column="0" colspan="3" >
-    <widget class="QGroupBox" name="scrollGB" >
-     <property name="title" >
-      <string>Editing</string>
-     </property>
-     <property name="alignment" >
-      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
-     </property>
-     <property name="flat" >
-      <bool>true</bool>
-     </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="0" >
-       <widget class="QCheckBox" name="cursorFollowsCB" >
-        <property name="text" >
-         <string>Cursor follows &amp;scrollbar</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0" >
-       <widget class="QCheckBox" name="sortEnvironmentsCB" >
-        <property name="text" >
-         <string>Sort &amp;Environments alphabetically</string>
+         <string>&amp;Enable tool tips in main work area</string>
         </property>
        </widget>
       </item>
@@ -279,19 +264,21 @@ p, li { white-space: pre-wrap; }
    </item>
   </layout>
  </widget>
+ <layoutdefault spacing="4" margin="9" />
  <tabstops>
   <tabstop>uiFileED</tabstop>
   <tabstop>uiFilePB</tabstop>
-  <tabstop>allowGeometrySessionCB</tabstop>
+  <tabstop>tooltipCB</tabstop>
   <tabstop>restoreCursorCB</tabstop>
+  <tabstop>allowGeometrySessionCB</tabstop>
   <tabstop>loadSessionCB</tabstop>
   <tabstop>autoSaveCB</tabstop>
   <tabstop>autoSaveSB</tabstop>
   <tabstop>lastfilesSB</tabstop>
-  <tabstop>cursorFollowsCB</tabstop>
+  <tabstop>openDocumentsInTabsCB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>