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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetDataIOImportSelectFileInput.ui'
#
# Created: Sat Apr 07 22:23:44 2018
#      by: PyQt4 UI code generator 4.10.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_WidgetDataIOImportSelectFileInput(object):
    def setupUi(self, WidgetDataIOImportSelectFileInput):
        WidgetDataIOImportSelectFileInput.setObjectName(_fromUtf8("WidgetDataIOImportSelectFileInput"))
        WidgetDataIOImportSelectFileInput.resize(581, 530)
        self.verticalLayout = QtGui.QVBoxLayout(WidgetDataIOImportSelectFileInput)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_select_file = QtGui.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_select_file.setEnabled(True)
        self.groupBox_select_file.setObjectName(_fromUtf8("groupBox_select_file"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_select_file)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lineEdit_vector_file = QtGui.QLineEdit(self.groupBox_select_file)
        self.lineEdit_vector_file.setEnabled(False)
        self.lineEdit_vector_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_vector_file.setReadOnly(True)
        self.lineEdit_vector_file.setObjectName(_fromUtf8("lineEdit_vector_file"))
        self.gridLayout_3.addWidget(self.lineEdit_vector_file, 5, 0, 1, 1)
        self.radio_polygon_input = QtGui.QRadioButton(self.groupBox_select_file)
        self.radio_polygon_input.setObjectName(_fromUtf8("radio_polygon_input"))
        self.gridLayout_3.addWidget(self.radio_polygon_input, 4, 0, 1, 2)
        self.radio_raster_input = QtGui.QRadioButton(self.groupBox_select_file)
        self.radio_raster_input.setEnabled(True)
        self.radio_raster_input.setChecked(True)
        self.radio_raster_input.setObjectName(_fromUtf8("radio_raster_input"))
        self.gridLayout_3.addWidget(self.radio_raster_input, 0, 0, 1, 2)
        self.btn_polygon_dataset_browse = QtGui.QPushButton(self.groupBox_select_file)
        self.btn_polygon_dataset_browse.setEnabled(False)
        self.btn_polygon_dataset_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_polygon_dataset_browse.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_polygon_dataset_browse.setObjectName(_fromUtf8("btn_polygon_dataset_browse"))
        self.gridLayout_3.addWidget(self.btn_polygon_dataset_browse, 5, 1, 1, 1)
        self.label_fieldname = QtGui.QLabel(self.groupBox_select_file)
        self.label_fieldname.setEnabled(False)
        self.label_fieldname.setObjectName(_fromUtf8("label_fieldname"))
        self.gridLayout_3.addWidget(self.label_fieldname, 6, 0, 1, 2)
        self.lineEdit_raster_file = QtGui.QLineEdit(self.groupBox_select_file)
        self.lineEdit_raster_file.setEnabled(True)
        self.lineEdit_raster_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_raster_file.setReadOnly(True)
        self.lineEdit_raster_file.setObjectName(_fromUtf8("lineEdit_raster_file"))
        self.gridLayout_3.addWidget(self.lineEdit_raster_file, 1, 0, 1, 1)
        self.label_bandnumber = QtGui.QLabel(self.groupBox_select_file)
        self.label_bandnumber.setObjectName(_fromUtf8("label_bandnumber"))
        self.gridLayout_3.addWidget(self.label_bandnumber, 2, 0, 1, 1)
        self.btn_raster_dataset_browse = QtGui.QPushButton(self.groupBox_select_file)
        self.btn_raster_dataset_browse.setEnabled(True)
        self.btn_raster_dataset_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_raster_dataset_browse.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_raster_dataset_browse.setObjectName(_fromUtf8("btn_raster_dataset_browse"))
        self.gridLayout_3.addWidget(self.btn_raster_dataset_browse, 1, 1, 1, 1)
        self.comboBox_bandnumber = QtGui.QComboBox(self.groupBox_select_file)
        self.comboBox_bandnumber.setMinimumSize(QtCore.QSize(0, 30))
        self.comboBox_bandnumber.setMaximumSize(QtCore.QSize(50, 16777215))
        self.comboBox_bandnumber.setObjectName(_fromUtf8("comboBox_bandnumber"))
        self.gridLayout_3.addWidget(self.comboBox_bandnumber, 3, 0, 1, 2, QtCore.Qt.AlignHCenter)
        self.comboBox_fieldname = QtGui.QComboBox(self.groupBox_select_file)
        self.comboBox_fieldname.setEnabled(False)
        self.comboBox_fieldname.setMinimumSize(QtCore.QSize(300, 30))
        self.comboBox_fieldname.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.comboBox_fieldname.setObjectName(_fromUtf8("comboBox_fieldname"))
        self.gridLayout_3.addWidget(self.comboBox_fieldname, 7, 0, 1, 2, QtCore.Qt.AlignHCenter)
        self.verticalLayout.addWidget(self.groupBox_select_file)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.groupBox_output_resolution = QtGui.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_output_resolution.setCheckable(True)
        self.groupBox_output_resolution.setChecked(False)
        self.groupBox_output_resolution.setObjectName(_fromUtf8("groupBox_output_resolution"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox_output_resolution)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.spinBox_resolution = QtGui.QSpinBox(self.groupBox_output_resolution)
        self.spinBox_resolution.setMinimumSize(QtCore.QSize(100, 30))
        self.spinBox_resolution.setMaximumSize(QtCore.QSize(100, 16777215))
        self.spinBox_resolution.setMinimum(1)
        self.spinBox_resolution.setMaximum(8000)
        self.spinBox_resolution.setProperty("value", 300)
        self.spinBox_resolution.setObjectName(_fromUtf8("spinBox_resolution"))
        self.horizontalLayout_2.addWidget(self.spinBox_resolution)
        self.horizontalLayout.addWidget(self.groupBox_output_resolution)
        self.groupBox_year = QtGui.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_year.setObjectName(_fromUtf8("groupBox_year"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_year)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.spinBox_data_year = QtGui.QDateEdit(self.groupBox_year)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_data_year.sizePolicy().hasHeightForWidth())
        self.spinBox_data_year.setSizePolicy(sizePolicy)
        self.spinBox_data_year.setMinimumSize(QtCore.QSize(100, 30))
        self.spinBox_data_year.setMaximumSize(QtCore.QSize(120, 35))
        self.spinBox_data_year.setDate(QtCore.QDate(2015, 12, 31))
        self.spinBox_data_year.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2030, 12, 31), QtCore.QTime(23, 59, 59)))
        self.spinBox_data_year.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.spinBox_data_year.setDisplayFormat(_fromUtf8("yyyy"))
        self.spinBox_data_year.setObjectName(_fromUtf8("spinBox_data_year"))
        self.verticalLayout_2.addWidget(self.spinBox_data_year)
        self.horizontalLayout.addWidget(self.groupBox_year)
        self.verticalLayout.addLayout(self.horizontalLayout)

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

    def retranslateUi(self, WidgetDataIOImportSelectFileInput):
        WidgetDataIOImportSelectFileInput.setWindowTitle(_translate("WidgetDataIOImportSelectFileInput", "Form", None))
        self.groupBox_select_file.setTitle(_translate("WidgetDataIOImportSelectFileInput", "Select a file", None))
        self.lineEdit_vector_file.setPlaceholderText(_translate("WidgetDataIOImportSelectFileInput", "Click \"Browse\" to choose a file...", None))
        self.radio_polygon_input.setText(_translate("WidgetDataIOImportSelectFileInput", "Polygon dataset (shapefile, KML, KMZ, geojson)", None))
        self.radio_raster_input.setText(_translate("WidgetDataIOImportSelectFileInput", "Raster dataset (.tif, .dat, .img)", None))
        self.btn_polygon_dataset_browse.setText(_translate("WidgetDataIOImportSelectFileInput", "Browse", None))
        self.label_fieldname.setText(_translate("WidgetDataIOImportSelectFileInput", "Field containing data:", None))
        self.lineEdit_raster_file.setPlaceholderText(_translate("WidgetDataIOImportSelectFileInput", "Click \"Browse\" to choose a file...", None))
        self.label_bandnumber.setText(_translate("WidgetDataIOImportSelectFileInput", "Band number:", None))
        self.btn_raster_dataset_browse.setText(_translate("WidgetDataIOImportSelectFileInput", "Browse", None))
        self.groupBox_output_resolution.setTitle(_translate("WidgetDataIOImportSelectFileInput", "Modify resolution (in meters)", None))
        self.groupBox_year.setTitle(_translate("WidgetDataIOImportSelectFileInput", "Year of data", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    WidgetDataIOImportSelectFileInput = QtGui.QWidget()
    ui = Ui_WidgetDataIOImportSelectFileInput()
    ui.setupUi(WidgetDataIOImportSelectFileInput)
    WidgetDataIOImportSelectFileInput.show()
    sys.exit(app.exec_())

