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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateLDNSummaryTablePolygons.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_DlgCalculateLDNSummaryTablePolygons(object):
    def setupUi(self, DlgCalculateLDNSummaryTablePolygons):
        DlgCalculateLDNSummaryTablePolygons.setObjectName("DlgCalculateLDNSummaryTablePolygons")
        DlgCalculateLDNSummaryTablePolygons.resize(682, 771)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateLDNSummaryTablePolygons.sizePolicy().hasHeightForWidth())
        DlgCalculateLDNSummaryTablePolygons.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateLDNSummaryTablePolygons)
        self.verticalLayout.setObjectName("verticalLayout")
        self.TabBox = QtWidgets.QTabWidget(DlgCalculateLDNSummaryTablePolygons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TabBox.sizePolicy().hasHeightForWidth())
        self.TabBox.setSizePolicy(sizePolicy)
        self.TabBox.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.TabBox.setObjectName("TabBox")
        self.InputTab = QtWidgets.QWidget()
        self.InputTab.setObjectName("InputTab")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.InputTab)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox = QtWidgets.QGroupBox(self.InputTab)
        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.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.mode_te_prod = QtWidgets.QRadioButton(self.groupBox)
        self.mode_te_prod.setChecked(True)
        self.mode_te_prod.setObjectName("mode_te_prod")
        self.gridLayout.addWidget(self.mode_te_prod, 2, 0, 1, 1)
        self.combo_layer_traj = QtWidgets.QComboBox(self.groupBox)
        self.combo_layer_traj.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_traj.sizePolicy().hasHeightForWidth())
        self.combo_layer_traj.setSizePolicy(sizePolicy)
        self.combo_layer_traj.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_traj.setObjectName("combo_layer_traj")
        self.gridLayout.addWidget(self.combo_layer_traj, 3, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.InputTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setTitle("")
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.lineEdit_output_file = QtWidgets.QLineEdit(self.groupBox_2)
        self.lineEdit_output_file.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_output_file.sizePolicy().hasHeightForWidth())
        self.lineEdit_output_file.setSizePolicy(sizePolicy)
        self.lineEdit_output_file.setMinimumSize(QtCore.QSize(0, 30))
        self.lineEdit_output_file.setReadOnly(True)
        self.lineEdit_output_file.setObjectName("lineEdit_output_file")
        self.gridLayout_2.addWidget(self.lineEdit_output_file, 1, 0, 1, 1)
        self.btn_output_file_browse = QtWidgets.QPushButton(self.groupBox_2)
        self.btn_output_file_browse.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_output_file_browse.sizePolicy().hasHeightForWidth())
        self.btn_output_file_browse.setSizePolicy(sizePolicy)
        self.btn_output_file_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_output_file_browse.setMaximumSize(QtCore.QSize(120, 16777215))
        self.btn_output_file_browse.setObjectName("btn_output_file_browse")
        self.gridLayout_2.addWidget(self.btn_output_file_browse, 1, 1, 1, 1)
        self.mode_lpd_jrc_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.mode_lpd_jrc_2.setEnabled(True)
        self.mode_lpd_jrc_2.setChecked(False)
        self.mode_lpd_jrc_2.setObjectName("mode_lpd_jrc_2")
        self.gridLayout_2.addWidget(self.mode_lpd_jrc_2, 0, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.TabBox.addTab(self.InputTab, "")
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.button_next = QtWidgets.QPushButton(DlgCalculateLDNSummaryTablePolygons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_next.sizePolicy().hasHeightForWidth())
        self.button_next.setSizePolicy(sizePolicy)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName("button_next")
        self.gridLayout_3.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtWidgets.QPushButton(DlgCalculateLDNSummaryTablePolygons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_calculate.sizePolicy().hasHeightForWidth())
        self.button_calculate.setSizePolicy(sizePolicy)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName("button_calculate")
        self.gridLayout_3.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.button_prev = QtWidgets.QPushButton(DlgCalculateLDNSummaryTablePolygons)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_prev.sizePolicy().hasHeightForWidth())
        self.button_prev.setSizePolicy(sizePolicy)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName("button_prev")
        self.gridLayout_3.addWidget(self.button_prev, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)

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

    def retranslateUi(self, DlgCalculateLDNSummaryTablePolygons):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateLDNSummaryTablePolygons.setWindowTitle(_translate("DlgCalculateLDNSummaryTablePolygons", "Calculate SDG 15.3.1 Indicator"))
        self.groupBox.setTitle(_translate("DlgCalculateLDNSummaryTablePolygons", "Select raster layer input"))
        self.mode_te_prod.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Trends.Earth layer"))
        self.lineEdit_output_file.setPlaceholderText(_translate("DlgCalculateLDNSummaryTablePolygons", "Click \"Browse\" to choose a file..."))
        self.btn_output_file_browse.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Browse"))
        self.mode_lpd_jrc_2.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Upload raster layer (.tif)"))
        self.TabBox.setTabText(self.TabBox.indexOf(self.InputTab), _translate("DlgCalculateLDNSummaryTablePolygons", "Input"))
        self.button_next.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Next"))
        self.button_calculate.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Calculate"))
        self.button_prev.setText(_translate("DlgCalculateLDNSummaryTablePolygons", "Previous"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    DlgCalculateLDNSummaryTablePolygons = QtWidgets.QDialog()
    ui = Ui_DlgCalculateLDNSummaryTablePolygons()
    ui.setupUi(DlgCalculateLDNSummaryTablePolygons)
    DlgCalculateLDNSummaryTablePolygons.show()
    sys.exit(app.exec_())
