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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateLDNSummaryTableAdmin.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_DlgCalculateLDNSummaryTableAdmin(object):
    def setupUi(self, DlgCalculateLDNSummaryTableAdmin):
        DlgCalculateLDNSummaryTableAdmin.setObjectName("DlgCalculateLDNSummaryTableAdmin")
        DlgCalculateLDNSummaryTableAdmin.resize(615, 595)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateLDNSummaryTableAdmin.sizePolicy().hasHeightForWidth())
        DlgCalculateLDNSummaryTableAdmin.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgCalculateLDNSummaryTableAdmin)
        self.verticalLayout.setObjectName("verticalLayout")
        self.TabBox = QtWidgets.QTabWidget(DlgCalculateLDNSummaryTableAdmin)
        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.combo_layer_traj = WidgetDataIOSelectTELayerExisting(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.setProperty("layer_type", "Productivity trajectory (significance)")
        self.combo_layer_traj.setObjectName("combo_layer_traj")
        self.gridLayout.addWidget(self.combo_layer_traj, 4, 0, 1, 1)
        self.combo_layer_perf = WidgetDataIOSelectTELayerExisting(self.groupBox)
        self.combo_layer_perf.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_perf.sizePolicy().hasHeightForWidth())
        self.combo_layer_perf.setSizePolicy(sizePolicy)
        self.combo_layer_perf.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_perf.setProperty("layer_type", "Productivity performance (degradation)")
        self.combo_layer_perf.setObjectName("combo_layer_perf")
        self.gridLayout.addWidget(self.combo_layer_perf, 6, 0, 1, 1)
        self.combo_layer_state = WidgetDataIOSelectTELayerExisting(self.groupBox)
        self.combo_layer_state.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_state.sizePolicy().hasHeightForWidth())
        self.combo_layer_state.setSizePolicy(sizePolicy)
        self.combo_layer_state.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_state.setProperty("layer_type", "Productivity state (degradation)")
        self.combo_layer_state.setObjectName("combo_layer_state")
        self.gridLayout.addWidget(self.combo_layer_state, 8, 0, 1, 1)
        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_perf_label = QtWidgets.QLabel(self.groupBox)
        self.combo_layer_perf_label.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_perf_label.setFont(font)
        self.combo_layer_perf_label.setObjectName("combo_layer_perf_label")
        self.gridLayout.addWidget(self.combo_layer_perf_label, 5, 0, 1, 1)
        self.combo_layer_state_label = QtWidgets.QLabel(self.groupBox)
        self.combo_layer_state_label.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_state_label.sizePolicy().hasHeightForWidth())
        self.combo_layer_state_label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_state_label.setFont(font)
        self.combo_layer_state_label.setObjectName("combo_layer_state_label")
        self.gridLayout.addWidget(self.combo_layer_state_label, 7, 0, 1, 1)
        self.combo_layer_traj_label = QtWidgets.QLabel(self.groupBox)
        self.combo_layer_traj_label.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.combo_layer_traj_label.setFont(font)
        self.combo_layer_traj_label.setObjectName("combo_layer_traj_label")
        self.gridLayout.addWidget(self.combo_layer_traj_label, 3, 0, 1, 1)
        self.combo_layer_lpd = WidgetDataIOSelectTELayerImport(self.groupBox)
        self.combo_layer_lpd.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_lpd.sizePolicy().hasHeightForWidth())
        self.combo_layer_lpd.setSizePolicy(sizePolicy)
        self.combo_layer_lpd.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_lpd.setProperty("layer_type", "Land Productivity Dynamics (LPD)")
        self.combo_layer_lpd.setObjectName("combo_layer_lpd")
        self.gridLayout.addWidget(self.combo_layer_lpd, 10, 0, 1, 1)
        self.mode_lpd_jrc = QtWidgets.QRadioButton(self.groupBox)
        self.mode_lpd_jrc.setEnabled(True)
        self.mode_lpd_jrc.setChecked(False)
        self.mode_lpd_jrc.setObjectName("mode_lpd_jrc")
        self.gridLayout.addWidget(self.mode_lpd_jrc, 9, 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.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.combo_layer_lc = WidgetDataIOSelectTELayerExisting(self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_lc.sizePolicy().hasHeightForWidth())
        self.combo_layer_lc.setSizePolicy(sizePolicy)
        self.combo_layer_lc.setMinimumSize(QtCore.QSize(0, 30))
        self.combo_layer_lc.setProperty("layer_type", "Land cover (degradation)")
        self.combo_layer_lc.setObjectName("combo_layer_lc")
        self.verticalLayout_6.addWidget(self.combo_layer_lc)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(self.InputTab)
        self.groupBox_3.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.combo_layer_soc = WidgetDataIOSelectTELayerExisting(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layer_soc.sizePolicy().hasHeightForWidth())
        self.combo_layer_soc.setSizePolicy(sizePolicy)
        self.combo_layer_soc.setMinimumSize(QtCore.QSize(275, 30))
        self.combo_layer_soc.setProperty("layer_type", "Soil organic carbon (degradation)")
        self.combo_layer_soc.setObjectName("combo_layer_soc")
        self.verticalLayout_7.addWidget(self.combo_layer_soc)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        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_prev = QtWidgets.QPushButton(DlgCalculateLDNSummaryTableAdmin)
        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.button_next = QtWidgets.QPushButton(DlgCalculateLDNSummaryTableAdmin)
        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(DlgCalculateLDNSummaryTableAdmin)
        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.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgCalculateLDNSummaryTableAdmin)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateLDNSummaryTableAdmin)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.TabBox, self.mode_te_prod)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.mode_te_prod, self.mode_lpd_jrc)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.mode_lpd_jrc, self.combo_layer_lc)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.combo_layer_lc, self.combo_layer_soc)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.combo_layer_soc, self.button_prev)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.button_next, self.button_calculate)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.button_calculate, self.combo_layer_traj)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.combo_layer_traj, self.combo_layer_perf)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.combo_layer_perf, self.combo_layer_state)
        DlgCalculateLDNSummaryTableAdmin.setTabOrder(self.combo_layer_state, self.combo_layer_lpd)

    def retranslateUi(self, DlgCalculateLDNSummaryTableAdmin):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateLDNSummaryTableAdmin.setWindowTitle(_translate("DlgCalculateLDNSummaryTableAdmin", "Calculate SDG 15.3.1 Indicator"))
        self.groupBox.setTitle(_translate("DlgCalculateLDNSummaryTableAdmin", "Productivity"))
        self.mode_te_prod.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Trends.Earth land productivity"))
        self.combo_layer_perf_label.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Performance (degradation):"))
        self.combo_layer_state_label.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "State (degradation):"))
        self.combo_layer_traj_label.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Trajectory (degradation):"))
        self.mode_lpd_jrc.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "UNCCD default data (Land Productivity Dynamics (LPD) 1999-2013 Product from Joint Research Commission)"))
        self.groupBox_2.setTitle(_translate("DlgCalculateLDNSummaryTableAdmin", "Land cover (degradation)"))
        self.groupBox_3.setTitle(_translate("DlgCalculateLDNSummaryTableAdmin", "Soil carbon (degradation)"))
        self.TabBox.setTabText(self.TabBox.indexOf(self.InputTab), _translate("DlgCalculateLDNSummaryTableAdmin", "Input"))
        self.button_prev.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Previous"))
        self.button_next.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Next"))
        self.button_calculate.setText(_translate("DlgCalculateLDNSummaryTableAdmin", "Calculate"))
from LDMP.data_io import WidgetDataIOSelectTELayerExisting, WidgetDataIOSelectTELayerImport


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