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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateProd.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_DlgCalculateProd(object):
    def setupUi(self, DlgCalculateProd):
        DlgCalculateProd.setObjectName(_fromUtf8("DlgCalculateProd"))
        DlgCalculateProd.resize(515, 581)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateProd.sizePolicy().hasHeightForWidth())
        DlgCalculateProd.setSizePolicy(sizePolicy)
        DlgCalculateProd.setMinimumSize(QtCore.QSize(515, 0))
        self.verticalLayout_2 = QtGui.QVBoxLayout(DlgCalculateProd)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.TabBox = QtGui.QTabWidget(DlgCalculateProd)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.IndicatorsTab = QtGui.QWidget()
        self.IndicatorsTab.setObjectName(_fromUtf8("IndicatorsTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.IndicatorsTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupBox_2 = QtGui.QGroupBox(self.IndicatorsTab)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_7 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.indic_select_traj = QtGui.QCheckBox(self.groupBox_2)
        self.indic_select_traj.setObjectName(_fromUtf8("indic_select_traj"))
        self.gridLayout_7.addWidget(self.indic_select_traj, 0, 0, 1, 1)
        self.label_26 = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_26.sizePolicy().hasHeightForWidth())
        self.label_26.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.label_26.setFont(font)
        self.label_26.setWordWrap(True)
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.gridLayout_7.addWidget(self.label_26, 0, 1, 1, 1)
        self.indic_select_perf = QtGui.QCheckBox(self.groupBox_2)
        self.indic_select_perf.setObjectName(_fromUtf8("indic_select_perf"))
        self.gridLayout_7.addWidget(self.indic_select_perf, 1, 0, 1, 1)
        self.label_27 = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_27.sizePolicy().hasHeightForWidth())
        self.label_27.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.label_27.setFont(font)
        self.label_27.setWordWrap(True)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.gridLayout_7.addWidget(self.label_27, 1, 1, 1, 1)
        self.indic_select_state = QtGui.QCheckBox(self.groupBox_2)
        self.indic_select_state.setObjectName(_fromUtf8("indic_select_state"))
        self.gridLayout_7.addWidget(self.indic_select_state, 2, 0, 1, 1)
        self.label_28 = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_28.sizePolicy().hasHeightForWidth())
        self.label_28.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.label_28.setFont(font)
        self.label_28.setWordWrap(True)
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.gridLayout_7.addWidget(self.label_28, 2, 1, 1, 1)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(self.IndicatorsTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 80))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.dataset_ndvi = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dataset_ndvi.sizePolicy().hasHeightForWidth())
        self.dataset_ndvi.setSizePolicy(sizePolicy)
        self.dataset_ndvi.setMinimumSize(QtCore.QSize(0, 30))
        self.dataset_ndvi.setObjectName(_fromUtf8("dataset_ndvi"))
        self.verticalLayout_3.addWidget(self.dataset_ndvi)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.metadataGroupBox = QtGui.QGroupBox(self.IndicatorsTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.metadataGroupBox.sizePolicy().hasHeightForWidth())
        self.metadataGroupBox.setSizePolicy(sizePolicy)
        self.metadataGroupBox.setObjectName(_fromUtf8("metadataGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.metadataGroupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.metadataGroupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.task_name = QtGui.QLineEdit(self.metadataGroupBox)
        self.task_name.setMinimumSize(QtCore.QSize(0, 30))
        self.task_name.setMaxLength(160)
        self.task_name.setObjectName(_fromUtf8("task_name"))
        self.verticalLayout.addWidget(self.task_name)
        self.label_2 = QtGui.QLabel(self.metadataGroupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.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.addWidget(self.task_notes)
        self.verticalLayout_4.addWidget(self.metadataGroupBox)
        self.TabBox.addTab(self.IndicatorsTab, _fromUtf8(""))
        self.TrajectoryTab = QtGui.QWidget()
        self.TrajectoryTab.setObjectName(_fromUtf8("TrajectoryTab"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.TrajectoryTab)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_4 = QtGui.QGroupBox(self.TrajectoryTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.traj_indic = QtGui.QComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.traj_indic.sizePolicy().hasHeightForWidth())
        self.traj_indic.setSizePolicy(sizePolicy)
        self.traj_indic.setMinimumSize(QtCore.QSize(0, 30))
        self.traj_indic.setObjectName(_fromUtf8("traj_indic"))
        self.verticalLayout_6.addWidget(self.traj_indic)
        self.verticalLayout_5.addWidget(self.groupBox_4)
        self.groupBox_3 = QtGui.QGroupBox(self.TrajectoryTab)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.traj_year_start = QtGui.QDateEdit(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.traj_year_start.sizePolicy().hasHeightForWidth())
        self.traj_year_start.setSizePolicy(sizePolicy)
        self.traj_year_start.setMinimumSize(QtCore.QSize(0, 30))
        self.traj_year_start.setMaximumSize(QtCore.QSize(120, 35))
        self.traj_year_start.setDate(QtCore.QDate(2000, 1, 1))
        self.traj_year_start.setMaximumDate(QtCore.QDate(2030, 12, 31))
        self.traj_year_start.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.traj_year_start.setObjectName(_fromUtf8("traj_year_start"))
        self.gridLayout_5.addWidget(self.traj_year_start, 1, 0, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_5.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_5.addWidget(self.label_6, 0, 1, 1, 1)
        self.traj_year_end = QtGui.QDateEdit(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.traj_year_end.sizePolicy().hasHeightForWidth())
        self.traj_year_end.setSizePolicy(sizePolicy)
        self.traj_year_end.setMinimumSize(QtCore.QSize(0, 30))
        self.traj_year_end.setMaximumSize(QtCore.QSize(120, 35))
        self.traj_year_end.setDate(QtCore.QDate(2015, 12, 31))
        self.traj_year_end.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2030, 12, 31), QtCore.QTime(23, 59, 59)))
        self.traj_year_end.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.traj_year_end.setObjectName(_fromUtf8("traj_year_end"))
        self.gridLayout_5.addWidget(self.traj_year_end, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.groupBox_3)
        self.groupBox_5 = QtGui.QGroupBox(self.TrajectoryTab)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.traj_climate = QtGui.QComboBox(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.traj_climate.sizePolicy().hasHeightForWidth())
        self.traj_climate.setSizePolicy(sizePolicy)
        self.traj_climate.setMinimumSize(QtCore.QSize(0, 30))
        self.traj_climate.setObjectName(_fromUtf8("traj_climate"))
        self.verticalLayout_8.addWidget(self.traj_climate)
        self.verticalLayout_5.addWidget(self.groupBox_5)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.TabBox.addTab(self.TrajectoryTab, _fromUtf8(""))
        self.PerformanceTab = QtGui.QWidget()
        self.PerformanceTab.setObjectName(_fromUtf8("PerformanceTab"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.PerformanceTab)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox_9 = QtGui.QGroupBox(self.PerformanceTab)
        self.groupBox_9.setObjectName(_fromUtf8("groupBox_9"))
        self.gridLayout_8 = QtGui.QGridLayout(self.groupBox_9)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.perf_year_start = QtGui.QDateEdit(self.groupBox_9)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.perf_year_start.sizePolicy().hasHeightForWidth())
        self.perf_year_start.setSizePolicy(sizePolicy)
        self.perf_year_start.setMinimumSize(QtCore.QSize(0, 30))
        self.perf_year_start.setMaximumSize(QtCore.QSize(120, 35))
        self.perf_year_start.setDate(QtCore.QDate(2000, 1, 1))
        self.perf_year_start.setMaximumDate(QtCore.QDate(2030, 12, 31))
        self.perf_year_start.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.perf_year_start.setObjectName(_fromUtf8("perf_year_start"))
        self.gridLayout_8.addWidget(self.perf_year_start, 1, 0, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_9)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_8.addWidget(self.label_10, 0, 0, 1, 1)
        self.label_14 = QtGui.QLabel(self.groupBox_9)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_14.setFont(font)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_8.addWidget(self.label_14, 0, 1, 1, 1)
        self.perf_year_end = QtGui.QDateEdit(self.groupBox_9)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.perf_year_end.sizePolicy().hasHeightForWidth())
        self.perf_year_end.setSizePolicy(sizePolicy)
        self.perf_year_end.setMinimumSize(QtCore.QSize(0, 30))
        self.perf_year_end.setMaximumSize(QtCore.QSize(120, 35))
        self.perf_year_end.setDate(QtCore.QDate(2015, 12, 31))
        self.perf_year_end.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2030, 12, 31), QtCore.QTime(23, 59, 59)))
        self.perf_year_end.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.perf_year_end.setObjectName(_fromUtf8("perf_year_end"))
        self.gridLayout_8.addWidget(self.perf_year_end, 1, 1, 1, 1)
        self.verticalLayout_7.addWidget(self.groupBox_9)
        spacerItem1 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem1)
        self.TabBox.addTab(self.PerformanceTab, _fromUtf8(""))
        self.StateTab = QtGui.QWidget()
        self.StateTab.setObjectName(_fromUtf8("StateTab"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.StateTab)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.groupBox_8 = QtGui.QGroupBox(self.StateTab)
        self.groupBox_8.setObjectName(_fromUtf8("groupBox_8"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_8)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.state_year_bl_start = QtGui.QDateEdit(self.groupBox_8)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state_year_bl_start.sizePolicy().hasHeightForWidth())
        self.state_year_bl_start.setSizePolicy(sizePolicy)
        self.state_year_bl_start.setMinimumSize(QtCore.QSize(0, 30))
        self.state_year_bl_start.setMaximumSize(QtCore.QSize(120, 35))
        self.state_year_bl_start.setMaximumDate(QtCore.QDate(2030, 12, 31))
        self.state_year_bl_start.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.state_year_bl_start.setObjectName(_fromUtf8("state_year_bl_start"))
        self.gridLayout_3.addWidget(self.state_year_bl_start, 1, 0, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox_8)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_8.setFont(font)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 1)
        self.state_year_bl_end = QtGui.QDateEdit(self.groupBox_8)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state_year_bl_end.sizePolicy().hasHeightForWidth())
        self.state_year_bl_end.setSizePolicy(sizePolicy)
        self.state_year_bl_end.setMinimumSize(QtCore.QSize(0, 30))
        self.state_year_bl_end.setMaximumSize(QtCore.QSize(120, 35))
        self.state_year_bl_end.setDate(QtCore.QDate(2012, 12, 31))
        self.state_year_bl_end.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2030, 12, 31), QtCore.QTime(23, 59, 59)))
        self.state_year_bl_end.setMinimumDateTime(QtCore.QDateTime(QtCore.QDate(1980, 1, 1), QtCore.QTime(0, 0, 0)))
        self.state_year_bl_end.setObjectName(_fromUtf8("state_year_bl_end"))
        self.gridLayout_3.addWidget(self.state_year_bl_end, 1, 1, 1, 1)
        self.label_12 = QtGui.QLabel(self.groupBox_8)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_12.setFont(font)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_3.addWidget(self.label_12, 0, 1, 1, 1)
        self.verticalLayout_9.addWidget(self.groupBox_8)
        self.groupBox_6 = QtGui.QGroupBox(self.StateTab)
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_6)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_16 = QtGui.QLabel(self.groupBox_6)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_16.setFont(font)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.gridLayout_4.addWidget(self.label_16, 3, 1, 1, 1)
        self.state_year_tg_start = QtGui.QDateEdit(self.groupBox_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state_year_tg_start.sizePolicy().hasHeightForWidth())
        self.state_year_tg_start.setSizePolicy(sizePolicy)
        self.state_year_tg_start.setMinimumSize(QtCore.QSize(0, 30))
        self.state_year_tg_start.setMaximumSize(QtCore.QSize(120, 35))
        self.state_year_tg_start.setDate(QtCore.QDate(2013, 1, 1))
        self.state_year_tg_start.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2015, 12, 31), QtCore.QTime(23, 59, 59)))
        self.state_year_tg_start.setMinimumDateTime(QtCore.QDateTime(QtCore.QDate(2011, 1, 1), QtCore.QTime(0, 0, 0)))
        self.state_year_tg_start.setMaximumDate(QtCore.QDate(2015, 12, 31))
        self.state_year_tg_start.setMinimumDate(QtCore.QDate(2011, 1, 1))
        self.state_year_tg_start.setObjectName(_fromUtf8("state_year_tg_start"))
        self.gridLayout_4.addWidget(self.state_year_tg_start, 4, 0, 1, 1)
        self.state_year_tg_end = QtGui.QDateEdit(self.groupBox_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.state_year_tg_end.sizePolicy().hasHeightForWidth())
        self.state_year_tg_end.setSizePolicy(sizePolicy)
        self.state_year_tg_end.setMinimumSize(QtCore.QSize(0, 30))
        self.state_year_tg_end.setMaximumSize(QtCore.QSize(120, 35))
        self.state_year_tg_end.setDate(QtCore.QDate(2015, 12, 31))
        self.state_year_tg_end.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(2030, 12, 31), QtCore.QTime(23, 59, 59)))
        self.state_year_tg_end.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.state_year_tg_end.setObjectName(_fromUtf8("state_year_tg_end"))
        self.gridLayout_4.addWidget(self.state_year_tg_end, 4, 1, 1, 1)
        self.label_15 = QtGui.QLabel(self.groupBox_6)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_15.setFont(font)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.gridLayout_4.addWidget(self.label_15, 3, 0, 1, 1)
        self.verticalLayout_9.addWidget(self.groupBox_6)
        spacerItem2 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_9.addItem(spacerItem2)
        self.TabBox.addTab(self.StateTab, _fromUtf8(""))
        self.AreaTab = QtGui.QWidget()
        self.AreaTab.setObjectName(_fromUtf8("AreaTab"))
        self.verticalLayout_10 = QtGui.QVBoxLayout(self.AreaTab)
        self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10"))
        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.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.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)
        spacerItem3 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem3, 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(0, 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_10.addWidget(self.groupBox_7)
        spacerItem4 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_10.addItem(spacerItem4)
        self.TabBox.addTab(self.AreaTab, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.TabBox)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.button_next = QtGui.QPushButton(DlgCalculateProd)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCalculateProd)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgCalculateProd)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout.addWidget(self.button_prev, 0, 0, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)

        self.retranslateUi(DlgCalculateProd)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCalculateProd)
        DlgCalculateProd.setTabOrder(self.TabBox, self.indic_select_traj)
        DlgCalculateProd.setTabOrder(self.indic_select_traj, self.indic_select_perf)
        DlgCalculateProd.setTabOrder(self.indic_select_perf, self.indic_select_state)
        DlgCalculateProd.setTabOrder(self.indic_select_state, self.dataset_ndvi)
        DlgCalculateProd.setTabOrder(self.dataset_ndvi, self.task_name)
        DlgCalculateProd.setTabOrder(self.task_name, self.task_notes)
        DlgCalculateProd.setTabOrder(self.task_notes, self.button_prev)
        DlgCalculateProd.setTabOrder(self.button_prev, self.button_next)
        DlgCalculateProd.setTabOrder(self.button_next, self.button_calculate)
        DlgCalculateProd.setTabOrder(self.button_calculate, self.traj_indic)
        DlgCalculateProd.setTabOrder(self.traj_indic, self.traj_climate)
        DlgCalculateProd.setTabOrder(self.traj_climate, self.area_admin)
        DlgCalculateProd.setTabOrder(self.area_admin, self.area_fromfile)
        DlgCalculateProd.setTabOrder(self.area_fromfile, self.area_admin_0)
        DlgCalculateProd.setTabOrder(self.area_admin_0, self.area_admin_1)

    def retranslateUi(self, DlgCalculateProd):
        DlgCalculateProd.setWindowTitle(_translate("DlgCalculateProd", "Calculate Productivity", None))
        self.groupBox_2.setTitle(_translate("DlgCalculateProd", "Indicators to calculate", None))
        self.indic_select_traj.setText(_translate("DlgCalculateProd", "Trajectory", None))
        self.label_26.setText(_translate("DlgCalculateProd", "Trajectory is related to rate of change of  productivity over time", None))
        self.indic_select_perf.setText(_translate("DlgCalculateProd", "Performance", None))
        self.label_27.setText(_translate("DlgCalculateProd", "Performance is a comparison of how productivity in an area compares to productivity in similar areas at the same point in time.", None))
        self.indic_select_state.setText(_translate("DlgCalculateProd", "State", None))
        self.label_28.setText(_translate("DlgCalculateProd", "State is a comparison of how current productivity in an area compares to past productivity in that area.", None))
        self.groupBox.setTitle(_translate("DlgCalculateProd", "NDVI dataset", None))
        self.metadataGroupBox.setTitle(_translate("DlgCalculateProd", "Metadata", None))
        self.label.setText(_translate("DlgCalculateProd", "Task name:", None))
        self.label_2.setText(_translate("DlgCalculateProd", "Notes:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.IndicatorsTab), _translate("DlgCalculateProd", "Indicators", None))
        self.groupBox_4.setTitle(_translate("DlgCalculateProd", "Trajectory indicator", None))
        self.groupBox_3.setTitle(_translate("DlgCalculateProd", "Baseline period", None))
        self.traj_year_start.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.label_7.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.label_6.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.traj_year_end.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.groupBox_5.setTitle(_translate("DlgCalculateProd", "Climate dataset", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.TrajectoryTab), _translate("DlgCalculateProd", "Trajectory", None))
        self.groupBox_9.setTitle(_translate("DlgCalculateProd", "Baseline period", None))
        self.perf_year_start.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.label_10.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.label_14.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.perf_year_end.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.PerformanceTab), _translate("DlgCalculateProd", "Performance", None))
        self.groupBox_8.setTitle(_translate("DlgCalculateProd", "Baseline period", None))
        self.state_year_bl_start.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.label_8.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.state_year_bl_end.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.label_12.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.groupBox_6.setTitle(_translate("DlgCalculateProd", "Comparison period", None))
        self.label_16.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.state_year_tg_start.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.state_year_tg_end.setDisplayFormat(_translate("DlgCalculateProd", "yyyy", None))
        self.label_15.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.StateTab), _translate("DlgCalculateProd", "State", None))
        self.groupBox_7.setTitle(_translate("DlgCalculateProd", "Area to run calculations for", None))
        self.label_4.setText(_translate("DlgCalculateProd", "Second level:", None))
        self.label_3.setText(_translate("DlgCalculateProd", "First level:", None))
        self.area_fromfile_browse.setText(_translate("DlgCalculateProd", "Browse", None))
        self.area_fromfile_file.setPlaceholderText(_translate("DlgCalculateProd", "Choose a file...", None))
        self.area_fromfile.setText(_translate("DlgCalculateProd", "Area from file", None))
        self.area_admin.setText(_translate("DlgCalculateProd", "Administrative area", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.AreaTab), _translate("DlgCalculateProd", "Area", None))
        self.button_next.setText(_translate("DlgCalculateProd", "Next", None))
        self.button_calculate.setText(_translate("DlgCalculateProd", "Calculate", None))
        self.button_prev.setText(_translate("DlgCalculateProd", "Previous", None))

