--- a/Preferences/ConfigurationPages/WebBrowserAppearancePage.ui Fri Mar 04 20:15:34 2016 +0100 +++ b/Preferences/ConfigurationPages/WebBrowserAppearancePage.ui Sat Mar 05 14:34:49 2016 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>499</width> - <height>547</height> + <height>782</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -32,63 +32,224 @@ </widget> </item> <item> - <widget class="QGroupBox" name="groupBox_5"> + <widget class="QGroupBox" name="groupBox_4"> <property name="title"> <string>Fonts</string> </property> - <layout class="QGridLayout" name="gridLayout"> + <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> - <widget class="QPushButton" name="standardFontButton"> - <property name="toolTip"> - <string>Press to select the standard font</string> - </property> + <widget class="QLabel" name="label_2"> <property name="text"> - <string>Standard Font</string> + <string>Standard Font:</string> </property> </widget> </item> <item row="0" column="1"> - <widget class="QLineEdit" name="standardFontSample"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> + <widget class="QFontComboBox" name="standardFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="text"> - <string>Times 16</string> - </property> - <property name="alignment"> - <set>Qt::AlignHCenter</set> - </property> - <property name="readOnly"> - <bool>true</bool> + <property name="toolTip"> + <string>Select the standard font</string> </property> </widget> </item> <item row="1" column="0"> - <widget class="QPushButton" name="fixedFontButton"> - <property name="toolTip"> - <string>Press to select the fixed-width font</string> - </property> + <widget class="QLabel" name="label_3"> <property name="text"> - <string>Fixed-Width Font</string> + <string>Fixed Width Font</string> </property> </widget> </item> <item row="1" column="1"> - <widget class="QLineEdit" name="fixedFontSample"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> + <widget class="QFontComboBox" name="fixedFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the fixed width font</string> + </property> + <property name="fontFilters"> + <set>QFontComboBox::MonospacedFonts</set> </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Serif Font:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QFontComboBox" name="serifFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the serif font</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_5"> <property name="text"> - <string>Courier 13</string> + <string>Sans Serif Font:</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QFontComboBox" name="sansSerifFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the sans serif font</string> </property> - <property name="alignment"> - <set>Qt::AlignHCenter</set> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Cursive Font:</string> </property> - <property name="readOnly"> - <bool>true</bool> + </widget> + </item> + <item row="4" column="1"> + <widget class="QFontComboBox" name="cursiveFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the cursive font</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>Fantasy Font:</string> </property> </widget> </item> + <item row="5" column="1"> + <widget class="QFontComboBox" name="fantasyFontCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the fantasy font</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_6"> + <property name="title"> + <string>Font Sizes</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Default Font Size:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="defaultSizeSpinBox"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>1</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>Fixed Font Size:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="fixedSizeSpinBox"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>1</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_10"> + <property name="text"> + <string>Minimum Font Size:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="minSizeSpinBox"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>1</number> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Minimum Logical Font Size:</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QSpinBox" name="minLogicalSizeSpinBox"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>1</number> + </property> + </widget> + </item> + <item row="3" column="2"> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>230</width> + <height>20</height> + </size> + </property> + </spacer> + </item> </layout> </widget> </item> @@ -238,8 +399,6 @@ </customwidget> </customwidgets> <tabstops> - <tabstop>standardFontButton</tabstop> - <tabstop>fixedFontButton</tabstop> <tabstop>secureURLsColourButton</tabstop> <tabstop>autoLoadImagesCheckBox</tabstop> <tabstop>styleSheetPicker</tabstop>