--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Preferences/ConfigurationPages/Ui_GraphicsPage.py Fri Jun 07 10:05:06 2024 +0200 @@ -0,0 +1,79 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/GraphicsPage.ui' +# +# Created by: PyQt6 UI code generator 6.7.0 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_GraphicsPage(object): + def setupUi(self, GraphicsPage): + GraphicsPage.setObjectName("GraphicsPage") + GraphicsPage.resize(440, 241) + self.verticalLayout = QtWidgets.QVBoxLayout(GraphicsPage) + self.verticalLayout.setObjectName("verticalLayout") + self.headerLabel = QtWidgets.QLabel(parent=GraphicsPage) + self.headerLabel.setObjectName("headerLabel") + self.verticalLayout.addWidget(self.headerLabel) + self.line7 = QtWidgets.QFrame(parent=GraphicsPage) + self.line7.setFrameShape(QtWidgets.QFrame.Shape.HLine) + self.line7.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) + self.line7.setFrameShape(QtWidgets.QFrame.Shape.HLine) + self.line7.setObjectName("line7") + self.verticalLayout.addWidget(self.line7) + self.groupBox_2 = QtWidgets.QGroupBox(parent=GraphicsPage) + self.groupBox_2.setObjectName("groupBox_2") + self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_2) + self.horizontalLayout.setObjectName("horizontalLayout") + self.graphicsFontButton = QtWidgets.QPushButton(parent=self.groupBox_2) + self.graphicsFontButton.setObjectName("graphicsFontButton") + self.horizontalLayout.addWidget(self.graphicsFontButton) + self.graphicsFontSample = QtWidgets.QLineEdit(parent=self.groupBox_2) + self.graphicsFontSample.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus) + self.graphicsFontSample.setAlignment(QtCore.Qt.AlignmentFlag.AlignHCenter) + self.graphicsFontSample.setReadOnly(True) + self.graphicsFontSample.setObjectName("graphicsFontSample") + self.horizontalLayout.addWidget(self.graphicsFontSample) + self.verticalLayout.addWidget(self.groupBox_2) + self.groupBox = QtWidgets.QGroupBox(parent=GraphicsPage) + self.groupBox.setObjectName("groupBox") + self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox) + self.horizontalLayout_2.setObjectName("horizontalLayout_2") + self.automaticButton = QtWidgets.QRadioButton(parent=self.groupBox) + self.automaticButton.setChecked(True) + self.automaticButton.setObjectName("automaticButton") + self.horizontalLayout_2.addWidget(self.automaticButton) + self.blackWhiteButton = QtWidgets.QRadioButton(parent=self.groupBox) + self.blackWhiteButton.setObjectName("blackWhiteButton") + self.horizontalLayout_2.addWidget(self.blackWhiteButton) + self.whiteBlackButton = QtWidgets.QRadioButton(parent=self.groupBox) + self.whiteBlackButton.setObjectName("whiteBlackButton") + self.horizontalLayout_2.addWidget(self.whiteBlackButton) + spacerItem = QtWidgets.QSpacerItem(53, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout_2.addItem(spacerItem) + self.verticalLayout.addWidget(self.groupBox) + spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) + self.verticalLayout.addItem(spacerItem1) + + self.retranslateUi(GraphicsPage) + QtCore.QMetaObject.connectSlotsByName(GraphicsPage) + GraphicsPage.setTabOrder(self.graphicsFontButton, self.blackWhiteButton) + GraphicsPage.setTabOrder(self.blackWhiteButton, self.whiteBlackButton) + + def retranslateUi(self, GraphicsPage): + _translate = QtCore.QCoreApplication.translate + self.headerLabel.setText(_translate("GraphicsPage", "<b>Configure graphics settings</b>")) + self.groupBox_2.setTitle(_translate("GraphicsPage", "Font")) + self.graphicsFontButton.setToolTip(_translate("GraphicsPage", "Press to select the font for the graphic items")) + self.graphicsFontButton.setText(_translate("GraphicsPage", "Graphics Font")) + self.graphicsFontSample.setText(_translate("GraphicsPage", "Graphics Font")) + self.groupBox.setTitle(_translate("GraphicsPage", "Drawing Mode")) + self.automaticButton.setToolTip(_translate("GraphicsPage", "Select to determine the drawing mode automatically")) + self.automaticButton.setText(_translate("GraphicsPage", "Automatic")) + self.blackWhiteButton.setToolTip(_translate("GraphicsPage", "Select to draw black shapes on a white background")) + self.blackWhiteButton.setText(_translate("GraphicsPage", "Black On White")) + self.whiteBlackButton.setToolTip(_translate("GraphicsPage", "Select to draw white shapes on a black background")) + self.whiteBlackButton.setText(_translate("GraphicsPage", "White On Black"))