RefactoringRope/Ui_InlineDialog.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/InlineDialog.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_InlineDialog(object):
    def setupUi(self, InlineDialog):
        InlineDialog.setObjectName("InlineDialog")
        InlineDialog.resize(500, 133)
        InlineDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(InlineDialog)
        self.verticalLayout.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.description = QtWidgets.QLabel(parent=InlineDialog)
        self.description.setObjectName("description")
        self.verticalLayout.addWidget(self.description)
        self.removeCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
        self.removeCheckBox.setChecked(True)
        self.removeCheckBox.setObjectName("removeCheckBox")
        self.verticalLayout.addWidget(self.removeCheckBox)
        self.currentCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
        self.currentCheckBox.setObjectName("currentCheckBox")
        self.verticalLayout.addWidget(self.currentCheckBox)
        self.hierarchyCheckBox = QtWidgets.QCheckBox(parent=InlineDialog)
        self.hierarchyCheckBox.setObjectName("hierarchyCheckBox")
        self.verticalLayout.addWidget(self.hierarchyCheckBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=InlineDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(InlineDialog)
        self.buttonBox.rejected.connect(InlineDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(InlineDialog)
        InlineDialog.setTabOrder(self.removeCheckBox, self.currentCheckBox)
        InlineDialog.setTabOrder(self.currentCheckBox, self.hierarchyCheckBox)
        InlineDialog.setTabOrder(self.hierarchyCheckBox, self.buttonBox)

    def retranslateUi(self, InlineDialog):
        _translate = QtCore.QCoreApplication.translate
        InlineDialog.setWindowTitle(_translate("InlineDialog", "Inline"))
        self.removeCheckBox.setText(_translate("InlineDialog", "&Remove the definition"))
        self.currentCheckBox.setText(_translate("InlineDialog", "Only inline the &current occurrence"))
        self.hierarchyCheckBox.setText(_translate("InlineDialog", "Do for all matching methods in class &hierarchy"))

eric ide

mercurial