RefactoringRope/Ui_RenameDialog.py

Tue, 10 Dec 2024 15:49:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Dec 2024 15:49:01 +0100
branch
eric7
changeset 426
7592a1c052e8
parent 423
9dfc89a5aadf
permissions
-rw-r--r--

Updated copyright for 2025.

# Form implementation generated from reading ui file 'RefactoringRope/RenameDialog.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_RenameDialog(object):
    def setupUi(self, RenameDialog):
        RenameDialog.setObjectName("RenameDialog")
        RenameDialog.resize(500, 184)
        RenameDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(RenameDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label = QtWidgets.QLabel(parent=RenameDialog)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)
        self.newNameEdit = QtWidgets.QLineEdit(parent=RenameDialog)
        self.newNameEdit.setClearButtonEnabled(True)
        self.newNameEdit.setObjectName("newNameEdit")
        self.hboxlayout.addWidget(self.newNameEdit)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.allCheckBox = QtWidgets.QCheckBox(parent=RenameDialog)
        self.allCheckBox.setObjectName("allCheckBox")
        self.verticalLayout.addWidget(self.allCheckBox)
        self.stringsCheckBox = QtWidgets.QCheckBox(parent=RenameDialog)
        self.stringsCheckBox.setChecked(True)
        self.stringsCheckBox.setObjectName("stringsCheckBox")
        self.verticalLayout.addWidget(self.stringsCheckBox)
        self.groupBox = QtWidgets.QGroupBox(parent=RenameDialog)
        self.groupBox.setObjectName("groupBox")
        self.hboxlayout1 = QtWidgets.QHBoxLayout(self.groupBox)
        self.hboxlayout1.setContentsMargins(6, 6, 6, 6)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.ignoreButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.ignoreButton.setChecked(True)
        self.ignoreButton.setObjectName("ignoreButton")
        self.hboxlayout1.addWidget(self.ignoreButton)
        self.matchButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.matchButton.setObjectName("matchButton")
        self.hboxlayout1.addWidget(self.matchButton)
        self.askButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.askButton.setObjectName("askButton")
        self.hboxlayout1.addWidget(self.askButton)
        self.verticalLayout.addWidget(self.groupBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=RenameDialog)
        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(RenameDialog)
        self.buttonBox.rejected.connect(RenameDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(RenameDialog)
        RenameDialog.setTabOrder(self.newNameEdit, self.allCheckBox)
        RenameDialog.setTabOrder(self.allCheckBox, self.stringsCheckBox)
        RenameDialog.setTabOrder(self.stringsCheckBox, self.ignoreButton)
        RenameDialog.setTabOrder(self.ignoreButton, self.matchButton)
        RenameDialog.setTabOrder(self.matchButton, self.askButton)
        RenameDialog.setTabOrder(self.askButton, self.buttonBox)

    def retranslateUi(self, RenameDialog):
        _translate = QtCore.QCoreApplication.translate
        RenameDialog.setWindowTitle(_translate("RenameDialog", "Rename"))
        self.label.setText(_translate("RenameDialog", "New Name:"))
        self.newNameEdit.setToolTip(_translate("RenameDialog", "Enter the new name"))
        self.allCheckBox.setToolTip(_translate("RenameDialog", "Select to perform the refactoring for all matching methods in class hierarchy"))
        self.allCheckBox.setText(_translate("RenameDialog", "Do for all matching methods in class hierarchy"))
        self.stringsCheckBox.setToolTip(_translate("RenameDialog", "Select to rename occurrences in strings and comments where the name is visible"))
        self.stringsCheckBox.setText(_translate("RenameDialog", "Rename occurrences in strings and comments"))
        self.groupBox.setTitle(_translate("RenameDialog", "What to do about unsure occurrences?"))
        self.ignoreButton.setToolTip(_translate("RenameDialog", "Select to ignore unsure occurrences"))
        self.ignoreButton.setText(_translate("RenameDialog", "Ignore"))
        self.matchButton.setToolTip(_translate("RenameDialog", "Select to refactor unsure occurrences"))
        self.matchButton.setText(_translate("RenameDialog", "Match"))
        self.askButton.setToolTip(_translate("RenameDialog", "Select to ask for each unsure occurrence"))
        self.askButton.setText(_translate("RenameDialog", "Ask"))

eric ide

mercurial