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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateLD.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_DlgCalculateLD(object):
    def setupUi(self, DlgCalculateLD):
        DlgCalculateLD.setObjectName("DlgCalculateLD")
        DlgCalculateLD.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgCalculateLD.resize(423, 342)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateLD.sizePolicy().hasHeightForWidth())
        DlgCalculateLD.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(DlgCalculateLD)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox = QtWidgets.QGroupBox(DlgCalculateLD)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.btn_prod = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_prod.sizePolicy().hasHeightForWidth())
        self.btn_prod.setSizePolicy(sizePolicy)
        self.btn_prod.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_prod.setFont(font)
        self.btn_prod.setObjectName("btn_prod")
        self.gridLayout_2.addWidget(self.btn_prod, 4, 1, 1, 1)
        self.btn_lc = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_lc.sizePolicy().hasHeightForWidth())
        self.btn_lc.setSizePolicy(sizePolicy)
        self.btn_lc.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_lc.setFont(font)
        self.btn_lc.setObjectName("btn_lc")
        self.gridLayout_2.addWidget(self.btn_lc, 4, 2, 1, 1)
        self.btn_sdg_onestep = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_sdg_onestep.sizePolicy().hasHeightForWidth())
        self.btn_sdg_onestep.setSizePolicy(sizePolicy)
        self.btn_sdg_onestep.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_sdg_onestep.setFont(font)
        self.btn_sdg_onestep.setObjectName("btn_sdg_onestep")
        self.gridLayout_2.addWidget(self.btn_sdg_onestep, 2, 1, 1, 3)
        self.label = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 1, 1, 1, 1)
        self.btn_soc = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_soc.sizePolicy().hasHeightForWidth())
        self.btn_soc.setSizePolicy(sizePolicy)
        self.btn_soc.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_soc.setFont(font)
        self.btn_soc.setObjectName("btn_soc")
        self.gridLayout_2.addWidget(self.btn_soc, 4, 3, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 3, 1, 1, 3)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_4 = QtWidgets.QGroupBox(DlgCalculateLD)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_4.setFont(font)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.verticalLayout.addWidget(self.label_4)
        self.btn_summary_single_polygon = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_summary_single_polygon.sizePolicy().hasHeightForWidth())
        self.btn_summary_single_polygon.setSizePolicy(sizePolicy)
        self.btn_summary_single_polygon.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_summary_single_polygon.setFont(font)
        self.btn_summary_single_polygon.setObjectName("btn_summary_single_polygon")
        self.verticalLayout.addWidget(self.btn_summary_single_polygon)
        self.label_3 = QtWidgets.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.verticalLayout.addWidget(self.label_3)
        self.btn_summary_multi_polygons = QtWidgets.QPushButton(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_summary_multi_polygons.sizePolicy().hasHeightForWidth())
        self.btn_summary_multi_polygons.setSizePolicy(sizePolicy)
        self.btn_summary_multi_polygons.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_summary_multi_polygons.setFont(font)
        self.btn_summary_multi_polygons.setObjectName("btn_summary_multi_polygons")
        self.verticalLayout.addWidget(self.btn_summary_multi_polygons)
        self.verticalLayout_2.addWidget(self.groupBox_4)

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

    def retranslateUi(self, DlgCalculateLD):
        _translate = QtCore.QCoreApplication.translate
        DlgCalculateLD.setWindowTitle(_translate("DlgCalculateLD", "Calculate Indicators"))
        self.groupBox.setTitle(_translate("DlgCalculateLD", "Step 1: Prepare sub-indicators"))
        self.btn_prod.setText(_translate("DlgCalculateLD", "Productivity"))
        self.btn_lc.setText(_translate("DlgCalculateLD", "Land cover"))
        self.btn_sdg_onestep.setText(_translate("DlgCalculateLD", "Calculate all three sub-indicators in one step"))
        self.label.setText(_translate("DlgCalculateLD", "Option 1: Use default UNCCD data"))
        self.btn_soc.setText(_translate("DlgCalculateLD", "Soil organic carbon"))
        self.label_2.setText(_translate("DlgCalculateLD", "Option 2: Use customized data"))
        self.groupBox_4.setTitle(_translate("DlgCalculateLD", "Step 2: Calculate final SDG 15.3.1 indicator"))
        self.label_4.setText(_translate("DlgCalculateLD", "Option 1: Use single unit for analysis (e.g. country boundary)"))
        self.btn_summary_single_polygon.setText(_translate("DlgCalculateLD", "Calculate final SDG 15.3.1 spatial layer and summary table for total boundary"))
        self.label_3.setText(_translate("DlgCalculateLD", "Option 2: Use sub-units for analysis (e.g. province, state or district boundaries)"))
        self.btn_summary_multi_polygons.setText(_translate("DlgCalculateLD", "Calculate area summaries of a raster on sub-units"))


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