RefactoringRope/Ui_ConfirmationDialog.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/ConfirmationDialog.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_ConfirmationDialog(object):
13 def setupUi(self, ConfirmationDialog):
14 ConfirmationDialog.setObjectName("ConfirmationDialog")
15 ConfirmationDialog.resize(500, 58)
16 ConfirmationDialog.setSizeGripEnabled(True)
17 self.vboxlayout = QtWidgets.QVBoxLayout(ConfirmationDialog)
18 self.vboxlayout.setContentsMargins(6, 6, 6, 6)
19 self.vboxlayout.setSpacing(6)
20 self.vboxlayout.setObjectName("vboxlayout")
21 self.description = QtWidgets.QLabel(ConfirmationDialog)
22 self.description.setWordWrap(True)
23 self.description.setObjectName("description")
24 self.vboxlayout.addWidget(self.description)
25 self.buttonBox = QtWidgets.QDialogButtonBox(ConfirmationDialog)
26 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
27 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
28 self.buttonBox.setObjectName("buttonBox")
29 self.vboxlayout.addWidget(self.buttonBox)
30
31 self.retranslateUi(ConfirmationDialog)
32 self.buttonBox.rejected.connect(ConfirmationDialog.reject) # type: ignore
33 self.buttonBox.accepted.connect(ConfirmationDialog.accept) # type: ignore
34 QtCore.QMetaObject.connectSlotsByName(ConfirmationDialog)
35
36 def retranslateUi(self, ConfirmationDialog):
37 _translate = QtCore.QCoreApplication.translate
38 ConfirmationDialog.setWindowTitle(_translate("ConfirmationDialog", "Confirmation"))
39
40
41 if __name__ == "__main__":
42 import sys
43 app = QtWidgets.QApplication(sys.argv)
44 ConfirmationDialog = QtWidgets.QDialog()
45 ui = Ui_ConfirmationDialog()
46 ui.setupUi(ConfirmationDialog)
47 ConfirmationDialog.show()
48 sys.exit(app.exec())

eric ide

mercurial