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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateSOC.ui'
#
# Created by: PyQt4 UI code generator 4.11.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_DlgCalculateSOC(object):
    def setupUi(self, DlgCalculateSOC):
        DlgCalculateSOC.setObjectName(_fromUtf8("DlgCalculateSOC"))
        DlgCalculateSOC.resize(966, 859)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateSOC.sizePolicy().hasHeightForWidth())
        DlgCalculateSOC.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgCalculateSOC)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.TabBox = QtGui.QTabWidget(DlgCalculateSOC)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TabBox.sizePolicy().hasHeightForWidth())
        self.TabBox.setSizePolicy(sizePolicy)
        self.TabBox.setTabShape(QtGui.QTabWidget.Rounded)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.SetupTab = QtGui.QWidget()
        self.SetupTab.setObjectName(_fromUtf8("SetupTab"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.SetupTab)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label = QtGui.QLabel(self.SetupTab)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_5.addWidget(self.label)
        self.baseline_box = QtGui.QGroupBox(self.SetupTab)
        self.baseline_box.setEnabled(True)
        self.baseline_box.setObjectName(_fromUtf8("baseline_box"))
        self.gridLayout_9 = QtGui.QGridLayout(self.baseline_box)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.year_bl_start = QtGui.QDateEdit(self.baseline_box)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.year_bl_start.sizePolicy().hasHeightForWidth())
        self.year_bl_start.setSizePolicy(sizePolicy)
        self.year_bl_start.setMinimumSize(QtCore.QSize(0, 30))
        self.year_bl_start.setMaximumSize(QtCore.QSize(120, 35))
        self.year_bl_start.setDate(QtCore.QDate(2000, 1, 1))
        self.year_bl_start.setMaximumDate(QtCore.QDate(2015, 12, 31))
        self.year_bl_start.setMinimumDate(QtCore.QDate(1992, 1, 1))
        self.year_bl_start.setDisplayFormat(_fromUtf8("yyyy"))
        self.year_bl_start.setObjectName(_fromUtf8("year_bl_start"))
        self.gridLayout_9.addWidget(self.year_bl_start, 1, 0, 1, 1)
        self.label_10 = QtGui.QLabel(self.baseline_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_9.addWidget(self.label_10, 0, 0, 1, 1)
        self.label_14 = QtGui.QLabel(self.baseline_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_14.setFont(font)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_9.addWidget(self.label_14, 0, 1, 1, 1)
        self.year_bl_end = QtGui.QDateEdit(self.baseline_box)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.year_bl_end.sizePolicy().hasHeightForWidth())
        self.year_bl_end.setSizePolicy(sizePolicy)
        self.year_bl_end.setMinimumSize(QtCore.QSize(0, 30))
        self.year_bl_end.setMaximumSize(QtCore.QSize(120, 35))
        self.year_bl_end.setAccessibleName(_fromUtf8(""))
        self.year_bl_end.setDate(QtCore.QDate(2014, 12, 31))
        self.year_bl_end.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2015, 12, 31), QtCore.QTime(23, 59, 59)))
        self.year_bl_end.setMaximumDate(QtCore.QDate(2015, 12, 31))
        self.year_bl_end.setMinimumDate(QtCore.QDate(1992, 1, 1))
        self.year_bl_end.setDisplayFormat(_fromUtf8("yyyy"))
        self.year_bl_end.setObjectName(_fromUtf8("year_bl_end"))
        self.gridLayout_9.addWidget(self.year_bl_end, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.baseline_box)
        self.target_box = QtGui.QGroupBox(self.SetupTab)
        self.target_box.setEnabled(True)
        self.target_box.setObjectName(_fromUtf8("target_box"))
        self.gridLayout_4 = QtGui.QGridLayout(self.target_box)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.year_target = QtGui.QDateEdit(self.target_box)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.year_target.sizePolicy().hasHeightForWidth())
        self.year_target.setSizePolicy(sizePolicy)
        self.year_target.setMinimumSize(QtCore.QSize(0, 30))
        self.year_target.setMaximumSize(QtCore.QSize(120, 35))
        self.year_target.setDate(QtCore.QDate(2015, 1, 1))
        self.year_target.setMinimumDateTime(QtCore.QDateTime(QtCore.QDate(1992, 1, 1), QtCore.QTime(0, 0, 0)))
        self.year_target.setMaximumDate(QtCore.QDate(2030, 12, 31))
        self.year_target.setMinimumDate(QtCore.QDate(1992, 1, 1))
        self.year_target.setDisplayFormat(_fromUtf8("yyyy"))
        self.year_target.setObjectName(_fromUtf8("year_target"))
        self.gridLayout_4.addWidget(self.year_target, 0, 0, 1, 1)
        self.verticalLayout_5.addWidget(self.target_box)
        self.remap_box = QtGui.QGroupBox(self.SetupTab)
        self.remap_box.setEnabled(True)
        self.remap_box.setObjectName(_fromUtf8("remap_box"))
        self.gridLayout = QtGui.QGridLayout(self.remap_box)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.remap_custom_file = QtGui.QLineEdit(self.remap_box)
        self.remap_custom_file.setEnabled(False)
        self.remap_custom_file.setMinimumSize(QtCore.QSize(120, 30))
        self.remap_custom_file.setObjectName(_fromUtf8("remap_custom_file"))
        self.gridLayout.addWidget(self.remap_custom_file, 4, 1, 1, 1)
        self.remap_default = QtGui.QRadioButton(self.remap_box)
        self.remap_default.setMinimumSize(QtCore.QSize(0, 30))
        self.remap_default.setChecked(True)
        self.remap_default.setObjectName(_fromUtf8("remap_default"))
        self.gridLayout.addWidget(self.remap_default, 0, 0, 1, 1)
        self.remap_custom_create = QtGui.QPushButton(self.remap_box)
        self.remap_custom_create.setEnabled(False)
        self.remap_custom_create.setMinimumSize(QtCore.QSize(0, 30))
        self.remap_custom_create.setObjectName(_fromUtf8("remap_custom_create"))
        self.gridLayout.addWidget(self.remap_custom_create, 4, 0, 1, 1)
        self.remap_custom = QtGui.QRadioButton(self.remap_box)
        self.remap_custom.setMinimumSize(QtCore.QSize(0, 30))
        self.remap_custom.setObjectName(_fromUtf8("remap_custom"))
        self.gridLayout.addWidget(self.remap_custom, 1, 0, 1, 1)
        self.remap_custom_file_browse = QtGui.QPushButton(self.remap_box)
        self.remap_custom_file_browse.setEnabled(False)
        self.remap_custom_file_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.remap_custom_file_browse.setMaximumSize(QtCore.QSize(80, 16777215))
        self.remap_custom_file_browse.setObjectName(_fromUtf8("remap_custom_file_browse"))
        self.gridLayout.addWidget(self.remap_custom_file_browse, 4, 2, 1, 1)
        self.remap_label_new = QtGui.QLabel(self.remap_box)
        self.remap_label_new.setEnabled(False)
        self.remap_label_new.setObjectName(_fromUtf8("remap_label_new"))
        self.gridLayout.addWidget(self.remap_label_new, 2, 0, 1, 1)
        self.remap_label_saved = QtGui.QLabel(self.remap_box)
        self.remap_label_saved.setEnabled(False)
        self.remap_label_saved.setObjectName(_fromUtf8("remap_label_saved"))
        self.gridLayout.addWidget(self.remap_label_saved, 2, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.remap_box)
        self.metadataGroupBox = QtGui.QGroupBox(self.SetupTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.metadataGroupBox.sizePolicy().hasHeightForWidth())
        self.metadataGroupBox.setSizePolicy(sizePolicy)
        self.metadataGroupBox.setObjectName(_fromUtf8("metadataGroupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.metadataGroupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.task_name = QtGui.QLineEdit(self.metadataGroupBox)
        self.task_name.setMinimumSize(QtCore.QSize(0, 30))
        self.task_name.setMaxLength(60)
        self.task_name.setObjectName(_fromUtf8("task_name"))
        self.verticalLayout_2.addWidget(self.task_name)
        self.label_2 = QtGui.QLabel(self.metadataGroupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.task_notes = QtGui.QTextEdit(self.metadataGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.task_notes.sizePolicy().hasHeightForWidth())
        self.task_notes.setSizePolicy(sizePolicy)
        self.task_notes.setMinimumSize(QtCore.QSize(0, 0))
        self.task_notes.setMaximumSize(QtCore.QSize(16777215, 100))
        self.task_notes.setObjectName(_fromUtf8("task_notes"))
        self.verticalLayout_2.addWidget(self.task_notes)
        self.verticalLayout_5.addWidget(self.metadataGroupBox)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.TabBox.addTab(self.SetupTab, _fromUtf8(""))
        self.AreaTab = QtGui.QWidget()
        self.AreaTab.setObjectName(_fromUtf8("AreaTab"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.AreaTab)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_7 = QtGui.QGroupBox(self.AreaTab)
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_7)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_4 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(200, 0))
        self.label_4.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(200, 0))
        self.label_3.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 3, 0, 1, 1)
        self.area_fromfile_browse = QtGui.QPushButton(self.groupBox_7)
        self.area_fromfile_browse.setEnabled(False)
        self.area_fromfile_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.area_fromfile_browse.setMaximumSize(QtCore.QSize(80, 16777215))
        self.area_fromfile_browse.setObjectName(_fromUtf8("area_fromfile_browse"))
        self.gridLayout_2.addWidget(self.area_fromfile_browse, 5, 2, 1, 1)
        self.area_admin_1 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_1.sizePolicy().hasHeightForWidth())
        self.area_admin_1.setSizePolicy(sizePolicy)
        self.area_admin_1.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_1.setObjectName(_fromUtf8("area_admin_1"))
        self.gridLayout_2.addWidget(self.area_admin_1, 2, 1, 1, 2)
        self.area_admin_0 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_0.sizePolicy().hasHeightForWidth())
        self.area_admin_0.setSizePolicy(sizePolicy)
        self.area_admin_0.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_0.setObjectName(_fromUtf8("area_admin_0"))
        self.gridLayout_2.addWidget(self.area_admin_0, 1, 1, 1, 2)
        self.area_fromfile_file = QtGui.QLineEdit(self.groupBox_7)
        self.area_fromfile_file.setEnabled(False)
        self.area_fromfile_file.setMinimumSize(QtCore.QSize(120, 30))
        self.area_fromfile_file.setObjectName(_fromUtf8("area_fromfile_file"))
        self.gridLayout_2.addWidget(self.area_fromfile_file, 5, 0, 1, 2)
        self.area_fromfile = QtGui.QRadioButton(self.groupBox_7)
        self.area_fromfile.setObjectName(_fromUtf8("area_fromfile"))
        self.gridLayout_2.addWidget(self.area_fromfile, 4, 0, 1, 3)
        self.area_admin = QtGui.QRadioButton(self.groupBox_7)
        self.area_admin.setChecked(True)
        self.area_admin.setObjectName(_fromUtf8("area_admin"))
        self.gridLayout_2.addWidget(self.area_admin, 0, 0, 1, 3)
        self.verticalLayout_3.addWidget(self.groupBox_7)
        spacerItem2 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem2)
        self.TabBox.addTab(self.AreaTab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.TabBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.button_next = QtGui.QPushButton(DlgCalculateSOC)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout_3.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCalculateSOC)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout_3.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgCalculateSOC)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout_3.addWidget(self.button_prev, 0, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)

        self.retranslateUi(DlgCalculateSOC)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateSOC)
        DlgCalculateSOC.setTabOrder(self.TabBox, self.year_target)
        DlgCalculateSOC.setTabOrder(self.year_target, self.button_prev)
        DlgCalculateSOC.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateSOC.setTabOrder(self.button_next, self.button_calculate)

    def retranslateUi(self, DlgCalculateSOC):
        DlgCalculateSOC.setWindowTitle(_translate("DlgCalculateSOC", "Calculate Soil Organic Carbon", None))
        self.label.setText(_translate("DlgCalculateSOC", "NOTE: Calculation of change in soil organic carbon is not yet supported. This tool currently only supports downloading a soil organic carbon map for a single point in time.", None))
        self.baseline_box.setTitle(_translate("DlgCalculateSOC", "Baseline period", None))
        self.label_10.setText(_translate("DlgCalculateSOC", "Starting year:", None))
        self.label_14.setText(_translate("DlgCalculateSOC", "Ending year:", None))
        self.target_box.setTitle(_translate("DlgCalculateSOC", "Target year", None))
        self.remap_box.setTitle(_translate("DlgCalculateSOC", "Land cover definition", None))
        self.remap_custom_file.setPlaceholderText(_translate("DlgCalculateSOC", "Use a definition saved in a file...", None))
        self.remap_default.setText(_translate("DlgCalculateSOC", "Default (UNCCD LDN Target Setting Program system)", None))
        self.remap_custom_create.setText(_translate("DlgCalculateSOC", "Create new definition", None))
        self.remap_custom.setText(_translate("DlgCalculateSOC", "Custom", None))
        self.remap_custom_file_browse.setText(_translate("DlgCalculateSOC", "Browse", None))
        self.remap_label_new.setText(_translate("DlgCalculateSOC", "Create new definition:", None))
        self.remap_label_saved.setText(_translate("DlgCalculateSOC", "Use saved definition:", None))
        self.metadataGroupBox.setTitle(_translate("DlgCalculateSOC", "Metadata", None))
        self.label_2.setText(_translate("DlgCalculateSOC", "Notes:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.SetupTab), _translate("DlgCalculateSOC", "Setup", None))
        self.groupBox_7.setTitle(_translate("DlgCalculateSOC", "Area to run calculations for", None))
        self.label_4.setText(_translate("DlgCalculateSOC", "Second level:", None))
        self.label_3.setText(_translate("DlgCalculateSOC", "First level:", None))
        self.area_fromfile_browse.setText(_translate("DlgCalculateSOC", "Browse", None))
        self.area_fromfile_file.setPlaceholderText(_translate("DlgCalculateSOC", "Choose a file...", None))
        self.area_fromfile.setText(_translate("DlgCalculateSOC", "Area from file", None))
        self.area_admin.setText(_translate("DlgCalculateSOC", "Administrative area", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.AreaTab), _translate("DlgCalculateSOC", "Area", None))
        self.button_next.setText(_translate("DlgCalculateSOC", "Next", None))
        self.button_calculate.setText(_translate("DlgCalculateSOC", "Calculate", None))
        self.button_prev.setText(_translate("DlgCalculateSOC", "Previous", None))

