Mon, 07 Nov 2022 17:19:58 +0100
Corrected/acknowledged some bad import style and removed some obsolete code.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>GraphicsPage</class> <widget class="QWidget" name="GraphicsPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>440</width> <height>241</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure graphics settings</b></string> </property> </widget> </item> <item> <widget class="Line" name="line7"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Font</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QPushButton" name="graphicsFontButton"> <property name="toolTip"> <string>Press to select the font for the graphic items</string> </property> <property name="text"> <string>Graphics Font</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="graphicsFontSample"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> <string>Graphics Font</string> </property> <property name="alignment"> <set>Qt::AlignHCenter</set> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Drawing Mode</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QRadioButton" name="automaticButton"> <property name="toolTip"> <string>Select to determine the drawing mode automatically</string> </property> <property name="text"> <string>Automatic</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="blackWhiteButton"> <property name="toolTip"> <string>Select to draw black shapes on a white background</string> </property> <property name="text"> <string>Black On White</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="whiteBlackButton"> <property name="toolTip"> <string>Select to draw white shapes on a black background</string> </property> <property name="text"> <string>White On Black</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>53</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> <tabstops> <tabstop>graphicsFontButton</tabstop> <tabstop>blackWhiteButton</tabstop> <tabstop>whiteBlackButton</tabstop> </tabstops> <resources/> <connections/> </ui>