--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/WebBrowser/Download/Ui_DownloadManager.py Fri Jun 07 10:05:06 2024 +0200 @@ -0,0 +1,58 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/Download/DownloadManager.ui' +# +# Created by: PyQt6 UI code generator 6.7.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. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_DownloadManager(object): + def setupUi(self, DownloadManager): + DownloadManager.setObjectName("DownloadManager") + DownloadManager.resize(600, 400) + DownloadManager.setSizeGripEnabled(True) + self.gridLayout = QtWidgets.QGridLayout(DownloadManager) + self.gridLayout.setObjectName("gridLayout") + self.downloadsView = EricTableView(parent=DownloadManager) + self.downloadsView.setObjectName("downloadsView") + self.gridLayout.addWidget(self.downloadsView, 0, 0, 1, 3) + self.horizontalLayout_2 = QtWidgets.QHBoxLayout() + self.horizontalLayout_2.setObjectName("horizontalLayout_2") + self.cleanupButton = QtWidgets.QPushButton(parent=DownloadManager) + self.cleanupButton.setEnabled(False) + self.cleanupButton.setAutoDefault(False) + self.cleanupButton.setObjectName("cleanupButton") + self.horizontalLayout_2.addWidget(self.cleanupButton) + spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout_2.addItem(spacerItem) + self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1) + self.infoLabel = QtWidgets.QLabel(parent=DownloadManager) + self.infoLabel.setText("") + self.infoLabel.setObjectName("infoLabel") + self.gridLayout.addWidget(self.infoLabel, 1, 1, 1, 1) + self.horizontalLayout = QtWidgets.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) + self.horizontalLayout.addItem(spacerItem1) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=DownloadManager) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) + self.buttonBox.setObjectName("buttonBox") + self.horizontalLayout.addWidget(self.buttonBox) + self.gridLayout.addLayout(self.horizontalLayout, 1, 2, 1, 1) + + self.retranslateUi(DownloadManager) + self.buttonBox.rejected.connect(DownloadManager.close) # type: ignore + QtCore.QMetaObject.connectSlotsByName(DownloadManager) + DownloadManager.setTabOrder(self.downloadsView, self.cleanupButton) + DownloadManager.setTabOrder(self.cleanupButton, self.buttonBox) + + def retranslateUi(self, DownloadManager): + _translate = QtCore.QCoreApplication.translate + DownloadManager.setWindowTitle(_translate("DownloadManager", "Download Manager")) + self.cleanupButton.setToolTip(_translate("DownloadManager", "Press to clean up the list of downloads")) + self.cleanupButton.setText(_translate("DownloadManager", "Clear List")) +from eric7.EricWidgets.EricTableView import EricTableView