ProjectDjango/Ui_DjangoMakeMigrationsDialog.py

branch
eric7
changeset 200
d0180bd6c1b5
parent 195
b027b4f90994
child 205
3f8d003cb9cf
equal deleted inserted replaced
199:5dfb03b8ee4c 200:d0180bd6c1b5
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMakeMigrationsDialog.ui' 1 # Form implementation generated from reading ui file 'ProjectDjango/DjangoMakeMigrationsDialog.ui'
2 # 2 #
3 # Created by: PyQt6 UI code generator 6.4.0 3 # Created by: PyQt6 UI code generator 6.8.0
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
14 DjangoMakeMigrationsDialog.setObjectName("DjangoMakeMigrationsDialog") 14 DjangoMakeMigrationsDialog.setObjectName("DjangoMakeMigrationsDialog")
15 DjangoMakeMigrationsDialog.resize(500, 198) 15 DjangoMakeMigrationsDialog.resize(500, 198)
16 DjangoMakeMigrationsDialog.setSizeGripEnabled(True) 16 DjangoMakeMigrationsDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(DjangoMakeMigrationsDialog) 17 self.gridLayout = QtWidgets.QGridLayout(DjangoMakeMigrationsDialog)
18 self.gridLayout.setObjectName("gridLayout") 18 self.gridLayout.setObjectName("gridLayout")
19 self.label = QtWidgets.QLabel(DjangoMakeMigrationsDialog) 19 self.label = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog)
20 self.label.setObjectName("label") 20 self.label.setObjectName("label")
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) 21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
22 self.applicationsComboBox = QtWidgets.QComboBox(DjangoMakeMigrationsDialog) 22 self.applicationsComboBox = QtWidgets.QComboBox(parent=DjangoMakeMigrationsDialog)
23 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) 23 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
24 sizePolicy.setHorizontalStretch(0) 24 sizePolicy.setHorizontalStretch(0)
25 sizePolicy.setVerticalStretch(0) 25 sizePolicy.setVerticalStretch(0)
26 sizePolicy.setHeightForWidth(self.applicationsComboBox.sizePolicy().hasHeightForWidth()) 26 sizePolicy.setHeightForWidth(self.applicationsComboBox.sizePolicy().hasHeightForWidth())
27 self.applicationsComboBox.setSizePolicy(sizePolicy) 27 self.applicationsComboBox.setSizePolicy(sizePolicy)
28 self.applicationsComboBox.setEditable(True) 28 self.applicationsComboBox.setEditable(True)
29 self.applicationsComboBox.setObjectName("applicationsComboBox") 29 self.applicationsComboBox.setObjectName("applicationsComboBox")
30 self.gridLayout.addWidget(self.applicationsComboBox, 0, 1, 1, 1) 30 self.gridLayout.addWidget(self.applicationsComboBox, 0, 1, 1, 1)
31 self.label_2 = QtWidgets.QLabel(DjangoMakeMigrationsDialog) 31 self.label_2 = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog)
32 self.label_2.setObjectName("label_2") 32 self.label_2.setObjectName("label_2")
33 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) 33 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
34 self.nameEdit = QtWidgets.QLineEdit(DjangoMakeMigrationsDialog) 34 self.nameEdit = QtWidgets.QLineEdit(parent=DjangoMakeMigrationsDialog)
35 self.nameEdit.setClearButtonEnabled(True) 35 self.nameEdit.setClearButtonEnabled(True)
36 self.nameEdit.setObjectName("nameEdit") 36 self.nameEdit.setObjectName("nameEdit")
37 self.gridLayout.addWidget(self.nameEdit, 1, 1, 1, 1) 37 self.gridLayout.addWidget(self.nameEdit, 1, 1, 1, 1)
38 self.emptyCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) 38 self.emptyCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog)
39 self.emptyCheckBox.setObjectName("emptyCheckBox") 39 self.emptyCheckBox.setObjectName("emptyCheckBox")
40 self.gridLayout.addWidget(self.emptyCheckBox, 2, 0, 1, 2) 40 self.gridLayout.addWidget(self.emptyCheckBox, 2, 0, 1, 2)
41 self.mergeCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) 41 self.mergeCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog)
42 self.mergeCheckBox.setObjectName("mergeCheckBox") 42 self.mergeCheckBox.setObjectName("mergeCheckBox")
43 self.gridLayout.addWidget(self.mergeCheckBox, 3, 0, 1, 2) 43 self.gridLayout.addWidget(self.mergeCheckBox, 3, 0, 1, 2)
44 self.dryrunCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) 44 self.dryrunCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog)
45 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) 45 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
46 sizePolicy.setHorizontalStretch(0) 46 sizePolicy.setHorizontalStretch(0)
47 sizePolicy.setVerticalStretch(0) 47 sizePolicy.setVerticalStretch(0)
48 sizePolicy.setHeightForWidth(self.dryrunCheckBox.sizePolicy().hasHeightForWidth()) 48 sizePolicy.setHeightForWidth(self.dryrunCheckBox.sizePolicy().hasHeightForWidth())
49 self.dryrunCheckBox.setSizePolicy(sizePolicy) 49 self.dryrunCheckBox.setSizePolicy(sizePolicy)
50 self.dryrunCheckBox.setObjectName("dryrunCheckBox") 50 self.dryrunCheckBox.setObjectName("dryrunCheckBox")
51 self.gridLayout.addWidget(self.dryrunCheckBox, 4, 0, 1, 2) 51 self.gridLayout.addWidget(self.dryrunCheckBox, 4, 0, 1, 2)
52 self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMakeMigrationsDialog) 52 self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMakeMigrationsDialog)
53 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) 53 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
54 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) 54 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
55 self.buttonBox.setObjectName("buttonBox") 55 self.buttonBox.setObjectName("buttonBox")
56 self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2) 56 self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2)
57 57
75 self.emptyCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Create empty migrations")) 75 self.emptyCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Create empty migrations"))
76 self.mergeCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to fix migration conflicts")) 76 self.mergeCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to fix migration conflicts"))
77 self.mergeCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Fix migration conflicts")) 77 self.mergeCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Fix migration conflicts"))
78 self.dryrunCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to perform a dry-run")) 78 self.dryrunCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to perform a dry-run"))
79 self.dryrunCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Dry-Run only")) 79 self.dryrunCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Dry-Run only"))
80
81
82 if __name__ == "__main__":
83 import sys
84 app = QtWidgets.QApplication(sys.argv)
85 DjangoMakeMigrationsDialog = QtWidgets.QDialog()
86 ui = Ui_DjangoMakeMigrationsDialog()
87 ui.setupUi(DjangoMakeMigrationsDialog)
88 DjangoMakeMigrationsDialog.show()
89 sys.exit(app.exec())

eric ide

mercurial