RefactoringRope/ConfigurationPage/Ui_CallTipsRopePage.py

Sat, 26 Oct 2024 15:54:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Oct 2024 15:54:44 +0200
branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
permissions
-rw-r--r--

Recompiled the forms and made some modal dialog usages clearer with respect to parent relationship.

# Form implementation generated from reading ui file 'RefactoringRope/ConfigurationPage/CallTipsRopePage.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# 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_CallTipsRopePage(object):
    def setupUi(self, CallTipsRopePage):
        CallTipsRopePage.setObjectName("CallTipsRopePage")
        CallTipsRopePage.resize(400, 350)
        self.verticalLayout = QtWidgets.QVBoxLayout(CallTipsRopePage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtWidgets.QLabel(parent=CallTipsRopePage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line15 = QtWidgets.QFrame(parent=CallTipsRopePage)
        self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line15.setObjectName("line15")
        self.verticalLayout.addWidget(self.line15)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.ropeCalltipsCheckBox = QtWidgets.QCheckBox(parent=CallTipsRopePage)
        self.ropeCalltipsCheckBox.setObjectName("ropeCalltipsCheckBox")
        self.gridLayout.addWidget(self.ropeCalltipsCheckBox, 0, 0, 1, 3)
        self.label_3 = QtWidgets.QLabel(parent=CallTipsRopePage)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.ctMaxfixesSpinBox = QtWidgets.QSpinBox(parent=CallTipsRopePage)
        self.ctMaxfixesSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.ctMaxfixesSpinBox.setButtonSymbols(QtWidgets.QAbstractSpinBox.ButtonSymbols.PlusMinus)
        self.ctMaxfixesSpinBox.setMinimum(1)
        self.ctMaxfixesSpinBox.setMaximum(1000)
        self.ctMaxfixesSpinBox.setObjectName("ctMaxfixesSpinBox")
        self.gridLayout.addWidget(self.ctMaxfixesSpinBox, 1, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(31, 23, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem1 = QtWidgets.QSpacerItem(221, 82, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.editPython3Button = QtWidgets.QPushButton(parent=CallTipsRopePage)
        self.editPython3Button.setObjectName("editPython3Button")
        self.verticalLayout.addWidget(self.editPython3Button)
        self.createPython3Button = QtWidgets.QPushButton(parent=CallTipsRopePage)
        self.createPython3Button.setObjectName("createPython3Button")
        self.verticalLayout.addWidget(self.createPython3Button)

        self.retranslateUi(CallTipsRopePage)
        QtCore.QMetaObject.connectSlotsByName(CallTipsRopePage)
        CallTipsRopePage.setTabOrder(self.ropeCalltipsCheckBox, self.ctMaxfixesSpinBox)
        CallTipsRopePage.setTabOrder(self.ctMaxfixesSpinBox, self.editPython3Button)
        CallTipsRopePage.setTabOrder(self.editPython3Button, self.createPython3Button)

    def retranslateUi(self, CallTipsRopePage):
        _translate = QtCore.QCoreApplication.translate
        self.headerLabel.setText(_translate("CallTipsRopePage", "<b>Configure Rope Calltips</b>"))
        self.ropeCalltipsCheckBox.setToolTip(_translate("CallTipsRopePage", "Select, whether the rope calltip support shall be enabled."))
        self.ropeCalltipsCheckBox.setText(_translate("CallTipsRopePage", "Enable calltip"))
        self.label_3.setText(_translate("CallTipsRopePage", "Number of errors to fix:"))
        self.ctMaxfixesSpinBox.setToolTip(_translate("CallTipsRopePage", "Enter the number of errors to fix before giving up"))
        self.editPython3Button.setToolTip(_translate("CallTipsRopePage", "Press to edit the rope configuration for Python3"))
        self.editPython3Button.setText(_translate("CallTipsRopePage", "Edit Python 3 rope configuration"))
        self.createPython3Button.setToolTip(_translate("CallTipsRopePage", "Press to create a new rope default configuration for Python3"))
        self.createPython3Button.setText(_translate("CallTipsRopePage", "Create a Python3 rope configuration"))

eric ide

mercurial