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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculate.ui'
#
# Created: Sat Apr 07 22:23:35 2018
#      by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DlgCalculate(object):
    def setupUi(self, DlgCalculate):
        DlgCalculate.setObjectName(_fromUtf8("DlgCalculate"))
        DlgCalculate.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgCalculate.resize(704, 298)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculate.sizePolicy().hasHeightForWidth())
        DlgCalculate.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtGui.QVBoxLayout(DlgCalculate)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(DlgCalculate)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.btn_prod = QtGui.QPushButton(self.groupBox)
        self.btn_prod.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_prod.setFont(font)
        self.btn_prod.setObjectName(_fromUtf8("btn_prod"))
        self.gridLayout_2.addWidget(self.btn_prod, 4, 1, 1, 1)
        self.btn_lc = QtGui.QPushButton(self.groupBox)
        self.btn_lc.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_lc.setFont(font)
        self.btn_lc.setObjectName(_fromUtf8("btn_lc"))
        self.gridLayout_2.addWidget(self.btn_lc, 4, 2, 1, 1)
        self.btn_sdg_onestep = QtGui.QPushButton(self.groupBox)
        self.btn_sdg_onestep.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_sdg_onestep.setFont(font)
        self.btn_sdg_onestep.setObjectName(_fromUtf8("btn_sdg_onestep"))
        self.gridLayout_2.addWidget(self.btn_sdg_onestep, 2, 1, 1, 3)
        self.label = QtGui.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 1, 1, 1, 1)
        self.btn_soc = QtGui.QPushButton(self.groupBox)
        self.btn_soc.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_soc.setFont(font)
        self.btn_soc.setObjectName(_fromUtf8("btn_soc"))
        self.gridLayout_2.addWidget(self.btn_soc, 4, 3, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 3, 1, 1, 3)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_4 = QtGui.QGroupBox(DlgCalculate)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_4.setFont(font)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_4 = QtGui.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout.addWidget(self.label_4)
        self.btn_summary_single_polygon = QtGui.QPushButton(self.groupBox_4)
        self.btn_summary_single_polygon.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_summary_single_polygon.setFont(font)
        self.btn_summary_single_polygon.setObjectName(_fromUtf8("btn_summary_single_polygon"))
        self.verticalLayout.addWidget(self.btn_summary_single_polygon)
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.btn_summary_multi_polygons = QtGui.QPushButton(self.groupBox_4)
        self.btn_summary_multi_polygons.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.btn_summary_multi_polygons.setFont(font)
        self.btn_summary_multi_polygons.setObjectName(_fromUtf8("btn_summary_multi_polygons"))
        self.verticalLayout.addWidget(self.btn_summary_multi_polygons)
        self.verticalLayout_2.addWidget(self.groupBox_4)

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

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


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    DlgCalculate = QtGui.QDialog()
    ui = Ui_DlgCalculate()
    ui.setupUi(DlgCalculate)
    DlgCalculate.show()
    sys.exit(app.exec_())

