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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetCalcMultSDGSummary.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_WidgetDataIOImportSelectRasterOutput(object):
    def setupUi(self, WidgetDataIOImportSelectRasterOutput):
        WidgetDataIOImportSelectRasterOutput.setObjectName("WidgetDataIOImportSelectRasterOutput")
        WidgetDataIOImportSelectRasterOutput.resize(764, 274)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(WidgetDataIOImportSelectRasterOutput.sizePolicy().hasHeightForWidth())
        WidgetDataIOImportSelectRasterOutput.setSizePolicy(sizePolicy)
        self.gridLayout = QtWidgets.QGridLayout(WidgetDataIOImportSelectRasterOutput)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox_4 = QtWidgets.QGroupBox(WidgetDataIOImportSelectRasterOutput)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName("groupBox_4")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.comboBox = WidgetDataIOSelectTELayerExisting(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(0, 30))
        self.comboBox.setProperty("layer_type", "any")
        self.comboBox.setObjectName("comboBox")
        self.horizontalLayout.addWidget(self.comboBox)
        self.gridLayout.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(WidgetDataIOImportSelectRasterOutput)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 50))
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.lineEdit_output_file_2 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_output_file_2.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_output_file_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_output_file_2.setSizePolicy(sizePolicy)
        self.lineEdit_output_file_2.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_output_file_2.setReadOnly(True)
        self.lineEdit_output_file_2.setObjectName("lineEdit_output_file_2")
        self.gridLayout_3.addWidget(self.lineEdit_output_file_2, 0, 0, 1, 1)
        self.btn_output_file_browse_2 = QtWidgets.QPushButton(self.groupBox)
        self.btn_output_file_browse_2.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_output_file_browse_2.sizePolicy().hasHeightForWidth())
        self.btn_output_file_browse_2.setSizePolicy(sizePolicy)
        self.btn_output_file_browse_2.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_output_file_browse_2.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_output_file_browse_2.setObjectName("btn_output_file_browse_2")
        self.gridLayout_3.addWidget(self.btn_output_file_browse_2, 0, 1, 1, 1)
        self.label_fieldname = QtWidgets.QLabel(self.groupBox)
        self.label_fieldname.setEnabled(False)
        self.label_fieldname.setObjectName("label_fieldname")
        self.gridLayout_3.addWidget(self.label_fieldname, 1, 0, 1, 1)
        self.comboBox_fieldname = QtWidgets.QComboBox(self.groupBox)
        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(200, 16777215))
        self.comboBox_fieldname.setObjectName("comboBox_fieldname")
        self.gridLayout_3.addWidget(self.comboBox_fieldname, 2, 0, 1, 2, QtCore.Qt.AlignHCenter)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)
        self.groupBox_2 = QtWidgets.QGroupBox(WidgetDataIOImportSelectRasterOutput)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.lineEdit_output_file_3 = QtWidgets.QLineEdit(self.groupBox_2)
        self.lineEdit_output_file_3.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_output_file_3.sizePolicy().hasHeightForWidth())
        self.lineEdit_output_file_3.setSizePolicy(sizePolicy)
        self.lineEdit_output_file_3.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_output_file_3.setReadOnly(True)
        self.lineEdit_output_file_3.setObjectName("lineEdit_output_file_3")
        self.gridLayout_2.addWidget(self.lineEdit_output_file_3, 0, 0, 1, 1)
        self.btn_output_file_browse_3 = QtWidgets.QPushButton(self.groupBox_2)
        self.btn_output_file_browse_3.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_output_file_browse_3.sizePolicy().hasHeightForWidth())
        self.btn_output_file_browse_3.setSizePolicy(sizePolicy)
        self.btn_output_file_browse_3.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_output_file_browse_3.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_output_file_browse_3.setObjectName("btn_output_file_browse_3")
        self.gridLayout_2.addWidget(self.btn_output_file_browse_3, 0, 1, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 2, 0, 1, 1)

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

    def retranslateUi(self, WidgetDataIOImportSelectRasterOutput):
        _translate = QtCore.QCoreApplication.translate
        WidgetDataIOImportSelectRasterOutput.setWindowTitle(_translate("WidgetDataIOImportSelectRasterOutput", "Form"))
        self.groupBox_4.setTitle(_translate("WidgetDataIOImportSelectRasterOutput", "Trends.Earth layer to summarize"))
        self.groupBox.setTitle(_translate("WidgetDataIOImportSelectRasterOutput", "Input polygon layer (.shp) with sub-units (e.g. province, states, districts)"))
        self.lineEdit_output_file_2.setPlaceholderText(_translate("WidgetDataIOImportSelectRasterOutput", "Click \"Browse\" to choose a file..."))
        self.btn_output_file_browse_2.setText(_translate("WidgetDataIOImportSelectRasterOutput", "Browse"))
        self.label_fieldname.setText(_translate("WidgetDataIOImportSelectRasterOutput", "Field containing data:"))
        self.groupBox_2.setTitle(_translate("WidgetDataIOImportSelectRasterOutput", "Output spreadsheet file name (.xls)"))
        self.lineEdit_output_file_3.setPlaceholderText(_translate("WidgetDataIOImportSelectRasterOutput", "Click \"Browse\" to choose a file..."))
        self.btn_output_file_browse_3.setText(_translate("WidgetDataIOImportSelectRasterOutput", "Browse"))
from LDMP.data_io import WidgetDataIOSelectTELayerExisting


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