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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDownload.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_DlgDownload(object):
    def setupUi(self, DlgDownload):
        DlgDownload.setObjectName(_fromUtf8("DlgDownload"))
        DlgDownload.resize(1000, 700)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgDownload.sizePolicy().hasHeightForWidth())
        DlgDownload.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgDownload)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.TabBox = QtGui.QTabWidget(DlgDownload)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TabBox.sizePolicy().hasHeightForWidth())
        self.TabBox.setSizePolicy(sizePolicy)
        self.TabBox.setTabShape(QtGui.QTabWidget.Rounded)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.AreaTab = QtGui.QWidget()
        self.AreaTab.setObjectName(_fromUtf8("AreaTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.AreaTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupBox_7 = QtGui.QGroupBox(self.AreaTab)
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_7)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_4 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(200, 0))
        self.label_4.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(200, 0))
        self.label_3.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 3, 0, 1, 1)
        self.area_fromfile_browse = QtGui.QPushButton(self.groupBox_7)
        self.area_fromfile_browse.setEnabled(False)
        self.area_fromfile_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.area_fromfile_browse.setMaximumSize(QtCore.QSize(80, 16777215))
        self.area_fromfile_browse.setObjectName(_fromUtf8("area_fromfile_browse"))
        self.gridLayout_2.addWidget(self.area_fromfile_browse, 5, 2, 1, 1)
        self.area_admin_1 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_1.sizePolicy().hasHeightForWidth())
        self.area_admin_1.setSizePolicy(sizePolicy)
        self.area_admin_1.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_1.setObjectName(_fromUtf8("area_admin_1"))
        self.gridLayout_2.addWidget(self.area_admin_1, 2, 1, 1, 2)
        self.area_admin_0 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_0.sizePolicy().hasHeightForWidth())
        self.area_admin_0.setSizePolicy(sizePolicy)
        self.area_admin_0.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_0.setObjectName(_fromUtf8("area_admin_0"))
        self.gridLayout_2.addWidget(self.area_admin_0, 1, 1, 1, 2)
        self.area_fromfile_file = QtGui.QLineEdit(self.groupBox_7)
        self.area_fromfile_file.setEnabled(False)
        self.area_fromfile_file.setMinimumSize(QtCore.QSize(120, 30))
        self.area_fromfile_file.setObjectName(_fromUtf8("area_fromfile_file"))
        self.gridLayout_2.addWidget(self.area_fromfile_file, 5, 0, 1, 2)
        self.area_fromfile = QtGui.QRadioButton(self.groupBox_7)
        self.area_fromfile.setObjectName(_fromUtf8("area_fromfile"))
        self.gridLayout_2.addWidget(self.area_fromfile, 4, 0, 1, 3)
        self.area_admin = QtGui.QRadioButton(self.groupBox_7)
        self.area_admin.setChecked(True)
        self.area_admin.setObjectName(_fromUtf8("area_admin"))
        self.gridLayout_2.addWidget(self.area_admin, 0, 0, 1, 3)
        self.verticalLayout_4.addWidget(self.groupBox_7)
        self.metadataGroupBox = QtGui.QGroupBox(self.AreaTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.metadataGroupBox.sizePolicy().hasHeightForWidth())
        self.metadataGroupBox.setSizePolicy(sizePolicy)
        self.metadataGroupBox.setObjectName(_fromUtf8("metadataGroupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.metadataGroupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.task_name = QtGui.QLineEdit(self.metadataGroupBox)
        self.task_name.setMinimumSize(QtCore.QSize(0, 30))
        self.task_name.setMaxLength(60)
        self.task_name.setObjectName(_fromUtf8("task_name"))
        self.verticalLayout_3.addWidget(self.task_name)
        self.label_2 = QtGui.QLabel(self.metadataGroupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_3.addWidget(self.label_2)
        self.task_notes = QtGui.QTextEdit(self.metadataGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.task_notes.sizePolicy().hasHeightForWidth())
        self.task_notes.setSizePolicy(sizePolicy)
        self.task_notes.setMinimumSize(QtCore.QSize(0, 0))
        self.task_notes.setMaximumSize(QtCore.QSize(16777215, 100))
        self.task_notes.setObjectName(_fromUtf8("task_notes"))
        self.verticalLayout_3.addWidget(self.task_notes)
        spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.verticalLayout_4.addWidget(self.metadataGroupBox)
        self.TabBox.addTab(self.AreaTab, _fromUtf8(""))
        self.SelectData = QtGui.QWidget()
        self.SelectData.setObjectName(_fromUtf8("SelectData"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.SelectData)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.data_view = QtGui.QTableView(self.SelectData)
        self.data_view.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.data_view.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.data_view.setSortingEnabled(True)
        self.data_view.setObjectName(_fromUtf8("data_view"))
        self.data_view.horizontalHeader().setVisible(True)
        self.data_view.horizontalHeader().setCascadingSectionResizes(True)
        self.data_view.horizontalHeader().setStretchLastSection(True)
        self.data_view.verticalHeader().setVisible(False)
        self.data_view.verticalHeader().setSortIndicatorShown(True)
        self.verticalLayout_2.addWidget(self.data_view)
        self.TabBox.addTab(self.SelectData, _fromUtf8(""))
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.button_next = QtGui.QPushButton(DlgDownload)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout_3.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgDownload)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout_3.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgDownload)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout_3.addWidget(self.button_prev, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgDownload)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgDownload)
        DlgDownload.setTabOrder(self.TabBox, self.button_prev)
        DlgDownload.setTabOrder(self.button_prev, self.button_next)
        DlgDownload.setTabOrder(self.button_next, self.button_calculate)

    def retranslateUi(self, DlgDownload):
        DlgDownload.setWindowTitle(_translate("DlgDownload", "Download raw data", None))
        self.groupBox_7.setTitle(_translate("DlgDownload", "Area to download", None))
        self.label_4.setText(_translate("DlgDownload", "Second level:", None))
        self.label_3.setText(_translate("DlgDownload", "First level:", None))
        self.area_fromfile_browse.setText(_translate("DlgDownload", "Browse", None))
        self.area_fromfile_file.setPlaceholderText(_translate("DlgDownload", "Choose a file...", None))
        self.area_fromfile.setText(_translate("DlgDownload", "Area from file", None))
        self.area_admin.setText(_translate("DlgDownload", "Administrative area", None))
        self.metadataGroupBox.setTitle(_translate("DlgDownload", "Metadata", None))
        self.label_2.setText(_translate("DlgDownload", "Notes:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.AreaTab), _translate("DlgDownload", "Area", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.SelectData), _translate("DlgDownload", "Select Data", None))
        self.button_next.setText(_translate("DlgDownload", "Next", None))
        self.button_calculate.setText(_translate("DlgDownload", "Submit download request", None))
        self.button_prev.setText(_translate("DlgDownload", "Previous", None))

