Tue, 29 Oct 2024 17:39:59 +0100
- changed to the new style header
- ensured proper parent relationship of modal dialogs
- included compiled form files
# Form implementation generated from reading ui file 'PyInstallerInterface/PyInstallerCleanupDialog.ui' # # Created by: PyQt6 UI code generator 6.7.1 # # 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. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_PyInstallerCleanupDialog(object): def setupUi(self, PyInstallerCleanupDialog): PyInstallerCleanupDialog.setObjectName("PyInstallerCleanupDialog") PyInstallerCleanupDialog.resize(400, 158) PyInstallerCleanupDialog.setSizeGripEnabled(True) self.verticalLayout = QtWidgets.QVBoxLayout(PyInstallerCleanupDialog) self.verticalLayout.setObjectName("verticalLayout") self.label = QtWidgets.QLabel(parent=PyInstallerCleanupDialog) self.label.setWordWrap(True) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) self.buildButton = QtWidgets.QRadioButton(parent=PyInstallerCleanupDialog) self.buildButton.setObjectName("buildButton") self.verticalLayout.addWidget(self.buildButton) self.distButton = QtWidgets.QRadioButton(parent=PyInstallerCleanupDialog) self.distButton.setObjectName("distButton") self.verticalLayout.addWidget(self.distButton) self.bothButton = QtWidgets.QRadioButton(parent=PyInstallerCleanupDialog) self.bothButton.setChecked(True) self.bothButton.setObjectName("bothButton") self.verticalLayout.addWidget(self.bothButton) self.buttonBox = QtWidgets.QDialogButtonBox(parent=PyInstallerCleanupDialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(PyInstallerCleanupDialog) self.buttonBox.accepted.connect(PyInstallerCleanupDialog.accept) # type: ignore self.buttonBox.rejected.connect(PyInstallerCleanupDialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(PyInstallerCleanupDialog) def retranslateUi(self, PyInstallerCleanupDialog): _translate = QtCore.QCoreApplication.translate PyInstallerCleanupDialog.setWindowTitle(_translate("PyInstallerCleanupDialog", "Clean PyInstaller")) self.label.setText(_translate("PyInstallerCleanupDialog", "Select the PyInstaller directories to be removed:")) self.buildButton.setText(_translate("PyInstallerCleanupDialog", "Build Directory")) self.distButton.setText(_translate("PyInstallerCleanupDialog", "Distribution Directory")) self.bothButton.setText(_translate("PyInstallerCleanupDialog", "Both Directories"))