RefactoringRope/Ui_ConfirmationDialog.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/ConfirmationDialog.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_ConfirmationDialog(object):
    def setupUi(self, ConfirmationDialog):
        ConfirmationDialog.setObjectName("ConfirmationDialog")
        ConfirmationDialog.resize(500, 58)
        ConfirmationDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtWidgets.QVBoxLayout(ConfirmationDialog)
        self.vboxlayout.setContentsMargins(6, 6, 6, 6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")
        self.description = QtWidgets.QLabel(ConfirmationDialog)
        self.description.setWordWrap(True)
        self.description.setObjectName("description")
        self.vboxlayout.addWidget(self.description)
        self.buttonBox = QtWidgets.QDialogButtonBox(ConfirmationDialog)
        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(ConfirmationDialog)
        self.buttonBox.rejected.connect(ConfirmationDialog.reject) # type: ignore
        self.buttonBox.accepted.connect(ConfirmationDialog.accept) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ConfirmationDialog)

    def retranslateUi(self, ConfirmationDialog):
        _translate = QtCore.QCoreApplication.translate
        ConfirmationDialog.setWindowTitle(_translate("ConfirmationDialog", "Confirmation"))


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

eric ide

mercurial