]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/PrefLanguageUi.ui
Split the overcrowded and chaotic UI pref pane into two (#7524)
[lyx.git] / src / frontends / qt4 / ui / PrefLanguageUi.ui
index 2305eb09969422fce0b3434df7048e876d7abf4a..1027e7faceda166e2fb7c5d9e748d1ddae438cb8 100644 (file)
@@ -5,15 +5,15 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>387</width>
-    <height>411</height>
+    <width>475</width>
+    <height>362</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string/>
   </property>
   <layout class="QGridLayout" name="gridLayout_2">
-   <item row="0" column="0" colspan="2">
+   <item row="0" column="0">
     <widget class="QLabel" name="uiLanguageLA">
      <property name="text">
       <string>User &amp;interface language:</string>
@@ -23,7 +23,7 @@
      </property>
     </widget>
    </item>
-   <item row="0" column="2">
+   <item row="0" column="1">
     <widget class="QComboBox" name="uiLanguageCO">
      <property name="toolTip">
       <string>Select the language of the user interface (menus, dialogs, etc.)</string>
      </property>
     </widget>
    </item>
-   <item row="1" column="0" colspan="2">
+   <item row="1" column="0">
     <widget class="QLabel" name="languagePackageLA">
      <property name="text">
-      <string>Language pac&amp;kage:</string>
+      <string>Language &amp;package:</string>
      </property>
      <property name="buddy">
-      <cstring>languagePackageED</cstring>
+      <cstring>languagePackageCO</cstring>
      </property>
     </widget>
    </item>
-   <item row="1" column="2" rowspan="2">
-    <widget class="QLineEdit" name="languagePackageED">
+   <item row="1" column="1" colspan="2">
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
+      <widget class="QComboBox" name="languagePackageCO">
+       <property name="toolTip">
+        <string>Select which language package LyX should use</string>
+       </property>
+       <item>
+        <property name="text">
+         <string>Automatic</string>
+        </property>
+       </item>
+       <item>
+        <property name="text">
+         <string>Always Babel</string>
+        </property>
+       </item>
+       <item>
+        <property name="text">
+         <string>Custom</string>
+        </property>
+       </item>
+       <item>
+        <property name="text">
+         <string>None[[language package]]</string>
+        </property>
+       </item>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLineEdit" name="languagePackageED">
+       <property name="toolTip">
+        <string>Enter the command to load the language package (default: \usepackage{babel})</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="2" column="0">
+    <widget class="QLabel" name="startCommandLA">
+     <property name="text">
+      <string>Command s&amp;tart:</string>
+     </property>
+     <property name="buddy">
+      <cstring>startCommandED</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="1">
+    <widget class="QLineEdit" name="startCommandED">
      <property name="toolTip">
-      <string>Enter the command to load the language package (default: babel)</string>
+      <string>The LaTeX command that starts a switch to a foreign language</string>
      </property>
     </widget>
    </item>
-   <item row="2" column="3" rowspan="2">
+   <item row="2" column="2">
     <spacer name="horizontalSpacer">
      <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
     </spacer>
    </item>
-   <item row="3" column="0" colspan="2">
-    <widget class="QLabel" name="startCommandLA">
+   <item row="3" column="0">
+    <widget class="QLabel" name="endCommandLA">
      <property name="text">
-      <string>Command s&amp;tart:</string>
+      <string>Command e&amp;nd:</string>
      </property>
      <property name="buddy">
-      <cstring>startCommandED</cstring>
+      <cstring>endCommandED</cstring>
      </property>
     </widget>
    </item>
-   <item row="3" column="2">
-    <widget class="QLineEdit" name="startCommandED">
+   <item row="3" column="1">
+    <widget class="QLineEdit" name="endCommandED">
      <property name="toolTip">
-      <string>The LaTeX command that starts a switch to a foreign language</string>
+      <string>The LaTeX command that ends a switch to a foreign language</string>
      </property>
     </widget>
    </item>
-   <item row="4" column="0" colspan="2">
-    <widget class="QLabel" name="endCommandLA">
+   <item row="4" column="0">
+    <widget class="QLabel" name="decimalPointL">
      <property name="text">
-      <string>Command e&amp;nd:</string>
+      <string>Default Decimal &amp;Separator:</string>
      </property>
      <property name="buddy">
-      <cstring>endCommandED</cstring>
+      <cstring>defaultDecimalPointLE</cstring>
      </property>
     </widget>
    </item>
-   <item row="4" column="2">
-    <widget class="QLineEdit" name="endCommandED">
-     <property name="toolTip">
-      <string>The LaTeX command that ends a switch to a foreign language</string>
+   <item row="4" column="1">
+    <widget class="QLineEdit" name="defaultDecimalPointLE">
+     <property name="maximumSize">
+      <size>
+       <width>20</width>
+       <height>16777215</height>
+      </size>
      </property>
-    </widget>
-   </item>
-   <item row="5" column="0" colspan="2">
-    <widget class="QCheckBox" name="useBabelCB">
-     <property name="toolTip">
-      <string>Use the babel package for multilingual support</string>
+     <property name="inputMask">
+      <string/>
      </property>
-     <property name="text">
-      <string>&amp;Use babel</string>
+     <property name="alignment">
+      <set>Qt::AlignCenter</set>
      </property>
     </widget>
    </item>
-   <item row="6" column="0">
+    <item row="5" column="0">
+      <widget class="QLabel" name="defaultLengthUnitLA">
+        <property name="text">
+          <string>Default length &amp;unit:</string>
+        </property>
+        <property name="buddy">
+          <cstring>defaultLengthUnitCO</cstring>
+        </property>
+      </widget>
+    </item>
+    <item row="5" column="1">
+      <widget class="QComboBox" name="defaultLengthUnitCO" />
+    </item>
+    <item row="6" column="0" colspan="2">
     <widget class="QCheckBox" name="globalCB">
      <property name="toolTip">
       <string>Check to pass the language globally (to the document class), not locally (to the language package)</string>
      </property>
      <property name="text">
-      <string>&amp;Global</string>
+      <string>Set languages &amp;globally</string>
      </property>
     </widget>
    </item>
-   <item row="7" column="0" colspan="2">
+   <item row="7" column="0">
     <widget class="QCheckBox" name="autoBeginCB">
      <property name="toolTip">
       <string>If checked, the document language is not explicitly set by a language switch command</string>
      </property>
     </widget>
    </item>
-   <item row="8" column="0" colspan="2">
+   <item row="8" column="0">
     <widget class="QCheckBox" name="autoEndCB">
      <property name="toolTip">
       <string>If checked, the document language is not explicitly closed by a language switch command</string>
      </property>
     </widget>
    </item>
-   <item row="9" column="0" colspan="3">
+   <item row="9" column="0" colspan="2">
     <widget class="QCheckBox" name="markForeignCB">
      <property name="toolTip">
       <string>Check to highlight foreign languages visually in the work area</string>
      </property>
     </widget>
    </item>
-   <item row="10" column="0" colspan="4">
+   <item row="10" column="0" colspan="3">
     <widget class="QGroupBox" name="rtlGB2">
      <property name="toolTip">
       <string/>
          <string>Select to enable support of right-to-left languages (e.g. Hebrew, Arabic).</string>
         </property>
         <property name="text">
-         <string>Enable RTL su&amp;pport</string>
+         <string>Enable &amp;RTL support</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="11" column="1">
+   <item row="11" column="0">
     <spacer>
      <property name="orientation">
       <enum>Qt::Vertical</enum>
   </layout>
  </widget>
  <tabstops>
+  <tabstop>uiLanguageCO</tabstop>
+  <tabstop>languagePackageCO</tabstop>
   <tabstop>languagePackageED</tabstop>
   <tabstop>startCommandED</tabstop>
   <tabstop>endCommandED</tabstop>
-  <tabstop>useBabelCB</tabstop>
+  <tabstop>defaultDecimalPointLE</tabstop>
   <tabstop>globalCB</tabstop>
   <tabstop>autoBeginCB</tabstop>
   <tabstop>autoEndCB</tabstop>
   <tabstop>markForeignCB</tabstop>
+  <tabstop>rtlGB</tabstop>
+  <tabstop>logicalCursorRB</tabstop>
+  <tabstop>visualCursorRB</tabstop>
  </tabstops>
  <includes>
   <include location="local">qt_i18n.h</include>