ProjectDjango/Ui_DjangoMigrationSelectionDialog.py

branch
eric7
changeset 195
b027b4f90994
child 200
d0180bd6c1b5
equal deleted inserted replaced
194:f497097bb0aa 195:b027b4f90994
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMigrationSelectionDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.4.0
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_DjangoMigrationSelectionDialog(object):
13 def setupUi(self, DjangoMigrationSelectionDialog):
14 DjangoMigrationSelectionDialog.setObjectName("DjangoMigrationSelectionDialog")
15 DjangoMigrationSelectionDialog.resize(561, 110)
16 DjangoMigrationSelectionDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(DjangoMigrationSelectionDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.applicationComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog)
20 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
21 sizePolicy.setHorizontalStretch(0)
22 sizePolicy.setVerticalStretch(0)
23 sizePolicy.setHeightForWidth(self.applicationComboBox.sizePolicy().hasHeightForWidth())
24 self.applicationComboBox.setSizePolicy(sizePolicy)
25 self.applicationComboBox.setObjectName("applicationComboBox")
26 self.gridLayout.addWidget(self.applicationComboBox, 0, 1, 1, 1)
27 self.migrationsComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog)
28 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
29 sizePolicy.setHorizontalStretch(0)
30 sizePolicy.setVerticalStretch(0)
31 sizePolicy.setHeightForWidth(self.migrationsComboBox.sizePolicy().hasHeightForWidth())
32 self.migrationsComboBox.setSizePolicy(sizePolicy)
33 self.migrationsComboBox.setObjectName("migrationsComboBox")
34 self.gridLayout.addWidget(self.migrationsComboBox, 1, 1, 1, 1)
35 self.label_2 = QtWidgets.QLabel(DjangoMigrationSelectionDialog)
36 self.label_2.setObjectName("label_2")
37 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
38 self.label = QtWidgets.QLabel(DjangoMigrationSelectionDialog)
39 self.label.setObjectName("label")
40 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
41 self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMigrationSelectionDialog)
42 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
43 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
44 self.buttonBox.setObjectName("buttonBox")
45 self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2)
46
47 self.retranslateUi(DjangoMigrationSelectionDialog)
48 self.buttonBox.accepted.connect(DjangoMigrationSelectionDialog.accept) # type: ignore
49 self.buttonBox.rejected.connect(DjangoMigrationSelectionDialog.reject) # type: ignore
50 QtCore.QMetaObject.connectSlotsByName(DjangoMigrationSelectionDialog)
51
52 def retranslateUi(self, DjangoMigrationSelectionDialog):
53 _translate = QtCore.QCoreApplication.translate
54 DjangoMigrationSelectionDialog.setWindowTitle(_translate("DjangoMigrationSelectionDialog", "Select Migration"))
55 self.applicationComboBox.setToolTip(_translate("DjangoMigrationSelectionDialog", "Select the application"))
56 self.migrationsComboBox.setToolTip(_translate("DjangoMigrationSelectionDialog", "Select a migration"))
57 self.label_2.setText(_translate("DjangoMigrationSelectionDialog", "Migration:"))
58 self.label.setText(_translate("DjangoMigrationSelectionDialog", "Application:"))
59
60
61 if __name__ == "__main__":
62 import sys
63 app = QtWidgets.QApplication(sys.argv)
64 DjangoMigrationSelectionDialog = QtWidgets.QDialog()
65 ui = Ui_DjangoMigrationSelectionDialog()
66 ui.setupUi(DjangoMigrationSelectionDialog)
67 DjangoMigrationSelectionDialog.show()
68 sys.exit(app.exec())

eric ide

mercurial