|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/RenameDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.3.1 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_RenameDialog(object): |
|
13 def setupUi(self, RenameDialog): |
|
14 RenameDialog.setObjectName("RenameDialog") |
|
15 RenameDialog.resize(500, 184) |
|
16 RenameDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(RenameDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.hboxlayout = QtWidgets.QHBoxLayout() |
|
20 self.hboxlayout.setObjectName("hboxlayout") |
|
21 self.label = QtWidgets.QLabel(RenameDialog) |
|
22 self.label.setObjectName("label") |
|
23 self.hboxlayout.addWidget(self.label) |
|
24 self.newNameEdit = QtWidgets.QLineEdit(RenameDialog) |
|
25 self.newNameEdit.setClearButtonEnabled(True) |
|
26 self.newNameEdit.setObjectName("newNameEdit") |
|
27 self.hboxlayout.addWidget(self.newNameEdit) |
|
28 self.verticalLayout.addLayout(self.hboxlayout) |
|
29 self.allCheckBox = QtWidgets.QCheckBox(RenameDialog) |
|
30 self.allCheckBox.setObjectName("allCheckBox") |
|
31 self.verticalLayout.addWidget(self.allCheckBox) |
|
32 self.stringsCheckBox = QtWidgets.QCheckBox(RenameDialog) |
|
33 self.stringsCheckBox.setChecked(True) |
|
34 self.stringsCheckBox.setObjectName("stringsCheckBox") |
|
35 self.verticalLayout.addWidget(self.stringsCheckBox) |
|
36 self.groupBox = QtWidgets.QGroupBox(RenameDialog) |
|
37 self.groupBox.setObjectName("groupBox") |
|
38 self.hboxlayout1 = QtWidgets.QHBoxLayout(self.groupBox) |
|
39 self.hboxlayout1.setContentsMargins(6, 6, 6, 6) |
|
40 self.hboxlayout1.setSpacing(6) |
|
41 self.hboxlayout1.setObjectName("hboxlayout1") |
|
42 self.ignoreButton = QtWidgets.QRadioButton(self.groupBox) |
|
43 self.ignoreButton.setChecked(True) |
|
44 self.ignoreButton.setObjectName("ignoreButton") |
|
45 self.hboxlayout1.addWidget(self.ignoreButton) |
|
46 self.matchButton = QtWidgets.QRadioButton(self.groupBox) |
|
47 self.matchButton.setObjectName("matchButton") |
|
48 self.hboxlayout1.addWidget(self.matchButton) |
|
49 self.askButton = QtWidgets.QRadioButton(self.groupBox) |
|
50 self.askButton.setObjectName("askButton") |
|
51 self.hboxlayout1.addWidget(self.askButton) |
|
52 self.verticalLayout.addWidget(self.groupBox) |
|
53 self.buttonBox = QtWidgets.QDialogButtonBox(RenameDialog) |
|
54 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
55 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
56 self.buttonBox.setObjectName("buttonBox") |
|
57 self.verticalLayout.addWidget(self.buttonBox) |
|
58 |
|
59 self.retranslateUi(RenameDialog) |
|
60 self.buttonBox.rejected.connect(RenameDialog.reject) # type: ignore |
|
61 QtCore.QMetaObject.connectSlotsByName(RenameDialog) |
|
62 RenameDialog.setTabOrder(self.newNameEdit, self.allCheckBox) |
|
63 RenameDialog.setTabOrder(self.allCheckBox, self.stringsCheckBox) |
|
64 RenameDialog.setTabOrder(self.stringsCheckBox, self.ignoreButton) |
|
65 RenameDialog.setTabOrder(self.ignoreButton, self.matchButton) |
|
66 RenameDialog.setTabOrder(self.matchButton, self.askButton) |
|
67 RenameDialog.setTabOrder(self.askButton, self.buttonBox) |
|
68 |
|
69 def retranslateUi(self, RenameDialog): |
|
70 _translate = QtCore.QCoreApplication.translate |
|
71 RenameDialog.setWindowTitle(_translate("RenameDialog", "Rename")) |
|
72 self.label.setText(_translate("RenameDialog", "New Name:")) |
|
73 self.newNameEdit.setToolTip(_translate("RenameDialog", "Enter the new name")) |
|
74 self.allCheckBox.setToolTip(_translate("RenameDialog", "Select to perform the refactoring for all matching methods in class hierarchy")) |
|
75 self.allCheckBox.setText(_translate("RenameDialog", "Do for all matching methods in class hierarchy")) |
|
76 self.stringsCheckBox.setToolTip(_translate("RenameDialog", "Select to rename occurrences in strings and comments where the name is visible")) |
|
77 self.stringsCheckBox.setText(_translate("RenameDialog", "Rename occurrences in strings and comments")) |
|
78 self.groupBox.setTitle(_translate("RenameDialog", "What to do about unsure occurrences?")) |
|
79 self.ignoreButton.setToolTip(_translate("RenameDialog", "Select to ignore unsure occurrences")) |
|
80 self.ignoreButton.setText(_translate("RenameDialog", "Ignore")) |
|
81 self.matchButton.setToolTip(_translate("RenameDialog", "Select to refactor unsure occurrences")) |
|
82 self.matchButton.setText(_translate("RenameDialog", "Match")) |
|
83 self.askButton.setToolTip(_translate("RenameDialog", "Select to ask for each unsure occurrence")) |
|
84 self.askButton.setText(_translate("RenameDialog", "Ask")) |
|
85 |
|
86 |
|
87 if __name__ == "__main__": |
|
88 import sys |
|
89 app = QtWidgets.QApplication(sys.argv) |
|
90 RenameDialog = QtWidgets.QDialog() |
|
91 ui = Ui_RenameDialog() |
|
92 ui.setupUi(RenameDialog) |
|
93 RenameDialog.show() |
|
94 sys.exit(app.exec()) |