RefactoringRope/Ui_ChangeOccurrencesDialog.py

branch
eric7
changeset 422
f98253eed7f0
child 423
9dfc89a5aadf
equal deleted inserted replaced
421:e3167d354ab6 422:f98253eed7f0
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ChangeOccurrencesDialog.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_ChangeOccurrencesDialog(object):
13 def setupUi(self, ChangeOccurrencesDialog):
14 ChangeOccurrencesDialog.setObjectName("ChangeOccurrencesDialog")
15 ChangeOccurrencesDialog.resize(500, 138)
16 ChangeOccurrencesDialog.setSizeGripEnabled(True)
17 self.vboxlayout = QtWidgets.QVBoxLayout(ChangeOccurrencesDialog)
18 self.vboxlayout.setContentsMargins(6, 6, 6, 6)
19 self.vboxlayout.setObjectName("vboxlayout")
20 self.hboxlayout = QtWidgets.QHBoxLayout()
21 self.hboxlayout.setObjectName("hboxlayout")
22 self.label = QtWidgets.QLabel(ChangeOccurrencesDialog)
23 self.label.setObjectName("label")
24 self.hboxlayout.addWidget(self.label)
25 self.replaceEdit = QtWidgets.QLineEdit(ChangeOccurrencesDialog)
26 self.replaceEdit.setClearButtonEnabled(True)
27 self.replaceEdit.setObjectName("replaceEdit")
28 self.hboxlayout.addWidget(self.replaceEdit)
29 self.vboxlayout.addLayout(self.hboxlayout)
30 self.onlyCallsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
31 self.onlyCallsCheckBox.setObjectName("onlyCallsCheckBox")
32 self.vboxlayout.addWidget(self.onlyCallsCheckBox)
33 self.readsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
34 self.readsCheckBox.setChecked(True)
35 self.readsCheckBox.setObjectName("readsCheckBox")
36 self.vboxlayout.addWidget(self.readsCheckBox)
37 self.writesCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
38 self.writesCheckBox.setChecked(True)
39 self.writesCheckBox.setObjectName("writesCheckBox")
40 self.vboxlayout.addWidget(self.writesCheckBox)
41 self.buttonBox = QtWidgets.QDialogButtonBox(ChangeOccurrencesDialog)
42 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
43 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
44 self.buttonBox.setObjectName("buttonBox")
45 self.vboxlayout.addWidget(self.buttonBox)
46
47 self.retranslateUi(ChangeOccurrencesDialog)
48 self.buttonBox.rejected.connect(ChangeOccurrencesDialog.reject) # type: ignore
49 QtCore.QMetaObject.connectSlotsByName(ChangeOccurrencesDialog)
50
51 def retranslateUi(self, ChangeOccurrencesDialog):
52 _translate = QtCore.QCoreApplication.translate
53 ChangeOccurrencesDialog.setWindowTitle(_translate("ChangeOccurrencesDialog", "Change Occurrences"))
54 self.label.setText(_translate("ChangeOccurrencesDialog", "Replace occurrences with:"))
55 self.replaceEdit.setToolTip(_translate("ChangeOccurrencesDialog", "Enter the text occurrences should be replaced with"))
56 self.onlyCallsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences, that are function or method calls.\n"
57 "\"Reads\" must be switched on as well."))
58 self.onlyCallsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Do only for calls"))
59 self.readsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with read access"))
60 self.readsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Reads"))
61 self.writesCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with write access"))
62 self.writesCheckBox.setText(_translate("ChangeOccurrencesDialog", "Writes"))
63
64
65 if __name__ == "__main__":
66 import sys
67 app = QtWidgets.QApplication(sys.argv)
68 ChangeOccurrencesDialog = QtWidgets.QDialog()
69 ui = Ui_ChangeOccurrencesDialog()
70 ui.setupUi(ChangeOccurrencesDialog)
71 ChangeOccurrencesDialog.show()
72 sys.exit(app.exec())

eric ide

mercurial