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

# Form implementation generated from reading ui file 'LDMP/gui\DlgJobs.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_DlgJobs(object):
    def setupUi(self, DlgJobs):
        DlgJobs.setObjectName(_fromUtf8("DlgJobs"))
        DlgJobs.resize(900, 400)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgJobs.sizePolicy().hasHeightForWidth())
        DlgJobs.setSizePolicy(sizePolicy)
        DlgJobs.setMinimumSize(QtCore.QSize(0, 0))
        self.gridLayout = QtGui.QGridLayout(DlgJobs)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.jobs_view = QtGui.QTableView(DlgJobs)
        self.jobs_view.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems)
        self.jobs_view.setSortingEnabled(True)
        self.jobs_view.setObjectName(_fromUtf8("jobs_view"))
        self.jobs_view.horizontalHeader().setVisible(True)
        self.jobs_view.horizontalHeader().setCascadingSectionResizes(True)
        self.jobs_view.horizontalHeader().setStretchLastSection(True)
        self.jobs_view.verticalHeader().setVisible(False)
        self.jobs_view.verticalHeader().setSortIndicatorShown(True)
        self.gridLayout.addWidget(self.jobs_view, 1, 0, 1, 1)
        self.download = QtGui.QPushButton(DlgJobs)
        self.download.setMinimumSize(QtCore.QSize(0, 30))
        self.download.setObjectName(_fromUtf8("download"))
        self.gridLayout.addWidget(self.download, 3, 0, 1, 1)
        self.refresh = QtGui.QPushButton(DlgJobs)
        self.refresh.setMinimumSize(QtCore.QSize(0, 30))
        self.refresh.setObjectName(_fromUtf8("refresh"))
        self.gridLayout.addWidget(self.refresh, 2, 0, 1, 1)
        self.label = QtGui.QLabel(DlgJobs)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)

        self.retranslateUi(DlgJobs)
        QtCore.QMetaObject.connectSlotsByName(DlgJobs)

    def retranslateUi(self, DlgJobs):
        DlgJobs.setWindowTitle(_translate("DlgJobs", "Download results from Earth Engine", None))
        self.download.setText(_translate("DlgJobs", "Download results", None))
        self.refresh.setText(_translate("DlgJobs", "Refresh list", None))
        self.label.setText(_translate("DlgJobs", "Jobs expire 30 days after they are submitted. After a job has expired, it will no longer appear in this list.", None))

