]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/ui/SearchUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / SearchUi.ui
index 53661ba14be6bccb9939acbf39fed4e2197ee7e9..2b24b5a05a64d170aec2e26ee91c5f299c0d31a8 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>678</width>
-    <height>135</height>
+    <width>706</width>
+    <height>103</height>
    </rect>
   </property>
   <property name="sizePolicy">
    <bool>false</bool>
   </property>
   <layout class="QGridLayout" name="gridLayout_2">
-   <item row="1" column="0">
-    <layout class="QHBoxLayout" name="horizontalLayout">
-     <item>
-      <widget class="QCheckBox" name="caseCB">
-       <property name="text">
-        <string>&amp;Case sensitive[[search]]</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QCheckBox" name="wordsCB">
-       <property name="text">
-        <string>Match &amp;whole words only</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <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>
-    </layout>
-   </item>
-   <item row="2" column="0">
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::MinimumExpanding</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>89</width>
-       <height>0</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
+   <property name="leftMargin">
+    <number>6</number>
+   </property>
+   <property name="topMargin">
+    <number>3</number>
+   </property>
+   <property name="rightMargin">
+    <number>3</number>
+   </property>
+   <property name="bottomMargin">
+    <number>3</number>
+   </property>
+   <property name="spacing">
+    <number>0</number>
+   </property>
    <item row="0" column="0">
     <layout class="QGridLayout" name="gridLayout">
+     <property name="spacing">
+      <number>3</number>
+     </property>
      <item row="0" column="2">
       <widget class="QPushButton" name="findPrevPB">
        <property name="enabled">
         <string>Find previous occurrence (Shift+Enter)</string>
        </property>
        <property name="text">
-        <string>Find[[Previous]]</string>
-       </property>
-       <property name="icon">
-        <iconset theme="go-previous">
-         <normaloff>.</normaloff>.</iconset>
+        <string>&amp;&lt; Find</string>
        </property>
       </widget>
      </item>
         <string>Replace and find next occurrence</string>
        </property>
        <property name="layoutDirection">
-        <enum>Qt::RightToLeft</enum>
+        <enum>Qt::LeftToRight</enum>
        </property>
        <property name="text">
-        <string>&amp;Replace[[Next]]</string>
-       </property>
-       <property name="icon">
-        <iconset theme="go-next">
-         <normaloff>.</normaloff>.</iconset>
+        <string>&amp;Replace &gt;</string>
        </property>
       </widget>
      </item>
         <string>Replace and find previous occurrence</string>
        </property>
        <property name="text">
-        <string>Re&amp;place[[Previous]]</string>
-       </property>
-       <property name="icon">
-        <iconset theme="go-previous">
-         <normaloff>.</normaloff>.</iconset>
+        <string>&lt; Re&amp;place</string>
        </property>
       </widget>
      </item>
         <string>Find next occurrence (Enter)</string>
        </property>
        <property name="layoutDirection">
-        <enum>Qt::RightToLeft</enum>
+        <enum>Qt::LeftToRight</enum>
        </property>
        <property name="text">
-        <string>Find[[Next]]</string>
-       </property>
-       <property name="icon">
-        <iconset theme="go-next">
-         <normaloff>.</normaloff>.</iconset>
+        <string>Find &amp;&gt;</string>
        </property>
        <property name="default">
         <bool>true</bool>
      </item>
     </layout>
    </item>
+   <item row="1" column="0">
+    <widget class="QFrame" name="CBFrame">
+     <layout class="QHBoxLayout" name="CBLayout">
+      <property name="spacing">
+       <number>0</number>
+      </property>
+      <property name="leftMargin">
+       <number>0</number>
+      </property>
+      <property name="topMargin">
+       <number>0</number>
+      </property>
+      <property name="rightMargin">
+       <number>0</number>
+      </property>
+      <property name="bottomMargin">
+       <number>0</number>
+      </property>
+      <item>
+       <layout class="QHBoxLayout" name="horizontalLayout_2">
+        <property name="spacing">
+         <number>6</number>
+        </property>
+        <property name="topMargin">
+         <number>6</number>
+        </property>
+        <item>
+         <widget class="QCheckBox" name="caseCB">
+          <property name="toolTip">
+           <string>Treat uppercase/lowercase writing as distinct</string>
+          </property>
+          <property name="text">
+           <string>&amp;Case sensitive[[search]]</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QCheckBox" name="wordsCB">
+          <property name="toolTip">
+           <string>Match whole words only</string>
+          </property>
+          <property name="text">
+           <string>Wh&amp;ole words</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QCheckBox" name="selectionCB">
+          <property name="toolTip">
+           <string>Limit search and replace to selection</string>
+          </property>
+          <property name="text">
+           <string>Selection onl&amp;y</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QCheckBox" name="instantSearchCB">
+          <property name="toolTip">
+           <string>If this is checked, LyX will search forward immediately</string>
+          </property>
+          <property name="text">
+           <string>Search as yo&amp;u type</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QCheckBox" name="wrapCB">
+          <property name="toolTip">
+           <string>If the end/start of the document is reached, automatically wrap around</string>
+          </property>
+          <property name="text">
+           <string>&amp;Wrap</string>
+          </property>
+          <property name="checked">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <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>
+       </layout>
+      </item>
+     </layout>
+    </widget>
+   </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>replaceCO</tabstop>
+  <tabstop>findPB</tabstop>
+  <tabstop>findPrevPB</tabstop>
+  <tabstop>minimizePB</tabstop>
+  <tabstop>replacePB</tabstop>
+  <tabstop>replacePrevPB</tabstop>
+  <tabstop>replaceallPB</tabstop>
+  <tabstop>caseCB</tabstop>
+  <tabstop>wordsCB</tabstop>
+  <tabstop>selectionCB</tabstop>
+  <tabstop>instantSearchCB</tabstop>
+  <tabstop>wrapCB</tabstop>
+  <tabstop>findCO</tabstop>
+ </tabstops>
  <includes>
   <include location="local">qt_i18n.h</include>
  </includes>