Thu, 26 Dec 2024 14:24:11 +0100
Prepared new plugin release.
--- a/ChangeLog Thu Dec 26 14:22:24 2024 +0100 +++ b/ChangeLog Thu Dec 26 14:24:11 2024 +0100 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 10.3.3 +- bug fixes + Version 10.3.2 - changed to the new style header - ensured proper parent relationship of modal dialogs
--- a/PluginProjectDjango.py Thu Dec 26 14:22:24 2024 +0100 +++ b/PluginProjectDjango.py Thu Dec 26 14:24:11 2024 +0100 @@ -30,7 +30,7 @@ "author": "Detlev Offenbach <detlev@die-offenbachs.de>", "autoactivate": True, "deactivateable": True, - "version": "10.3.2", + "version": "10.3.3", "className": "ProjectDjangoPlugin", "packageName": "ProjectDjango", "shortDescription": "Project support for Django projects.",
--- a/ProjectDjango/ConfigurationPage/Ui_DjangoPage.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/ConfigurationPage/Ui_DjangoPage.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/ConfigurationPage/DjangoPage.ui' +# Form implementation generated from reading ui file 'ProjectDjango/ConfigurationPage/DjangoPage.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -15,23 +15,23 @@ DjangoPage.resize(536, 1038) self.verticalLayout_6 = QtWidgets.QVBoxLayout(DjangoPage) self.verticalLayout_6.setObjectName("verticalLayout_6") - self.headerLabel = QtWidgets.QLabel(DjangoPage) + self.headerLabel = QtWidgets.QLabel(parent=DjangoPage) self.headerLabel.setObjectName("headerLabel") self.verticalLayout_6.addWidget(self.headerLabel) - self.line15 = QtWidgets.QFrame(DjangoPage) + self.line15 = QtWidgets.QFrame(parent=DjangoPage) self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine) self.line15.setObjectName("line15") self.verticalLayout_6.addWidget(self.line15) - self.djangoConsoleGroup = QtWidgets.QGroupBox(DjangoPage) + self.djangoConsoleGroup = QtWidgets.QGroupBox(parent=DjangoPage) self.djangoConsoleGroup.setObjectName("djangoConsoleGroup") self.gridLayout = QtWidgets.QGridLayout(self.djangoConsoleGroup) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(self.djangoConsoleGroup) + self.label = QtWidgets.QLabel(parent=self.djangoConsoleGroup) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.consoleCommandCombo = QtWidgets.QComboBox(self.djangoConsoleGroup) + self.consoleCommandCombo = QtWidgets.QComboBox(parent=self.djangoConsoleGroup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -40,10 +40,10 @@ self.consoleCommandCombo.setEditable(True) self.consoleCommandCombo.setObjectName("consoleCommandCombo") self.gridLayout.addWidget(self.consoleCommandCombo, 0, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(self.djangoConsoleGroup) + self.label_2 = QtWidgets.QLabel(parent=self.djangoConsoleGroup) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.consoleCommandNoCloseCombo = QtWidgets.QComboBox(self.djangoConsoleGroup) + self.consoleCommandNoCloseCombo = QtWidgets.QComboBox(parent=self.djangoConsoleGroup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -52,37 +52,37 @@ self.consoleCommandNoCloseCombo.setEditable(True) self.consoleCommandNoCloseCombo.setObjectName("consoleCommandNoCloseCombo") self.gridLayout.addWidget(self.consoleCommandNoCloseCombo, 1, 1, 1, 1) - self.label_5 = QtWidgets.QLabel(self.djangoConsoleGroup) + self.label_5 = QtWidgets.QLabel(parent=self.djangoConsoleGroup) self.label_5.setWordWrap(True) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 2, 0, 1, 2) self.verticalLayout_6.addWidget(self.djangoConsoleGroup) - self.djangoServerGroup = QtWidgets.QGroupBox(DjangoPage) + self.djangoServerGroup = QtWidgets.QGroupBox(parent=DjangoPage) self.djangoServerGroup.setObjectName("djangoServerGroup") self.gridLayout_2 = QtWidgets.QGridLayout(self.djangoServerGroup) self.gridLayout_2.setObjectName("gridLayout_2") - self.label_3 = QtWidgets.QLabel(self.djangoServerGroup) + self.label_3 = QtWidgets.QLabel(parent=self.djangoServerGroup) self.label_3.setObjectName("label_3") self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 1) - self.serverAddressEdit = QtWidgets.QLineEdit(self.djangoServerGroup) + self.serverAddressEdit = QtWidgets.QLineEdit(parent=self.djangoServerGroup) self.serverAddressEdit.setObjectName("serverAddressEdit") self.gridLayout_2.addWidget(self.serverAddressEdit, 0, 1, 1, 1) - self.ipv6CheckBox = QtWidgets.QCheckBox(self.djangoServerGroup) + self.ipv6CheckBox = QtWidgets.QCheckBox(parent=self.djangoServerGroup) self.ipv6CheckBox.setObjectName("ipv6CheckBox") self.gridLayout_2.addWidget(self.ipv6CheckBox, 1, 0, 1, 2) - self.threadingCheckBox = QtWidgets.QCheckBox(self.djangoServerGroup) + self.threadingCheckBox = QtWidgets.QCheckBox(parent=self.djangoServerGroup) self.threadingCheckBox.setObjectName("threadingCheckBox") self.gridLayout_2.addWidget(self.threadingCheckBox, 2, 0, 1, 2) self.verticalLayout_6.addWidget(self.djangoServerGroup) - self.djangoBrowserGroup = QtWidgets.QGroupBox(DjangoPage) + self.djangoBrowserGroup = QtWidgets.QGroupBox(parent=DjangoPage) self.djangoBrowserGroup.setObjectName("djangoBrowserGroup") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.djangoBrowserGroup) self.verticalLayout_5.setObjectName("verticalLayout_5") - self.externalBrowserCheckBox = QtWidgets.QCheckBox(self.djangoBrowserGroup) + self.externalBrowserCheckBox = QtWidgets.QCheckBox(parent=self.djangoBrowserGroup) self.externalBrowserCheckBox.setObjectName("externalBrowserCheckBox") self.verticalLayout_5.addWidget(self.externalBrowserCheckBox) self.verticalLayout_6.addWidget(self.djangoBrowserGroup) - self.djangoRecentAppsGroup = QtWidgets.QGroupBox(DjangoPage) + self.djangoRecentAppsGroup = QtWidgets.QGroupBox(parent=DjangoPage) self.djangoRecentAppsGroup.setObjectName("djangoRecentAppsGroup") self.vboxlayout = QtWidgets.QVBoxLayout(self.djangoRecentAppsGroup) self.vboxlayout.setContentsMargins(6, 6, 6, 6) @@ -90,10 +90,10 @@ self.vboxlayout.setObjectName("vboxlayout") self._2 = QtWidgets.QHBoxLayout() self._2.setObjectName("_2") - self.label_4 = QtWidgets.QLabel(self.djangoRecentAppsGroup) + self.label_4 = QtWidgets.QLabel(parent=self.djangoRecentAppsGroup) self.label_4.setObjectName("label_4") self._2.addWidget(self.label_4) - self.appsRecentSpinBox = QtWidgets.QSpinBox(self.djangoRecentAppsGroup) + self.appsRecentSpinBox = QtWidgets.QSpinBox(parent=self.djangoRecentAppsGroup) self.appsRecentSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) self.appsRecentSpinBox.setMinimum(5) self.appsRecentSpinBox.setMaximum(50) @@ -103,28 +103,28 @@ self._2.addItem(spacerItem) self.vboxlayout.addLayout(self._2) self.verticalLayout_6.addWidget(self.djangoRecentAppsGroup) - self.python3Group = QtWidgets.QGroupBox(DjangoPage) + self.python3Group = QtWidgets.QGroupBox(parent=DjangoPage) self.python3Group.setObjectName("python3Group") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.python3Group) self.verticalLayout_3.setObjectName("verticalLayout_3") - self.djangoVirtualEnvironmentPy3Group = QtWidgets.QGroupBox(self.python3Group) + self.djangoVirtualEnvironmentPy3Group = QtWidgets.QGroupBox(parent=self.python3Group) self.djangoVirtualEnvironmentPy3Group.setObjectName("djangoVirtualEnvironmentPy3Group") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.djangoVirtualEnvironmentPy3Group) self.verticalLayout_2.setObjectName("verticalLayout_2") - self.label_11 = QtWidgets.QLabel(self.djangoVirtualEnvironmentPy3Group) + self.label_11 = QtWidgets.QLabel(parent=self.djangoVirtualEnvironmentPy3Group) self.label_11.setWordWrap(True) self.label_11.setObjectName("label_11") self.verticalLayout_2.addWidget(self.label_11) - self.py3VenvNameComboBox = QtWidgets.QComboBox(self.djangoVirtualEnvironmentPy3Group) + self.py3VenvNameComboBox = QtWidgets.QComboBox(parent=self.djangoVirtualEnvironmentPy3Group) self.py3VenvNameComboBox.setObjectName("py3VenvNameComboBox") self.verticalLayout_2.addWidget(self.py3VenvNameComboBox) self.verticalLayout_3.addWidget(self.djangoVirtualEnvironmentPy3Group) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") - self.label_10 = QtWidgets.QLabel(self.python3Group) + self.label_10 = QtWidgets.QLabel(parent=self.python3Group) self.label_10.setObjectName("label_10") self.horizontalLayout.addWidget(self.label_10) - self.py3ShellCombo = QtWidgets.QComboBox(self.python3Group) + self.py3ShellCombo = QtWidgets.QComboBox(parent=self.python3Group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -134,25 +134,25 @@ self.horizontalLayout.addWidget(self.py3ShellCombo) self.verticalLayout_3.addLayout(self.horizontalLayout) self.verticalLayout_6.addWidget(self.python3Group) - self.groupBox = QtWidgets.QGroupBox(DjangoPage) + self.groupBox = QtWidgets.QGroupBox(parent=DjangoPage) self.groupBox.setObjectName("groupBox") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_4.setObjectName("verticalLayout_4") - self.TranslationsGroup = QtWidgets.QGroupBox(self.groupBox) + self.TranslationsGroup = QtWidgets.QGroupBox(parent=self.groupBox) self.TranslationsGroup.setObjectName("TranslationsGroup") self.verticalLayout = QtWidgets.QVBoxLayout(self.TranslationsGroup) self.verticalLayout.setObjectName("verticalLayout") - self.label_8 = QtWidgets.QLabel(self.TranslationsGroup) + self.label_8 = QtWidgets.QLabel(parent=self.TranslationsGroup) self.label_8.setMinimumSize(QtCore.QSize(0, 40)) self.label_8.setWordWrap(True) self.label_8.setObjectName("label_8") self.verticalLayout.addWidget(self.label_8) - self.translationsPicker = EricPathPicker(self.TranslationsGroup) + self.translationsPicker = EricPathPicker(parent=self.TranslationsGroup) self.translationsPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) self.translationsPicker.setObjectName("translationsPicker") self.verticalLayout.addWidget(self.translationsPicker) self.verticalLayout_4.addWidget(self.TranslationsGroup) - self.fuzzyTranslationsCheckBox = QtWidgets.QCheckBox(self.groupBox) + self.fuzzyTranslationsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) self.fuzzyTranslationsCheckBox.setObjectName("fuzzyTranslationsCheckBox") self.verticalLayout_4.addWidget(self.fuzzyTranslationsCheckBox) self.verticalLayout_6.addWidget(self.groupBox) @@ -205,13 +205,3 @@ self.fuzzyTranslationsCheckBox.setToolTip(_translate("DjangoPage", "Select to include fuzzy translations (1.8.0+ only)")) self.fuzzyTranslationsCheckBox.setText(_translate("DjangoPage", "Include Fuzzy Translations")) from eric7.EricWidgets.EricPathPicker import EricPathPicker - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoPage = QtWidgets.QWidget() - ui = Ui_DjangoPage() - ui.setupUi(DjangoPage) - DjangoPage.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoCheckOptionsDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoCheckOptionsDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoCheckOptionsDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoCheckOptionsDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,40 +16,40 @@ DjangoCheckOptionsDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(DjangoCheckOptionsDialog) self.verticalLayout.setObjectName("verticalLayout") - self.deployCheckBox = QtWidgets.QCheckBox(DjangoCheckOptionsDialog) + self.deployCheckBox = QtWidgets.QCheckBox(parent=DjangoCheckOptionsDialog) self.deployCheckBox.setObjectName("deployCheckBox") self.verticalLayout.addWidget(self.deployCheckBox) - self.label = QtWidgets.QLabel(DjangoCheckOptionsDialog) + self.label = QtWidgets.QLabel(parent=DjangoCheckOptionsDialog) self.label.setWordWrap(True) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) - self.tagsList = QtWidgets.QListWidget(DjangoCheckOptionsDialog) + self.tagsList = QtWidgets.QListWidget(parent=DjangoCheckOptionsDialog) self.tagsList.setAlternatingRowColors(True) self.tagsList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection) self.tagsList.setObjectName("tagsList") self.verticalLayout.addWidget(self.tagsList) - self.label_2 = QtWidgets.QLabel(DjangoCheckOptionsDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoCheckOptionsDialog) self.label_2.setWordWrap(True) self.label_2.setObjectName("label_2") self.verticalLayout.addWidget(self.label_2) - self.appsComboBox = QtWidgets.QComboBox(DjangoCheckOptionsDialog) + self.appsComboBox = QtWidgets.QComboBox(parent=DjangoCheckOptionsDialog) self.appsComboBox.setEditable(True) self.appsComboBox.setObjectName("appsComboBox") self.verticalLayout.addWidget(self.appsComboBox) - self.settingsFileGroup = QtWidgets.QGroupBox(DjangoCheckOptionsDialog) + self.settingsFileGroup = QtWidgets.QGroupBox(parent=DjangoCheckOptionsDialog) self.settingsFileGroup.setObjectName("settingsFileGroup") self.horizontalLayout = QtWidgets.QHBoxLayout(self.settingsFileGroup) self.horizontalLayout.setSpacing(0) self.horizontalLayout.setObjectName("horizontalLayout") - self.settingsFileEdit = QtWidgets.QLineEdit(self.settingsFileGroup) + self.settingsFileEdit = QtWidgets.QLineEdit(parent=self.settingsFileGroup) self.settingsFileEdit.setClearButtonEnabled(True) self.settingsFileEdit.setObjectName("settingsFileEdit") self.horizontalLayout.addWidget(self.settingsFileEdit) - self.settingsFileButton = QtWidgets.QToolButton(self.settingsFileGroup) + self.settingsFileButton = QtWidgets.QToolButton(parent=self.settingsFileGroup) self.settingsFileButton.setObjectName("settingsFileButton") self.horizontalLayout.addWidget(self.settingsFileButton) self.verticalLayout.addWidget(self.settingsFileGroup) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoCheckOptionsDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoCheckOptionsDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -71,13 +71,3 @@ self.settingsFileGroup.setTitle(_translate("DjangoCheckOptionsDialog", "Settings module for deployment mode")) self.settingsFileEdit.setToolTip(_translate("DjangoCheckOptionsDialog", "Enter the module name of the deployment settings")) self.settingsFileButton.setToolTip(_translate("DjangoCheckOptionsDialog", "Press to select the settings module file via a file selection dialog")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoCheckOptionsDialog = QtWidgets.QDialog() - ui = Ui_DjangoCheckOptionsDialog() - ui.setupUi(DjangoCheckOptionsDialog) - DjangoCheckOptionsDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -18,7 +18,7 @@ self.verticalLayout.setContentsMargins(11, 11, 11, 11) self.verticalLayout.setSpacing(6) self.verticalLayout.setObjectName("verticalLayout") - self.outputGroup = QtWidgets.QGroupBox(DjangoDialog) + self.outputGroup = QtWidgets.QGroupBox(parent=DjangoDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(3) @@ -29,12 +29,12 @@ self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setSpacing(6) self.vboxlayout.setObjectName("vboxlayout") - self.resultbox = QtWidgets.QTextEdit(self.outputGroup) + self.resultbox = QtWidgets.QTextEdit(parent=self.outputGroup) self.resultbox.setAcceptRichText(False) self.resultbox.setObjectName("resultbox") self.vboxlayout.addWidget(self.resultbox) self.verticalLayout.addWidget(self.outputGroup) - self.errorGroup = QtWidgets.QGroupBox(DjangoDialog) + self.errorGroup = QtWidgets.QGroupBox(parent=DjangoDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) @@ -45,14 +45,14 @@ self.vboxlayout1.setContentsMargins(6, 6, 6, 6) self.vboxlayout1.setSpacing(6) self.vboxlayout1.setObjectName("vboxlayout1") - self.errors = QtWidgets.QTextEdit(self.errorGroup) + self.errors = QtWidgets.QTextEdit(parent=self.errorGroup) self.errors.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus) self.errors.setReadOnly(True) self.errors.setAcceptRichText(False) self.errors.setObjectName("errors") self.vboxlayout1.addWidget(self.errors) self.verticalLayout.addWidget(self.errorGroup) - self.inputGroup = QtWidgets.QGroupBox(DjangoDialog) + self.inputGroup = QtWidgets.QGroupBox(parent=DjangoDialog) self.inputGroup.setObjectName("inputGroup") self._2 = QtWidgets.QGridLayout(self.inputGroup) self._2.setContentsMargins(11, 11, 11, 11) @@ -60,18 +60,18 @@ self._2.setObjectName("_2") spacerItem = QtWidgets.QSpacerItem(327, 29, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self._2.addItem(spacerItem, 1, 1, 1, 1) - self.sendButton = QtWidgets.QPushButton(self.inputGroup) + self.sendButton = QtWidgets.QPushButton(parent=self.inputGroup) self.sendButton.setObjectName("sendButton") self._2.addWidget(self.sendButton, 1, 2, 1, 1) - self.input = QtWidgets.QLineEdit(self.inputGroup) + self.input = QtWidgets.QLineEdit(parent=self.inputGroup) self.input.setClearButtonEnabled(True) self.input.setObjectName("input") self._2.addWidget(self.input, 0, 0, 1, 3) - self.passwordCheckBox = QtWidgets.QCheckBox(self.inputGroup) + self.passwordCheckBox = QtWidgets.QCheckBox(parent=self.inputGroup) self.passwordCheckBox.setObjectName("passwordCheckBox") self._2.addWidget(self.passwordCheckBox, 1, 0, 1, 1) self.verticalLayout.addWidget(self.inputGroup) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Save) self.buttonBox.setObjectName("buttonBox") @@ -96,13 +96,3 @@ self.passwordCheckBox.setToolTip(_translate("DjangoDialog", "Select to switch the input field to password mode")) self.passwordCheckBox.setText(_translate("DjangoDialog", "&Password Mode")) self.passwordCheckBox.setShortcut(_translate("DjangoDialog", "Alt+P")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoDialog = QtWidgets.QDialog() - ui = Ui_DjangoDialog() - ui.setupUi(DjangoDialog) - DjangoDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoDiffsettingsDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoDiffsettingsDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoDiffsettingsDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoDiffsettingsDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,23 +16,23 @@ DjangoDiffsettingsDataDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoDiffsettingsDataDialog) self.gridLayout.setObjectName("gridLayout") - self.allCheckBox = QtWidgets.QCheckBox(DjangoDiffsettingsDataDialog) + self.allCheckBox = QtWidgets.QCheckBox(parent=DjangoDiffsettingsDataDialog) self.allCheckBox.setObjectName("allCheckBox") self.gridLayout.addWidget(self.allCheckBox, 0, 0, 1, 2) - self.label = QtWidgets.QLabel(DjangoDiffsettingsDataDialog) + self.label = QtWidgets.QLabel(parent=DjangoDiffsettingsDataDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 0, 1, 1) - self.defaultEdit = QtWidgets.QLineEdit(DjangoDiffsettingsDataDialog) + self.defaultEdit = QtWidgets.QLineEdit(parent=DjangoDiffsettingsDataDialog) self.defaultEdit.setClearButtonEnabled(True) self.defaultEdit.setObjectName("defaultEdit") self.gridLayout.addWidget(self.defaultEdit, 1, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoDiffsettingsDataDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoDiffsettingsDataDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) - self.formatComboBox = QtWidgets.QComboBox(DjangoDiffsettingsDataDialog) + self.formatComboBox = QtWidgets.QComboBox(parent=DjangoDiffsettingsDataDialog) self.formatComboBox.setObjectName("formatComboBox") self.gridLayout.addWidget(self.formatComboBox, 2, 1, 1, 1) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoDiffsettingsDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoDiffsettingsDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -52,13 +52,3 @@ self.defaultEdit.setToolTip(_translate("DjangoDiffsettingsDataDialog", "Enter the name of the module containing the default settings (1.11.0+ only)")) self.label_2.setText(_translate("DjangoDiffsettingsDataDialog", "Output Format:")) self.formatComboBox.setToolTip(_translate("DjangoDiffsettingsDataDialog", "Select the output format (2.0.0+ only)")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoDiffsettingsDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoDiffsettingsDataDialog() - ui.setupUi(DjangoDiffsettingsDataDialog) - DjangoDiffsettingsDataDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoDumpdataDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoDumpdataDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoDumpdataDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoDumpdataDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -23,13 +23,13 @@ self.verticalLayout_4.setContentsMargins(6, 6, 6, 6) self.verticalLayout_4.setSpacing(6) self.verticalLayout_4.setObjectName("verticalLayout_4") - self.applicationsGroup = QtWidgets.QGroupBox(DjangoDumpdataDataDialog) + self.applicationsGroup = QtWidgets.QGroupBox(parent=DjangoDumpdataDataDialog) self.applicationsGroup.setObjectName("applicationsGroup") self.verticalLayout = QtWidgets.QVBoxLayout(self.applicationsGroup) self.verticalLayout.setContentsMargins(6, 6, 6, 6) self.verticalLayout.setSpacing(6) self.verticalLayout.setObjectName("verticalLayout") - self.label = QtWidgets.QLabel(self.applicationsGroup) + self.label = QtWidgets.QLabel(parent=self.applicationsGroup) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -37,40 +37,40 @@ self.label.setSizePolicy(sizePolicy) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) - self.applicationsCombo = QtWidgets.QComboBox(self.applicationsGroup) + self.applicationsCombo = QtWidgets.QComboBox(parent=self.applicationsGroup) self.applicationsCombo.setEditable(True) self.applicationsCombo.setObjectName("applicationsCombo") self.verticalLayout.addWidget(self.applicationsCombo) self.verticalLayout_4.addWidget(self.applicationsGroup) - self.excludeGroup = QtWidgets.QGroupBox(DjangoDumpdataDataDialog) + self.excludeGroup = QtWidgets.QGroupBox(parent=DjangoDumpdataDataDialog) self.excludeGroup.setObjectName("excludeGroup") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.excludeGroup) self.verticalLayout_2.setObjectName("verticalLayout_2") - self.label_2 = QtWidgets.QLabel(self.excludeGroup) + self.label_2 = QtWidgets.QLabel(parent=self.excludeGroup) self.label_2.setObjectName("label_2") self.verticalLayout_2.addWidget(self.label_2) - self.excludeCombo = QtWidgets.QComboBox(self.excludeGroup) + self.excludeCombo = QtWidgets.QComboBox(parent=self.excludeGroup) self.excludeCombo.setEditable(True) self.excludeCombo.setObjectName("excludeCombo") self.verticalLayout_2.addWidget(self.excludeCombo) self.verticalLayout_4.addWidget(self.excludeGroup) - self.formatGroup = QtWidgets.QGroupBox(DjangoDumpdataDataDialog) + self.formatGroup = QtWidgets.QGroupBox(parent=DjangoDumpdataDataDialog) self.formatGroup.setObjectName("formatGroup") self.gridLayout = QtWidgets.QGridLayout(self.formatGroup) self.gridLayout.setObjectName("gridLayout") - self.label_3 = QtWidgets.QLabel(self.formatGroup) + self.label_3 = QtWidgets.QLabel(parent=self.formatGroup) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1) - self.formatCombo = QtWidgets.QComboBox(self.formatGroup) + self.formatCombo = QtWidgets.QComboBox(parent=self.formatGroup) self.formatCombo.setSizeAdjustPolicy(QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToContents) self.formatCombo.setObjectName("formatCombo") self.gridLayout.addWidget(self.formatCombo, 0, 1, 1, 2) spacerItem = QtWidgets.QSpacerItem(374, 19, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.gridLayout.addItem(spacerItem, 0, 3, 1, 1) - self.label_4 = QtWidgets.QLabel(self.formatGroup) + self.label_4 = QtWidgets.QLabel(parent=self.formatGroup) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1) - self.indentationSpinBox = QtWidgets.QSpinBox(self.formatGroup) + self.indentationSpinBox = QtWidgets.QSpinBox(parent=self.formatGroup) self.indentationSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter) self.indentationSpinBox.setMinimum(2) self.indentationSpinBox.setMaximum(12) @@ -81,7 +81,7 @@ spacerItem1 = QtWidgets.QSpacerItem(389, 18, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 2, 1, 2) self.verticalLayout_4.addWidget(self.formatGroup) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoDumpdataDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoDumpdataDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -107,13 +107,3 @@ self.label_3.setText(_translate("DjangoDumpdataDataDialog", "Serialization Format:")) self.label_4.setText(_translate("DjangoDumpdataDataDialog", "Indentation Level:")) self.indentationSpinBox.setToolTip(_translate("DjangoDumpdataDataDialog", "Enter the indentation level to be used when pretty-printing output")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoDumpdataDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoDumpdataDataDialog() - ui.setupUi(DjangoDumpdataDataDialog) - DjangoDumpdataDataDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoLoaddataDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoLoaddataDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoLoaddataDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoLoaddataDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -23,48 +23,48 @@ self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") - self.ignoreCheckBox = QtWidgets.QCheckBox(DjangoLoaddataDataDialog) + self.ignoreCheckBox = QtWidgets.QCheckBox(parent=DjangoLoaddataDataDialog) self.ignoreCheckBox.setObjectName("ignoreCheckBox") self.gridLayout_2.addWidget(self.ignoreCheckBox, 0, 0, 1, 2) - self.label_2 = QtWidgets.QLabel(DjangoLoaddataDataDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoLoaddataDataDialog) self.label_2.setObjectName("label_2") self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1) - self.appEdit = QtWidgets.QLineEdit(DjangoLoaddataDataDialog) + self.appEdit = QtWidgets.QLineEdit(parent=DjangoLoaddataDataDialog) self.appEdit.setClearButtonEnabled(True) self.appEdit.setObjectName("appEdit") self.gridLayout_2.addWidget(self.appEdit, 1, 1, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_2) - self.groupBox = QtWidgets.QGroupBox(DjangoLoaddataDataDialog) + self.groupBox = QtWidgets.QGroupBox(parent=DjangoLoaddataDataDialog) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setHorizontalSpacing(0) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(self.groupBox) + self.label = QtWidgets.QLabel(parent=self.groupBox) self.label.setWordWrap(True) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 2) - self.fixturesEdit = QtWidgets.QLineEdit(self.groupBox) + self.fixturesEdit = QtWidgets.QLineEdit(parent=self.groupBox) self.fixturesEdit.setClearButtonEnabled(True) self.fixturesEdit.setObjectName("fixturesEdit") self.gridLayout.addWidget(self.fixturesEdit, 1, 0, 1, 1) - self.fixtureFileButton = QtWidgets.QToolButton(self.groupBox) + self.fixtureFileButton = QtWidgets.QToolButton(parent=self.groupBox) self.fixtureFileButton.setObjectName("fixtureFileButton") self.gridLayout.addWidget(self.fixtureFileButton, 1, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox) - self.excludeBox = QtWidgets.QGroupBox(DjangoLoaddataDataDialog) + self.excludeBox = QtWidgets.QGroupBox(parent=DjangoLoaddataDataDialog) self.excludeBox.setObjectName("excludeBox") self.verticalLayout = QtWidgets.QVBoxLayout(self.excludeBox) self.verticalLayout.setObjectName("verticalLayout") - self.label_3 = QtWidgets.QLabel(self.excludeBox) + self.label_3 = QtWidgets.QLabel(parent=self.excludeBox) self.label_3.setWordWrap(True) self.label_3.setObjectName("label_3") self.verticalLayout.addWidget(self.label_3) - self.excludeEdit = QtWidgets.QLineEdit(self.excludeBox) + self.excludeEdit = QtWidgets.QLineEdit(parent=self.excludeBox) self.excludeEdit.setClearButtonEnabled(True) self.excludeEdit.setObjectName("excludeEdit") self.verticalLayout.addWidget(self.excludeEdit) self.verticalLayout_2.addWidget(self.excludeBox) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoLoaddataDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoLoaddataDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -91,13 +91,3 @@ self.fixtureFileButton.setToolTip(_translate("DjangoLoaddataDataDialog", "Select a fixture file via a file selection dialog")) self.excludeBox.setTitle(_translate("DjangoLoaddataDataDialog", "Exclude")) self.label_3.setText(_translate("DjangoLoaddataDataDialog", "Enter the list of applications and models to omit searching for fixtures:")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoLoaddataDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoLoaddataDataDialog() - ui.setupUi(DjangoLoaddataDataDialog) - DjangoLoaddataDataDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoMakeMigrationsDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoMakeMigrationsDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMakeMigrationsDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoMakeMigrationsDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,10 +16,10 @@ DjangoMakeMigrationsDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoMakeMigrationsDialog) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(DjangoMakeMigrationsDialog) + self.label = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.applicationsComboBox = QtWidgets.QComboBox(DjangoMakeMigrationsDialog) + self.applicationsComboBox = QtWidgets.QComboBox(parent=DjangoMakeMigrationsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -28,20 +28,20 @@ self.applicationsComboBox.setEditable(True) self.applicationsComboBox.setObjectName("applicationsComboBox") self.gridLayout.addWidget(self.applicationsComboBox, 0, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoMakeMigrationsDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoMakeMigrationsDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.nameEdit = QtWidgets.QLineEdit(DjangoMakeMigrationsDialog) + self.nameEdit = QtWidgets.QLineEdit(parent=DjangoMakeMigrationsDialog) self.nameEdit.setClearButtonEnabled(True) self.nameEdit.setObjectName("nameEdit") self.gridLayout.addWidget(self.nameEdit, 1, 1, 1, 1) - self.emptyCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.emptyCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) self.emptyCheckBox.setObjectName("emptyCheckBox") self.gridLayout.addWidget(self.emptyCheckBox, 2, 0, 1, 2) - self.mergeCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.mergeCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) self.mergeCheckBox.setObjectName("mergeCheckBox") self.gridLayout.addWidget(self.mergeCheckBox, 3, 0, 1, 2) - self.dryrunCheckBox = QtWidgets.QCheckBox(DjangoMakeMigrationsDialog) + self.dryrunCheckBox = QtWidgets.QCheckBox(parent=DjangoMakeMigrationsDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -49,7 +49,7 @@ self.dryrunCheckBox.setSizePolicy(sizePolicy) self.dryrunCheckBox.setObjectName("dryrunCheckBox") self.gridLayout.addWidget(self.dryrunCheckBox, 4, 0, 1, 2) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMakeMigrationsDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMakeMigrationsDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -77,13 +77,3 @@ self.mergeCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Fix migration conflicts")) self.dryrunCheckBox.setToolTip(_translate("DjangoMakeMigrationsDialog", "Select to perform a dry-run")) self.dryrunCheckBox.setText(_translate("DjangoMakeMigrationsDialog", "Dry-Run only")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoMakeMigrationsDialog = QtWidgets.QDialog() - ui = Ui_DjangoMakeMigrationsDialog() - ui.setupUi(DjangoMakeMigrationsDialog) - DjangoMakeMigrationsDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoMigrationSelectionDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoMigrationSelectionDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMigrationSelectionDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoMigrationSelectionDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,7 +16,7 @@ DjangoMigrationSelectionDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoMigrationSelectionDialog) self.gridLayout.setObjectName("gridLayout") - self.applicationComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog) + self.applicationComboBox = QtWidgets.QComboBox(parent=DjangoMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -24,7 +24,7 @@ self.applicationComboBox.setSizePolicy(sizePolicy) self.applicationComboBox.setObjectName("applicationComboBox") self.gridLayout.addWidget(self.applicationComboBox, 0, 1, 1, 1) - self.migrationsComboBox = QtWidgets.QComboBox(DjangoMigrationSelectionDialog) + self.migrationsComboBox = QtWidgets.QComboBox(parent=DjangoMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -32,13 +32,13 @@ self.migrationsComboBox.setSizePolicy(sizePolicy) self.migrationsComboBox.setObjectName("migrationsComboBox") self.gridLayout.addWidget(self.migrationsComboBox, 1, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoMigrationSelectionDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoMigrationSelectionDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.label = QtWidgets.QLabel(DjangoMigrationSelectionDialog) + self.label = QtWidgets.QLabel(parent=DjangoMigrationSelectionDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMigrationSelectionDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMigrationSelectionDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -56,13 +56,3 @@ self.migrationsComboBox.setToolTip(_translate("DjangoMigrationSelectionDialog", "Select a migration")) self.label_2.setText(_translate("DjangoMigrationSelectionDialog", "Migration:")) self.label.setText(_translate("DjangoMigrationSelectionDialog", "Application:")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoMigrationSelectionDialog = QtWidgets.QDialog() - ui = Ui_DjangoMigrationSelectionDialog() - ui.setupUi(DjangoMigrationSelectionDialog) - DjangoMigrationSelectionDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoMigrationsListDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoMigrationsListDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoMigrationsListDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoMigrationsListDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,7 +16,7 @@ DjangoMigrationsListDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(DjangoMigrationsListDialog) self.verticalLayout.setObjectName("verticalLayout") - self.migrationsList = QtWidgets.QTreeWidget(DjangoMigrationsListDialog) + self.migrationsList = QtWidgets.QTreeWidget(parent=DjangoMigrationsListDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(3) @@ -28,7 +28,7 @@ self.migrationsList.headerItem().setText(0, "1") self.migrationsList.header().setStretchLastSection(False) self.verticalLayout.addWidget(self.migrationsList) - self.errorGroup = QtWidgets.QGroupBox(DjangoMigrationsListDialog) + self.errorGroup = QtWidgets.QGroupBox(parent=DjangoMigrationsListDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) @@ -39,14 +39,14 @@ self.vboxlayout.setContentsMargins(6, 6, 6, 6) self.vboxlayout.setSpacing(6) self.vboxlayout.setObjectName("vboxlayout") - self.errors = QtWidgets.QTextEdit(self.errorGroup) + self.errors = QtWidgets.QTextEdit(parent=self.errorGroup) self.errors.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus) self.errors.setReadOnly(True) self.errors.setAcceptRichText(False) self.errors.setObjectName("errors") self.vboxlayout.addWidget(self.errors) self.verticalLayout.addWidget(self.errorGroup) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoMigrationsListDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoMigrationsListDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close) self.buttonBox.setObjectName("buttonBox") @@ -60,13 +60,3 @@ def retranslateUi(self, DjangoMigrationsListDialog): _translate = QtCore.QCoreApplication.translate self.errorGroup.setTitle(_translate("DjangoMigrationsListDialog", "Errors")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoMigrationsListDialog = QtWidgets.QDialog() - ui = Ui_DjangoMigrationsListDialog() - ui.setupUi(DjangoMigrationsListDialog) - DjangoMigrationsListDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoRunTestServerDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoRunTestServerDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoRunTestServerDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoRunTestServerDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -21,14 +21,14 @@ DjangoRunTestServerDataDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(DjangoRunTestServerDataDialog) self.verticalLayout.setObjectName("verticalLayout") - self.label = QtWidgets.QLabel(DjangoRunTestServerDataDialog) + self.label = QtWidgets.QLabel(parent=DjangoRunTestServerDataDialog) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) - self.fixturePicker = EricPathPicker(DjangoRunTestServerDataDialog) + self.fixturePicker = EricPathPicker(parent=DjangoRunTestServerDataDialog) self.fixturePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) self.fixturePicker.setObjectName("fixturePicker") self.verticalLayout.addWidget(self.fixturePicker) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoRunTestServerDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoRunTestServerDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -44,13 +44,3 @@ DjangoRunTestServerDataDialog.setWindowTitle(_translate("DjangoRunTestServerDataDialog", "testserver Command Options")) self.label.setText(_translate("DjangoRunTestServerDataDialog", "Enter the list of fixture patterns or the path of a fixture file.")) from eric7.EricWidgets.EricPathPicker import EricPathPicker - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoRunTestServerDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoRunTestServerDataDialog() - ui.setupUi(DjangoRunTestServerDataDialog) - DjangoRunTestServerDataDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoSendTestEmailDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoSendTestEmailDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoSendTestEmailDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoSendTestEmailDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,19 +16,19 @@ DjangoSendTestEmailDataDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(DjangoSendTestEmailDataDialog) self.verticalLayout.setObjectName("verticalLayout") - self.managersCheckBox = QtWidgets.QCheckBox(DjangoSendTestEmailDataDialog) + self.managersCheckBox = QtWidgets.QCheckBox(parent=DjangoSendTestEmailDataDialog) self.managersCheckBox.setObjectName("managersCheckBox") self.verticalLayout.addWidget(self.managersCheckBox) - self.adminsCheckBox = QtWidgets.QCheckBox(DjangoSendTestEmailDataDialog) + self.adminsCheckBox = QtWidgets.QCheckBox(parent=DjangoSendTestEmailDataDialog) self.adminsCheckBox.setObjectName("adminsCheckBox") self.verticalLayout.addWidget(self.adminsCheckBox) - self.label = QtWidgets.QLabel(DjangoSendTestEmailDataDialog) + self.label = QtWidgets.QLabel(parent=DjangoSendTestEmailDataDialog) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) - self.recipientsEdit = QtWidgets.QPlainTextEdit(DjangoSendTestEmailDataDialog) + self.recipientsEdit = QtWidgets.QPlainTextEdit(parent=DjangoSendTestEmailDataDialog) self.recipientsEdit.setObjectName("recipientsEdit") self.verticalLayout.addWidget(self.recipientsEdit) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoSendTestEmailDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoSendTestEmailDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -48,13 +48,3 @@ self.adminsCheckBox.setText(_translate("DjangoSendTestEmailDataDialog", "Send to Administrators")) self.label.setText(_translate("DjangoSendTestEmailDataDialog", "Recipients (one per line):")) self.recipientsEdit.setToolTip(_translate("DjangoSendTestEmailDataDialog", "Enter email addresses one per line")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoSendTestEmailDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoSendTestEmailDataDialog() - ui.setupUi(DjangoSendTestEmailDataDialog) - DjangoSendTestEmailDataDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoSquashMigrationSelectionDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoSquashMigrationSelectionDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoSquashMigrationSelectionDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoSquashMigrationSelectionDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,10 +16,10 @@ DjangoSquashMigrationSelectionDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoSquashMigrationSelectionDialog) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(DjangoSquashMigrationSelectionDialog) + self.label = QtWidgets.QLabel(parent=DjangoSquashMigrationSelectionDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.applicationComboBox = QtWidgets.QComboBox(DjangoSquashMigrationSelectionDialog) + self.applicationComboBox = QtWidgets.QComboBox(parent=DjangoSquashMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -27,10 +27,10 @@ self.applicationComboBox.setSizePolicy(sizePolicy) self.applicationComboBox.setObjectName("applicationComboBox") self.gridLayout.addWidget(self.applicationComboBox, 0, 1, 1, 1) - self.startLabel = QtWidgets.QLabel(DjangoSquashMigrationSelectionDialog) + self.startLabel = QtWidgets.QLabel(parent=DjangoSquashMigrationSelectionDialog) self.startLabel.setObjectName("startLabel") self.gridLayout.addWidget(self.startLabel, 1, 0, 1, 1) - self.startMigrationComboBox = QtWidgets.QComboBox(DjangoSquashMigrationSelectionDialog) + self.startMigrationComboBox = QtWidgets.QComboBox(parent=DjangoSquashMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -38,10 +38,10 @@ self.startMigrationComboBox.setSizePolicy(sizePolicy) self.startMigrationComboBox.setObjectName("startMigrationComboBox") self.gridLayout.addWidget(self.startMigrationComboBox, 1, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoSquashMigrationSelectionDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoSquashMigrationSelectionDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) - self.endMigrationComboBox = QtWidgets.QComboBox(DjangoSquashMigrationSelectionDialog) + self.endMigrationComboBox = QtWidgets.QComboBox(parent=DjangoSquashMigrationSelectionDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -49,17 +49,17 @@ self.endMigrationComboBox.setSizePolicy(sizePolicy) self.endMigrationComboBox.setObjectName("endMigrationComboBox") self.gridLayout.addWidget(self.endMigrationComboBox, 2, 1, 1, 1) - self.label_3 = QtWidgets.QLabel(DjangoSquashMigrationSelectionDialog) + self.label_3 = QtWidgets.QLabel(parent=DjangoSquashMigrationSelectionDialog) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1) - self.nameEdit = QtWidgets.QLineEdit(DjangoSquashMigrationSelectionDialog) + self.nameEdit = QtWidgets.QLineEdit(parent=DjangoSquashMigrationSelectionDialog) self.nameEdit.setClearButtonEnabled(True) self.nameEdit.setObjectName("nameEdit") self.gridLayout.addWidget(self.nameEdit, 3, 1, 1, 1) - self.noOptimizeCheckBox = QtWidgets.QCheckBox(DjangoSquashMigrationSelectionDialog) + self.noOptimizeCheckBox = QtWidgets.QCheckBox(parent=DjangoSquashMigrationSelectionDialog) self.noOptimizeCheckBox.setObjectName("noOptimizeCheckBox") self.gridLayout.addWidget(self.noOptimizeCheckBox, 4, 0, 1, 2) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoSquashMigrationSelectionDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoSquashMigrationSelectionDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -87,13 +87,3 @@ self.nameEdit.setToolTip(_translate("DjangoSquashMigrationSelectionDialog", "Enter an optional name for the migration (2.0.0+ only)")) self.noOptimizeCheckBox.setToolTip(_translate("DjangoSquashMigrationSelectionDialog", "Select to not optimize the squashed migration")) self.noOptimizeCheckBox.setText(_translate("DjangoSquashMigrationSelectionDialog", "Dont\' optimize")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoSquashMigrationSelectionDialog = QtWidgets.QDialog() - ui = Ui_DjangoSquashMigrationSelectionDialog() - ui.setupUi(DjangoSquashMigrationSelectionDialog) - DjangoSquashMigrationSelectionDialog.show() - sys.exit(app.exec())
--- a/ProjectDjango/Ui_DjangoTestDataDialog.py Thu Dec 26 14:22:24 2024 +0100 +++ b/ProjectDjango/Ui_DjangoTestDataDialog.py Thu Dec 26 14:24:11 2024 +0100 @@ -1,6 +1,6 @@ -# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Project_Django/ProjectDjango/DjangoTestDataDialog.ui' +# Form implementation generated from reading ui file 'ProjectDjango/DjangoTestDataDialog.ui' # -# Created by: PyQt6 UI code generator 6.4.0 +# Created by: PyQt6 UI code generator 6.8.0 # # 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. @@ -16,41 +16,41 @@ DjangoTestDataDialog.setSizeGripEnabled(True) self.gridLayout = QtWidgets.QGridLayout(DjangoTestDataDialog) self.gridLayout.setObjectName("gridLayout") - self.label = QtWidgets.QLabel(DjangoTestDataDialog) + self.label = QtWidgets.QLabel(parent=DjangoTestDataDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) - self.labelsComboBox = QtWidgets.QComboBox(DjangoTestDataDialog) + self.labelsComboBox = QtWidgets.QComboBox(parent=DjangoTestDataDialog) self.labelsComboBox.setEditable(True) self.labelsComboBox.setObjectName("labelsComboBox") self.gridLayout.addWidget(self.labelsComboBox, 0, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(DjangoTestDataDialog) + self.label_2 = QtWidgets.QLabel(parent=DjangoTestDataDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) - self.testFilePatternsEdit = QtWidgets.QLineEdit(DjangoTestDataDialog) + self.testFilePatternsEdit = QtWidgets.QLineEdit(parent=DjangoTestDataDialog) self.testFilePatternsEdit.setClearButtonEnabled(True) self.testFilePatternsEdit.setObjectName("testFilePatternsEdit") self.gridLayout.addWidget(self.testFilePatternsEdit, 1, 1, 1, 1) - self.label_3 = QtWidgets.QLabel(DjangoTestDataDialog) + self.label_3 = QtWidgets.QLabel(parent=DjangoTestDataDialog) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1) - self.tagsComboBox = QtWidgets.QComboBox(DjangoTestDataDialog) + self.tagsComboBox = QtWidgets.QComboBox(parent=DjangoTestDataDialog) self.tagsComboBox.setEditable(True) self.tagsComboBox.setObjectName("tagsComboBox") self.gridLayout.addWidget(self.tagsComboBox, 2, 1, 1, 1) - self.label_4 = QtWidgets.QLabel(DjangoTestDataDialog) + self.label_4 = QtWidgets.QLabel(parent=DjangoTestDataDialog) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1) - self.excludeTagsComboBox = QtWidgets.QComboBox(DjangoTestDataDialog) + self.excludeTagsComboBox = QtWidgets.QComboBox(parent=DjangoTestDataDialog) self.excludeTagsComboBox.setEditable(True) self.excludeTagsComboBox.setObjectName("excludeTagsComboBox") self.gridLayout.addWidget(self.excludeTagsComboBox, 3, 1, 1, 1) - self.keepCheckBox = QtWidgets.QCheckBox(DjangoTestDataDialog) + self.keepCheckBox = QtWidgets.QCheckBox(parent=DjangoTestDataDialog) self.keepCheckBox.setObjectName("keepCheckBox") self.gridLayout.addWidget(self.keepCheckBox, 4, 0, 1, 2) - self.reverseCheckBox = QtWidgets.QCheckBox(DjangoTestDataDialog) + self.reverseCheckBox = QtWidgets.QCheckBox(parent=DjangoTestDataDialog) self.reverseCheckBox.setObjectName("reverseCheckBox") self.gridLayout.addWidget(self.reverseCheckBox, 5, 0, 1, 2) - self.buttonBox = QtWidgets.QDialogButtonBox(DjangoTestDataDialog) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DjangoTestDataDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") @@ -76,13 +76,3 @@ self.keepCheckBox.setText(_translate("DjangoTestDataDialog", "Keep Test Database")) self.reverseCheckBox.setToolTip(_translate("DjangoTestDataDialog", "Select to run the tests in reverse order")) self.reverseCheckBox.setText(_translate("DjangoTestDataDialog", "Run Tests in Reverse Order")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - DjangoTestDataDialog = QtWidgets.QDialog() - ui = Ui_DjangoTestDataDialog() - ui.setupUi(DjangoTestDataDialog) - DjangoTestDataDialog.show() - sys.exit(app.exec())