RefactoringRope/Ui_ConfirmationDialog.py

branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
equal deleted inserted replaced
422:f98253eed7f0 423:9dfc89a5aadf
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ConfirmationDialog.ui' 1 # Form implementation generated from reading ui file 'RefactoringRope/ConfirmationDialog.ui'
2 # 2 #
3 # Created by: PyQt6 UI code generator 6.3.1 3 # Created by: PyQt6 UI code generator 6.7.1
4 # 4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is 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. 6 # run again. Do not edit this file unless you know what you are doing.
7 7
8 8
16 ConfirmationDialog.setSizeGripEnabled(True) 16 ConfirmationDialog.setSizeGripEnabled(True)
17 self.vboxlayout = QtWidgets.QVBoxLayout(ConfirmationDialog) 17 self.vboxlayout = QtWidgets.QVBoxLayout(ConfirmationDialog)
18 self.vboxlayout.setContentsMargins(6, 6, 6, 6) 18 self.vboxlayout.setContentsMargins(6, 6, 6, 6)
19 self.vboxlayout.setSpacing(6) 19 self.vboxlayout.setSpacing(6)
20 self.vboxlayout.setObjectName("vboxlayout") 20 self.vboxlayout.setObjectName("vboxlayout")
21 self.description = QtWidgets.QLabel(ConfirmationDialog) 21 self.description = QtWidgets.QLabel(parent=ConfirmationDialog)
22 self.description.setWordWrap(True) 22 self.description.setWordWrap(True)
23 self.description.setObjectName("description") 23 self.description.setObjectName("description")
24 self.vboxlayout.addWidget(self.description) 24 self.vboxlayout.addWidget(self.description)
25 self.buttonBox = QtWidgets.QDialogButtonBox(ConfirmationDialog) 25 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ConfirmationDialog)
26 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) 26 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
27 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) 27 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
28 self.buttonBox.setObjectName("buttonBox") 28 self.buttonBox.setObjectName("buttonBox")
29 self.vboxlayout.addWidget(self.buttonBox) 29 self.vboxlayout.addWidget(self.buttonBox)
30 30
34 QtCore.QMetaObject.connectSlotsByName(ConfirmationDialog) 34 QtCore.QMetaObject.connectSlotsByName(ConfirmationDialog)
35 35
36 def retranslateUi(self, ConfirmationDialog): 36 def retranslateUi(self, ConfirmationDialog):
37 _translate = QtCore.QCoreApplication.translate 37 _translate = QtCore.QCoreApplication.translate
38 ConfirmationDialog.setWindowTitle(_translate("ConfirmationDialog", "Confirmation")) 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