diff options
Diffstat (limited to 'src/settings_fonts.ui')
-rw-r--r-- | src/settings_fonts.ui | 121 |
1 files changed, 91 insertions, 30 deletions
diff --git a/src/settings_fonts.ui b/src/settings_fonts.ui index 2d7168b0..ef97eeea 100644 --- a/src/settings_fonts.ui +++ b/src/settings_fonts.ui @@ -1,48 +1,109 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>fonts</class> - <widget class="QWidget" name="fonts" > - <property name="geometry" > + <widget class="QWidget" name="fonts"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>391</width> - <height>179</height> + <width>369</width> + <height>211</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Appearance</string> </property> - <layout class="QVBoxLayout" name="verticalLayout" > + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QGroupBox" name="groupBox" > - <property name="title" > - <string>Standard Font</string> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <layout class="QHBoxLayout" name="horizontalLayout" > - <item> - <widget class="KFontRequester" name="standardFontChooser" /> - </item> - </layout> - </widget> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Standard Font</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="KFontComboBox" name="standardFont"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Fixed Font</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="KFontComboBox" name="fixedFont"/> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> </item> <item> - <widget class="QGroupBox" name="groupBox_2" > - <property name="title" > - <string>Fixed Font</string> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <layout class="QHBoxLayout" name="horizontalLayout_2" > - <item> - <widget class="KFontRequester" name="fixedFontChooser" /> - </item> - </layout> </widget> </item> <item> - <spacer name="verticalSpacer" > - <property name="orientation" > + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Font Size</string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="fontSize"/> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -54,9 +115,9 @@ </widget> <customwidgets> <customwidget> - <class>KFontRequester</class> - <extends>QWidget</extends> - <header>kfontrequester.h</header> + <class>KFontComboBox</class> + <extends>KComboBox</extends> + <header>kfontcombobox.h</header> </customwidget> </customwidgets> <resources/> |