]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/ui/PrefEditUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / PrefEditUi.ui
index 69aa6f5bdea361f13d314f4f3c0361ed91ef8f53..a8cff2f83f430d76cbe79f4b405162f6336bde47 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>494</width>
-    <height>583</height>
+    <width>610</width>
+    <height>552</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -19,8 +19,8 @@
   <property name="windowTitle">
    <string/>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
+  <layout class="QGridLayout" name="gridLayout_3">
+   <item row="0" column="0">
     <widget class="QGroupBox" name="scrollGB">
      <property name="title">
       <string>Editing</string>
       <bool>true</bool>
      </property>
      <layout class="QGridLayout" name="gridLayout">
+      <item row="8" column="3">
+       <spacer name="horizontalSpacer">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
       <item row="2" column="0" colspan="2">
        <widget class="QCheckBox" name="scrollBelowCB">
         <property name="text">
         </property>
        </widget>
       </item>
-      <item row="5" column="0" colspan="2">
-       <widget class="QCheckBox" name="sortEnvironmentsCB">
-        <property name="text">
-         <string>Sort &amp;environments alphabetically</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1" colspan="2">
+      <item row="1" column="2">
        <spacer name="horizontalSpacer_3">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
        </spacer>
       </item>
-      <item row="0" column="0">
+      <item row="8" column="0" colspan="3">
+       <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="4" column="0" colspan="2">
+       <widget class="QCheckBox" name="copyCTMarkupCB">
+        <property name="toolTip">
+         <string>If this is checked, change tracking markup will not be resolved on copy/paste operations and when moving content from/to insets if change tracking is deactivated.</string>
+        </property>
+        <property name="text">
+         <string>&amp;Keep change tracking markup on copy and paste</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="0" rowspan="2" colspan="2">
+       <widget class="QCheckBox" name="sortEnvironmentsCB">
+        <property name="text">
+         <string>Sort &amp;environments alphabetically</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0" colspan="2">
        <widget class="QCheckBox" name="cursorFollowsCB">
         <property name="text">
          <string>Cursor &amp;follows scrollbar</string>
         </property>
        </widget>
       </item>
-      <item row="1" column="0">
-       <layout class="QHBoxLayout" name="horizontalLayout">
+      <item row="9" column="0" colspan="3">
+       <layout class="QHBoxLayout" name="horizontalLayout_5">
         <item>
-         <widget class="QLabel" name="label_3">
+         <widget class="QCheckBox" name="citationSearchCB">
           <property name="toolTip">
-           <string>Configure the width of the text cursor. Automatic zoom-controlled cursor width used when set to 0.</string>
+           <string>If this is activated, LyX will search your disk for matching files when clicking on &quot;Try to Open Citation Content...&quot; in the citation context menu</string>
+          </property>
+          <property name="statusTip">
+           <string/>
           </property>
+          <property name="text">
+           <string>Search &amp;drive for cited files</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <spacer name="horizontalSpacer_8">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeType">
+           <enum>QSizePolicy::Fixed</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>10</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item>
+         <layout class="QHBoxLayout" name="horizontalLayout_3">
+          <item>
+           <widget class="QLabel" name="citationSearchLA">
+            <property name="text">
+             <string>Patte&amp;rn:</string>
+            </property>
+            <property name="buddy">
+             <cstring>citationSearchLE</cstring>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QLineEdit" name="citationSearchLE">
+            <property name="toolTip">
+             <string>Define search pattern (see UserGuide for syntax)</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </item>
+       </layout>
+      </item>
+      <item row="1" column="0" colspan="2">
+       <layout class="QHBoxLayout" name="horizontalLayout">
+        <item>
+         <widget class="QLabel" name="label_3">
           <property name="text">
            <string>Cursor width (&amp;pixels):</string>
           </property>
         </item>
         <item>
          <widget class="QSpinBox" name="cursorWidthSB">
+          <property name="toolTip">
+           <string>Configure the width of the text cursor.  &quot;Auto&quot; means that zoom-controlled width is used.</string>
+          </property>
+          <property name="specialValueText">
+           <string>Auto</string>
+          </property>
           <property name="minimum">
            <number>0</number>
           </property>
         </item>
        </layout>
       </item>
-      <item row="7" column="2">
-       <spacer name="horizontalSpacer">
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="6" column="0" colspan="2">
-       <widget class="QCheckBox" name="groupEnvironmentsCB">
-        <property name="text">
-         <string>&amp;Group environments by their category</string>
-        </property>
-       </widget>
-      </item>
       <item row="3" column="0" colspan="2">
        <widget class="QCheckBox" name="macLikeCursorMovementCB">
         <property name="toolTip">
         </property>
        </widget>
       </item>
-      <item row="7" column="0" colspan="2">
-       <widget class="QComboBox" name="macroEditStyleCO">
+      <item row="7" column="0">
+       <widget class="QCheckBox" name="groupEnvironmentsCB">
+        <property name="text">
+         <string>&amp;Group environments by their category</string>
+        </property>
+       </widget>
+      </item>
+      <item row="10" column="0" colspan="3">
+       <layout class="QHBoxLayout" name="horizontalLayout_4">
         <item>
-         <property name="text">
-          <string>Edit Math Macros inline with a box around</string>
-         </property>
+         <widget class="QCheckBox" name="screenLimitCB">
+          <property name="toolTip">
+           <string>Limit the width of the text in the work area to the specified length</string>
+          </property>
+          <property name="text">
+           <string>&amp;Limit text width</string>
+          </property>
+         </widget>
         </item>
         <item>
-         <property name="text">
-          <string>Edit Math Macros inline with the name in the status bar</string>
-         </property>
+         <spacer name="horizontalSpacer_9">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeType">
+           <enum>QSizePolicy::Fixed</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>10</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
         </item>
         <item>
-         <property name="text">
-          <string>Edit Math Macros with a parameter list (like in LyX &lt; 1.6)</string>
-         </property>
+         <widget class="QLineEdit" name="screenWidthLE">
+          <property name="toolTip">
+           <string>Limit the width of the text in the work area to the specified length</string>
+          </property>
+         </widget>
         </item>
-       </widget>
-      </item>
-      <item row="4" column="0">
-       <widget class="QCheckBox" name="copyCTMarkupCB">
-        <property name="toolTip">
-         <string>If this is checked, deleted and added text in change tracking mde will not be resolved on copy/paste operations and when moving content from/to insets</string>
-        </property>
-        <property name="text">
-         <string>&amp;Keep change tracking markup on copy and paste</string>
-        </property>
-       </widget>
+        <item>
+         <widget class="lyx::frontend::LengthCombo" name="screenWidthUnitCO"/>
+        </item>
+        <item>
+         <spacer name="horizontalSpacer_2">
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>157</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+       </layout>
       </item>
      </layout>
     </widget>
    </item>
-   <item>
+   <item row="1" column="0">
     <widget class="QGroupBox" name="fullscreenGB">
      <property name="title">
       <string>Fullscreen</string>
       <bool>true</bool>
      </property>
      <layout class="QGridLayout" name="gridLayout_2">
-      <item row="0" column="0">
-       <widget class="QCheckBox" name="toggleToolbarsCB">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
+      <item row="0" column="2">
+       <widget class="QCheckBox" name="toggleMenubarCB">
         <property name="text">
-         <string>&amp;Hide toolbars</string>
+         <string>Hide &amp;menubar</string>
         </property>
        </widget>
       </item>
-      <item row="1" column="0">
+      <item row="0" column="4">
        <widget class="QCheckBox" name="toggleScrollbarCB">
         <property name="text">
          <string>Hide scr&amp;ollbar</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="0">
-       <widget class="QCheckBox" name="toggleTabbarCB">
-        <property name="text">
-         <string>Hide &amp;tabbar</string>
+      <item row="0" column="1">
+       <spacer name="horizontalSpacer_5">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
         </property>
-       </widget>
+        <property name="sizeType">
+         <enum>QSizePolicy::Fixed</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>10</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
       </item>
-      <item row="3" column="0">
-       <widget class="QCheckBox" name="toggleMenubarCB">
+      <item row="1" column="0">
+       <widget class="QCheckBox" name="toggleStatusbarCB">
         <property name="text">
-         <string>Hide &amp;menubar</string>
+         <string>Hide sta&amp;tusbar</string>
         </property>
        </widget>
       </item>
-      <item row="4" column="0">
-       <widget class="QCheckBox" name="toggleStatusbarCB">
+      <item row="1" column="2">
+       <widget class="QCheckBox" name="toggleTabbarCB">
         <property name="text">
-         <string>Hide sta&amp;tusbar</string>
+         <string>H&amp;ide tabbar</string>
         </property>
        </widget>
       </item>
-      <item row="5" column="0">
-       <widget class="QGroupBox" name="fullscreenLimitGB">
-        <property name="title">
-         <string>&amp;Limit text width</string>
+      <item row="0" column="5" rowspan="2">
+       <spacer name="horizontalSpacer_4">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
         </property>
-        <property name="flat">
-         <bool>true</bool>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>146</width>
+          <height>38</height>
+         </size>
         </property>
-        <property name="checkable">
-         <bool>true</bool>
+       </spacer>
+      </item>
+      <item row="1" column="1">
+       <spacer name="horizontalSpacer_6">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeType">
+         <enum>QSizePolicy::Fixed</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>10</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item row="0" column="0">
+       <widget class="QCheckBox" name="toggleToolbarsCB">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text">
+         <string>&amp;Hide toolbars</string>
         </property>
-        <layout class="QGridLayout" name="gridLayout_3">
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_2">
-           <property name="text">
-            <string>Screen used (&amp;pixels):</string>
-           </property>
-           <property name="buddy">
-            <cstring>fullscreenWidthSB</cstring>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QSpinBox" name="fullscreenWidthSB">
-           <property name="minimum">
-            <number>0</number>
-           </property>
-           <property name="maximum">
-            <number>10000</number>
-           </property>
-           <property name="singleStep">
-            <number>10</number>
-           </property>
-           <property name="value">
-            <number>700</number>
-           </property>
-          </widget>
-         </item>
-        </layout>
        </widget>
       </item>
-      <item row="4" column="1">
-       <spacer name="horizontalSpacer_2">
+      <item row="0" column="3">
+       <spacer name="horizontalSpacer_7">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
+        <property name="sizeType">
+         <enum>QSizePolicy::Fixed</enum>
+        </property>
         <property name="sizeHint" stdset="0">
          <size>
-          <width>157</width>
+          <width>10</width>
           <height>20</height>
          </size>
         </property>
      </layout>
     </widget>
    </item>
-   <item>
+   <item row="2" column="0">
     <spacer>
      <property name="orientation">
       <enum>Qt::Vertical</enum>
   </layout>
  </widget>
  <layoutdefault spacing="4" margin="9"/>
+ <customwidgets>
+  <customwidget>
+   <class>lyx::frontend::LengthCombo</class>
+   <extends>QComboBox</extends>
+   <header>LengthCombo.h</header>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>cursorFollowsCB</tabstop>
   <tabstop>cursorWidthSB</tabstop>
   <tabstop>scrollBelowCB</tabstop>
   <tabstop>macLikeCursorMovementCB</tabstop>
   <tabstop>sortEnvironmentsCB</tabstop>
-  <tabstop>groupEnvironmentsCB</tabstop>
   <tabstop>macroEditStyleCO</tabstop>
  </tabstops>
  <includes>