# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/Helpviewer/Download/DownloadManager.ui'
#
# Created: Tue Oct 28 07:22:45 2014
#      by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DownloadManager(object):
    def setupUi(self, DownloadManager):
        DownloadManager.setObjectName(_fromUtf8("DownloadManager"))
        DownloadManager.resize(400, 300)
        DownloadManager.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(DownloadManager)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.downloadsView = E5TableView(DownloadManager)
        self.downloadsView.setObjectName(_fromUtf8("downloadsView"))
        self.gridLayout.addWidget(self.downloadsView, 0, 0, 1, 3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.cleanupButton = QtGui.QPushButton(DownloadManager)
        self.cleanupButton.setEnabled(False)
        self.cleanupButton.setAutoDefault(False)
        self.cleanupButton.setObjectName(_fromUtf8("cleanupButton"))
        self.horizontalLayout_2.addWidget(self.cleanupButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.countLabel = QtGui.QLabel(DownloadManager)
        self.countLabel.setObjectName(_fromUtf8("countLabel"))
        self.gridLayout.addWidget(self.countLabel, 1, 1, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(DownloadManager)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 2, 1, 1)

        self.retranslateUi(DownloadManager)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DownloadManager.close)
        QtCore.QMetaObject.connectSlotsByName(DownloadManager)
        DownloadManager.setTabOrder(self.downloadsView, self.cleanupButton)
        DownloadManager.setTabOrder(self.cleanupButton, self.buttonBox)

    def retranslateUi(self, DownloadManager):
        DownloadManager.setWindowTitle(_translate("DownloadManager", "Downloads", None))
        self.cleanupButton.setToolTip(_translate("DownloadManager", "Press to clean up the list of downloads", None))
        self.cleanupButton.setText(_translate("DownloadManager", "Clear List", None))
        self.countLabel.setText(_translate("DownloadManager", "0 Items", None))

from E5Gui.E5TableView import E5TableView
