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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetDataIOImportSelectFileInput.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_WidgetDataIOImportSelectFileInput(object):
    def setupUi(self, WidgetDataIOImportSelectFileInput):
        WidgetDataIOImportSelectFileInput.setObjectName("WidgetDataIOImportSelectFileInput")
        WidgetDataIOImportSelectFileInput.resize(581, 344)
        self.verticalLayout = QtWidgets.QVBoxLayout(WidgetDataIOImportSelectFileInput)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_select_file = QtWidgets.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_select_file.setEnabled(True)
        self.groupBox_select_file.setObjectName("groupBox_select_file")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_select_file)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.lineEdit_vector_file = QtWidgets.QLineEdit(self.groupBox_select_file)
        self.lineEdit_vector_file.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_vector_file.sizePolicy().hasHeightForWidth())
        self.lineEdit_vector_file.setSizePolicy(sizePolicy)
        self.lineEdit_vector_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_vector_file.setReadOnly(True)
        self.lineEdit_vector_file.setObjectName("lineEdit_vector_file")
        self.gridLayout_3.addWidget(self.lineEdit_vector_file, 5, 0, 1, 1)
        self.radio_polygon_input = QtWidgets.QRadioButton(self.groupBox_select_file)
        self.radio_polygon_input.setObjectName("radio_polygon_input")
        self.gridLayout_3.addWidget(self.radio_polygon_input, 4, 0, 1, 2)
        self.radio_raster_input = QtWidgets.QRadioButton(self.groupBox_select_file)
        self.radio_raster_input.setEnabled(True)
        self.radio_raster_input.setChecked(True)
        self.radio_raster_input.setObjectName("radio_raster_input")
        self.gridLayout_3.addWidget(self.radio_raster_input, 0, 0, 1, 2)
        self.btn_polygon_dataset_browse = QtWidgets.QPushButton(self.groupBox_select_file)
        self.btn_polygon_dataset_browse.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_polygon_dataset_browse.sizePolicy().hasHeightForWidth())
        self.btn_polygon_dataset_browse.setSizePolicy(sizePolicy)
        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("btn_polygon_dataset_browse")
        self.gridLayout_3.addWidget(self.btn_polygon_dataset_browse, 5, 1, 1, 1)
        self.label_fieldname = QtWidgets.QLabel(self.groupBox_select_file)
        self.label_fieldname.setEnabled(False)
        self.label_fieldname.setObjectName("label_fieldname")
        self.gridLayout_3.addWidget(self.label_fieldname, 6, 0, 1, 2)
        self.lineEdit_raster_file = QtWidgets.QLineEdit(self.groupBox_select_file)
        self.lineEdit_raster_file.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_raster_file.sizePolicy().hasHeightForWidth())
        self.lineEdit_raster_file.setSizePolicy(sizePolicy)
        self.lineEdit_raster_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_raster_file.setReadOnly(True)
        self.lineEdit_raster_file.setObjectName("lineEdit_raster_file")
        self.gridLayout_3.addWidget(self.lineEdit_raster_file, 1, 0, 1, 1)
        self.label_bandnumber = QtWidgets.QLabel(self.groupBox_select_file)
        self.label_bandnumber.setObjectName("label_bandnumber")
        self.gridLayout_3.addWidget(self.label_bandnumber, 2, 0, 1, 1)
        self.btn_raster_dataset_browse = QtWidgets.QPushButton(self.groupBox_select_file)
        self.btn_raster_dataset_browse.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_raster_dataset_browse.sizePolicy().hasHeightForWidth())
        self.btn_raster_dataset_browse.setSizePolicy(sizePolicy)
        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("btn_raster_dataset_browse")
        self.gridLayout_3.addWidget(self.btn_raster_dataset_browse, 1, 1, 1, 1)
        self.comboBox_bandnumber = QtWidgets.QComboBox(self.groupBox_select_file)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_bandnumber.sizePolicy().hasHeightForWidth())
        self.comboBox_bandnumber.setSizePolicy(sizePolicy)
        self.comboBox_bandnumber.setMinimumSize(QtCore.QSize(0, 30))
        self.comboBox_bandnumber.setMaximumSize(QtCore.QSize(50, 16777215))
        self.comboBox_bandnumber.setObjectName("comboBox_bandnumber")
        self.gridLayout_3.addWidget(self.comboBox_bandnumber, 3, 0, 1, 2, QtCore.Qt.AlignHCenter)
        self.comboBox_fieldname = QtWidgets.QComboBox(self.groupBox_select_file)
        self.comboBox_fieldname.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_fieldname.sizePolicy().hasHeightForWidth())
        self.comboBox_fieldname.setSizePolicy(sizePolicy)
        self.comboBox_fieldname.setMinimumSize(QtCore.QSize(300, 30))
        self.comboBox_fieldname.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.comboBox_fieldname.setObjectName("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 = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox_output_resolution = QtWidgets.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_output_resolution.setCheckable(True)
        self.groupBox_output_resolution.setChecked(False)
        self.groupBox_output_resolution.setObjectName("groupBox_output_resolution")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_output_resolution)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.spinBox_resolution = QtWidgets.QSpinBox(self.groupBox_output_resolution)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spinBox_resolution.sizePolicy().hasHeightForWidth())
        self.spinBox_resolution.setSizePolicy(sizePolicy)
        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("spinBox_resolution")
        self.horizontalLayout_2.addWidget(self.spinBox_resolution)
        self.horizontalLayout.addWidget(self.groupBox_output_resolution)
        self.groupBox_year = QtWidgets.QGroupBox(WidgetDataIOImportSelectFileInput)
        self.groupBox_year.setObjectName("groupBox_year")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_year)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.spinBox_data_year = QtWidgets.QSpinBox(self.groupBox_year)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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, 16777215))
        self.spinBox_data_year.setSpecialValueText("")
        self.spinBox_data_year.setMinimum(1979)
        self.spinBox_data_year.setMaximum(2030)
        self.spinBox_data_year.setObjectName("spinBox_data_year")
        self.verticalLayout_2.addWidget(self.spinBox_data_year, 0, QtCore.Qt.AlignHCenter)
        self.horizontalLayout.addWidget(self.groupBox_year)
        self.verticalLayout.addLayout(self.horizontalLayout)

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

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


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