src/settingseditor/settingseditor.ui

changeset 356
65b4741b302d
parent 347
5c655cc006de
child 357
66c75604f5b8
--- a/src/settingseditor/settingseditor.ui	Sat Apr 08 16:59:55 2023 +0300
+++ b/src/settingseditor/settingseditor.ui	Sat Apr 08 21:48:49 2023 +0300
@@ -30,8 +30,8 @@
        <rect>
         <x>0</x>
         <y>0</y>
-        <width>694</width>
-        <height>558</height>
+        <width>680</width>
+        <height>560</height>
        </rect>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout">
@@ -176,6 +176,66 @@
            </item>
           </layout>
          </widget>
+         <widget class="QWidget" name="tab_3">
+          <attribute name="title">
+           <string>Code editor</string>
+          </attribute>
+          <layout class="QVBoxLayout" name="verticalLayout_6">
+           <item>
+            <widget class="QGroupBox" name="groupBox_3">
+             <property name="title">
+              <string>Editor font</string>
+             </property>
+             <layout class="QVBoxLayout" name="verticalLayout_5">
+              <item>
+               <widget class="QCheckBox" name="codeEditorSystemFont">
+                <property name="text">
+                 <string>Use system font</string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
+                <item>
+                 <widget class="QFontComboBox" name="codeEditorFontFamily">
+                  <property name="fontFilters">
+                   <set>QFontComboBox::MonospacedFonts</set>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QSpinBox" name="codeEditorFontSize">
+                  <property name="suffix">
+                   <string>pt</string>
+                  </property>
+                  <property name="minimum">
+                   <number>4</number>
+                  </property>
+                  <property name="maximum">
+                   <number>100</number>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
+              </item>
+             </layout>
+            </widget>
+           </item>
+           <item>
+            <spacer name="verticalSpacer_3">
+             <property name="orientation">
+              <enum>Qt::Vertical</enum>
+             </property>
+             <property name="sizeHint" stdset="0">
+              <size>
+               <width>20</width>
+               <height>263</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </widget>
          <widget class="QWidget" name="tabLdrawLibraries">
           <attribute name="title">
            <string>LDraw parts libraries</string>
@@ -252,8 +312,8 @@
  <customwidgets>
   <customwidget>
    <class>ColorEdit</class>
-   <extends>QPushButton</extends>
-   <header>widgets/colorbutton.h</header>
+   <extends>QWidget</extends>
+   <header>widgets/coloredit.h</header>
   </customwidget>
  </customwidgets>
  <resources/>

mercurial