diff -r e3167d354ab6 -r f98253eed7f0 RefactoringRope/Ui_RenameDialog.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefactoringRope/Ui_RenameDialog.py Sat Oct 26 15:50:43 2024 +0200 @@ -0,0 +1,94 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/RenameDialog.ui' +# +# Created by: PyQt6 UI code generator 6.3.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(RenameDialog) + self.label.setObjectName("label") + self.hboxlayout.addWidget(self.label) + self.newNameEdit = QtWidgets.QLineEdit(RenameDialog) + self.newNameEdit.setClearButtonEnabled(True) + self.newNameEdit.setObjectName("newNameEdit") + self.hboxlayout.addWidget(self.newNameEdit) + self.verticalLayout.addLayout(self.hboxlayout) + self.allCheckBox = QtWidgets.QCheckBox(RenameDialog) + self.allCheckBox.setObjectName("allCheckBox") + self.verticalLayout.addWidget(self.allCheckBox) + self.stringsCheckBox = QtWidgets.QCheckBox(RenameDialog) + self.stringsCheckBox.setChecked(True) + self.stringsCheckBox.setObjectName("stringsCheckBox") + self.verticalLayout.addWidget(self.stringsCheckBox) + self.groupBox = QtWidgets.QGroupBox(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(self.groupBox) + self.ignoreButton.setChecked(True) + self.ignoreButton.setObjectName("ignoreButton") + self.hboxlayout1.addWidget(self.ignoreButton) + self.matchButton = QtWidgets.QRadioButton(self.groupBox) + self.matchButton.setObjectName("matchButton") + self.hboxlayout1.addWidget(self.matchButton) + self.askButton = QtWidgets.QRadioButton(self.groupBox) + self.askButton.setObjectName("askButton") + self.hboxlayout1.addWidget(self.askButton) + self.verticalLayout.addWidget(self.groupBox) + self.buttonBox = QtWidgets.QDialogButtonBox(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")) + + +if __name__ == "__main__": + import sys + app = QtWidgets.QApplication(sys.argv) + RenameDialog = QtWidgets.QDialog() + ui = Ui_RenameDialog() + ui.setupUi(RenameDialog) + RenameDialog.show() + sys.exit(app.exec())