]> 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 2f3651724d504f477c1171eb3eed400aba9df5be..08818760c3092419214fa250541b1a1788acfd6a 100644 (file)
@@ -6,7 +6,7 @@
     <x>0</x>
     <y>0</y>
     <width>459</width>
-    <height>596</height>
+    <height>459</height>
    </rect>
   </property>
   <property name="sizePolicy" >
         <property name="enabled" >
          <bool>true</bool>
         </property>
-        <property name="toolTip" >
-         <string>Restore to cursor position when the file was last closed</string>
-        </property>
         <property name="text" >
-         <string>Allow saving/restoring of windows geometry</string>
+         <string>Restore window layouts and &amp;geometries</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QCheckBox" name="restoreCursorCB" >
-        <property name="text" >
-         <string>Restore cursor positions</string>
+        <property name="toolTip" >
+         <string>Restore to the cursor position when the file was last closed</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>
+         <string>Restore cursor &amp;positions</string>
         </property>
        </widget>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="5" column="0" colspan="3" >
-    <widget class="QGroupBox" name="fullscreenGB" >
-     <property name="title" >
-      <string>Fullscreen</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 rowspan="3" row="0" column="2" >
-       <widget class="QGroupBox" name="fullscreenLimitGB" >
-        <property name="title" >
-         <string>&amp;Limit text width</string>
-        </property>
-        <property name="checkable" >
-         <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="1" >
-          <widget class="QSpinBox" name="fullscreenWidthSB" >
-           <property name="maximum" >
-            <number>10000</number>
-           </property>
-           <property name="minimum" >
-            <number>0</number>
-           </property>
-           <property name="singleStep" >
-            <number>10</number>
-           </property>
-           <property name="value" >
-            <number>700</number>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="0" >
-          <widget class="QLabel" name="label_2" >
-           <property name="text" >
-            <string>Screen us&amp;ed (pixels):</string>
-           </property>
-           <property name="buddy" >
-            <cstring>fullscreenWidthSB</cstring>
-           </property>
-          </widget>
-         </item>
-        </layout>
-       </widget>
-      </item>
-      <item row="1" column="1" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" >
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
       <item row="2" column="0" >
-       <widget class="QCheckBox" name="toggleTabbarCB" >
-        <property name="text" >
-         <string>Toggle tabba&amp;r</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0" >
-       <widget class="QCheckBox" name="toggleScrollbarCB" >
-        <property name="text" >
-         <string>To&amp;ggle scrollbar</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0" >
-       <widget class="QCheckBox" name="toggleToolbarsCB" >
-        <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>0</hsizetype>
-          <vsizetype>0</vsizetype>
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="text" >
-         <string>T&amp;oggle toolbars</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="4" 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>4</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" >
+       <widget class="QCheckBox" name="loadSessionCB" >
         <property name="text" >
-         <string>Sort &amp;environments alphabetically</string>
+         <string>&amp;Load opened files from last session</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
-       <widget class="QComboBox" name="macroEditStyleCO" >
-        <item>
-         <property name="text" >
-          <string>Edit Math Macros inline with a box around</string>
-         </property>
-        </item>
-        <item>
-         <property name="text" >
-          <string>Edit Math Macros inline with the name in the status bar</string>
-         </property>
-        </item>
-        <item>
-         <property name="text" >
-          <string>Edit Math Macros with a parameter list (like in LyX &lt; 1.6)</string>
-         </property>
-        </item>
-       </widget>
-      </item>
-      <item row="2" column="0" >
-       <widget class="QCheckBox" name="groupEnvironmentsCB" >
+       <widget class="QPushButton" name="clearSessionPB" >
         <property name="text" >
-         <string>&amp;Group environments by their category</string>
+         <string>Clear all session &amp;information</string>
         </property>
        </widget>
       </item>
       <property name="spacing" >
        <number>6</number>
       </property>
-      <item row="1" column="0" colspan="4" >
+      <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>
-      <item row="0" column="3" >
+      <item row="0" column="0" colspan="4">
+      <widget class="QCheckBox" name="backupCB">
+      <property name="text">
+      <string>Backup original documents when saving</string>
+      </property>
+      </widget>
+      </item>
+      <item row="1" column="3" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0" >
          <size>
           <width>61</width>
           <height>21</height>
         </property>
        </spacer>
       </item>
-      <item row="0" column="2" >
+      <item row="1" column="2" >
        <widget class="QLabel" name="TextLabel1" >
         <property name="text" >
          <string>minutes</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
+      <item row="1" column="1" >
        <widget class="QSpinBox" name="autoSaveSB" >
-        <property name="maximum" >
-         <number>300</number>
-        </property>
         <property name="minimum" >
          <number>1</number>
         </property>
+        <property name="maximum" >
+         <number>300</number>
+        </property>
        </widget>
       </item>
-      <item row="0" column="0" >
+      <item row="1" column="0" >
        <widget class="QCheckBox" name="autoSaveCB" >
         <property name="text" >
-         <string>B&amp;ackup documents, every</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>
      <property name="orientation" >
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeHint" >
+     <property name="sizeHint" stdset="0" >
       <size>
        <width>395</width>
        <height>16</height>
          <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 &amp;tool tips in main work area</string>
+         <string>&amp;Enable tool tips in main work area</string>
         </property>
        </widget>
       </item>
   <tabstop>autoSaveCB</tabstop>
   <tabstop>autoSaveSB</tabstop>
   <tabstop>lastfilesSB</tabstop>
-  <tabstop>cursorFollowsCB</tabstop>
-  <tabstop>sortEnvironmentsCB</tabstop>
-  <tabstop>groupEnvironmentsCB</tabstop>
-  <tabstop>macroEditStyleCO</tabstop>
+  <tabstop>openDocumentsInTabsCB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>