]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/ui/FontUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / FontUi.ui
index d2858b00633e3e426c2adbdf21d69ce47b2d5858..2bd0721ea91c0fa51b6d9c7a4d1865cb6cd3fc1e 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>568</width>
-    <height>557</height>
+    <height>565</height>
    </rect>
   </property>
   <property name="windowTitle">
      <item row="2" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_8">
        <item>
-        <widget class="QComboBox" name="fontsRomanCO">
+        <widget class="lyx::frontend::CategorizedCombo" name="fontsRomanCO">
          <property name="toolTip">
-          <string>Select the roman (serif) typeface</string>
+          <string>Select the roman (serif) typeface. To filter the list of fonts, just start typing while the list is expanded.</string>
          </property>
         </widget>
        </item>
      <item row="4" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_6">
        <item>
-        <widget class="QComboBox" name="fontsSansCO">
+        <widget class="lyx::frontend::CategorizedCombo" name="fontsSansCO">
          <property name="toolTip">
-          <string>Select the Sans Serif (grotesque) typeface</string>
+          <string>Select the Sans Serif (grotesque) typeface. To filter the list of fonts, just start typing while the list is expanded.</string>
          </property>
         </widget>
        </item>
      <item row="6" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_7">
        <item>
-        <widget class="QComboBox" name="fontsTypewriterCO">
+        <widget class="lyx::frontend::CategorizedCombo" name="fontsTypewriterCO">
          <property name="toolTip">
-          <string>Select the typewriter (monospaced) typeface</string>
+          <string>Select the typewriter (monospaced) typeface. To filter the list of fonts, just start typing while the list is expanded.</string>
          </property>
         </widget>
        </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
+ <customwidgets>
+  <customwidget>
+   <class>lyx::frontend::CategorizedCombo</class>
+   <extends>QComboBox</extends>
+   <header>CategorizedCombo.h</header>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>osFontsCB</tabstop>
   <tabstop>fontsDefaultCO</tabstop>