RefactoringRope/Ui_ChangeOccurrencesDialog.py

Sat, 26 Oct 2024 15:50:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Oct 2024 15:50:43 +0200
branch
eric7
changeset 422
f98253eed7f0
child 423
9dfc89a5aadf
permissions
-rw-r--r--

- change to the new style header
- included the compiled form files

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ChangeOccurrencesDialog.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_ChangeOccurrencesDialog(object):
    def setupUi(self, ChangeOccurrencesDialog):
        ChangeOccurrencesDialog.setObjectName("ChangeOccurrencesDialog")
        ChangeOccurrencesDialog.resize(500, 138)
        ChangeOccurrencesDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtWidgets.QVBoxLayout(ChangeOccurrencesDialog)
        self.vboxlayout.setContentsMargins(6, 6, 6, 6)
        self.vboxlayout.setObjectName("vboxlayout")
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label = QtWidgets.QLabel(ChangeOccurrencesDialog)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)
        self.replaceEdit = QtWidgets.QLineEdit(ChangeOccurrencesDialog)
        self.replaceEdit.setClearButtonEnabled(True)
        self.replaceEdit.setObjectName("replaceEdit")
        self.hboxlayout.addWidget(self.replaceEdit)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.onlyCallsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
        self.onlyCallsCheckBox.setObjectName("onlyCallsCheckBox")
        self.vboxlayout.addWidget(self.onlyCallsCheckBox)
        self.readsCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
        self.readsCheckBox.setChecked(True)
        self.readsCheckBox.setObjectName("readsCheckBox")
        self.vboxlayout.addWidget(self.readsCheckBox)
        self.writesCheckBox = QtWidgets.QCheckBox(ChangeOccurrencesDialog)
        self.writesCheckBox.setChecked(True)
        self.writesCheckBox.setObjectName("writesCheckBox")
        self.vboxlayout.addWidget(self.writesCheckBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(ChangeOccurrencesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(ChangeOccurrencesDialog)
        self.buttonBox.rejected.connect(ChangeOccurrencesDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ChangeOccurrencesDialog)

    def retranslateUi(self, ChangeOccurrencesDialog):
        _translate = QtCore.QCoreApplication.translate
        ChangeOccurrencesDialog.setWindowTitle(_translate("ChangeOccurrencesDialog", "Change Occurrences"))
        self.label.setText(_translate("ChangeOccurrencesDialog", "Replace occurrences with:"))
        self.replaceEdit.setToolTip(_translate("ChangeOccurrencesDialog", "Enter the text occurrences should be replaced with"))
        self.onlyCallsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences, that are function or method calls.\n"
"\"Reads\" must be switched on as well."))
        self.onlyCallsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Do only for calls"))
        self.readsCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with read access"))
        self.readsCheckBox.setText(_translate("ChangeOccurrencesDialog", "Reads"))
        self.writesCheckBox.setToolTip(_translate("ChangeOccurrencesDialog", "Select to change occurrences with write access"))
        self.writesCheckBox.setText(_translate("ChangeOccurrencesDialog", "Writes"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    ChangeOccurrencesDialog = QtWidgets.QDialog()
    ui = Ui_ChangeOccurrencesDialog()
    ui.setupUi(ChangeOccurrencesDialog)
    ChangeOccurrencesDialog.show()
    sys.exit(app.exec())

eric ide

mercurial