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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateProd.ui'
#
# Created: Sun Jan 27 18:18:41 2019
#      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_DlgCalculateProd(object):
    def setupUi(self, DlgCalculateProd):
        DlgCalculateProd.setObjectName(_fromUtf8("DlgCalculateProd"))
        DlgCalculateProd.resize(1014, 1219)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        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.setMaximumSize(QtCore.QSize(16777215, 16777215))
        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_lpd_mode = QtGui.QGroupBox(self.IndicatorsTab)
        self.groupBox_lpd_mode.setObjectName(_fromUtf8("groupBox_lpd_mode"))
        self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_lpd_mode)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.mode_lpd_jrc = QtGui.QRadioButton(self.groupBox_lpd_mode)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mode_lpd_jrc.sizePolicy().hasHeightForWidth())
        self.mode_lpd_jrc.setSizePolicy(sizePolicy)
        self.mode_lpd_jrc.setText(_fromUtf8(""))
        self.mode_lpd_jrc.setChecked(False)
        self.mode_lpd_jrc.setObjectName(_fromUtf8("mode_lpd_jrc"))
        self.gridLayout_6.addWidget(self.mode_lpd_jrc, 1, 0, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_lpd_mode)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_6.addWidget(self.label, 1, 1, 1, 1)
        self.groupBox_ndvi_dataset = QtGui.QGroupBox(self.groupBox_lpd_mode)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_ndvi_dataset.sizePolicy().hasHeightForWidth())
        self.groupBox_ndvi_dataset.setSizePolicy(sizePolicy)
        self.groupBox_ndvi_dataset.setMaximumSize(QtCore.QSize(16777215, 80))
        self.groupBox_ndvi_dataset.setFlat(True)
        self.groupBox_ndvi_dataset.setObjectName(_fromUtf8("groupBox_ndvi_dataset"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_ndvi_dataset)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.dataset_ndvi = QtGui.QComboBox(self.groupBox_ndvi_dataset)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        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, 40))
        self.dataset_ndvi.setObjectName(_fromUtf8("dataset_ndvi"))
        self.verticalLayout_3.addWidget(self.dataset_ndvi)
        self.gridLayout_6.addWidget(self.groupBox_ndvi_dataset, 6, 0, 1, 2)
        self.mode_te_prod = QtGui.QRadioButton(self.groupBox_lpd_mode)
        self.mode_te_prod.setChecked(True)
        self.mode_te_prod.setObjectName(_fromUtf8("mode_te_prod"))
        self.gridLayout_6.addWidget(self.mode_te_prod, 0, 0, 1, 2)
        self.verticalLayout_4.addWidget(self.groupBox_lpd_mode)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.TabBox.addTab(self.IndicatorsTab, _fromUtf8(""))
        self.AdvancedTab = QtGui.QWidget()
        self.AdvancedTab.setObjectName(_fromUtf8("AdvancedTab"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.AdvancedTab)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox_traj = QtGui.QGroupBox(self.AdvancedTab)
        self.groupBox_traj.setCheckable(True)
        self.groupBox_traj.setChecked(True)
        self.groupBox_traj.setObjectName(_fromUtf8("groupBox_traj"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_traj)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_4 = QtGui.QGroupBox(self.groupBox_traj)
        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.setFlat(True)
        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.Minimum)
        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, 40))
        self.traj_indic.setObjectName(_fromUtf8("traj_indic"))
        self.verticalLayout_6.addWidget(self.traj_indic)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox_traj_period = QtGui.QGroupBox(self.groupBox_traj)
        self.groupBox_traj_period.setFlat(True)
        self.groupBox_traj_period.setObjectName(_fromUtf8("groupBox_traj_period"))
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_traj_period)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.traj_year_start = QtGui.QDateEdit(self.groupBox_traj_period)
        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, 40))
        self.traj_year_start.setMaximumSize(QtCore.QSize(120, 35))
        self.traj_year_start.setDate(QtCore.QDate(2001, 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.setDisplayFormat(_fromUtf8("yyyy"))
        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_traj_period)
        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_traj_period)
        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_traj_period)
        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, 40))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        self.traj_year_end.setObjectName(_fromUtf8("traj_year_end"))
        self.gridLayout_5.addWidget(self.traj_year_end, 1, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_traj_period)
        self.groupBox_traj_climate = QtGui.QGroupBox(self.groupBox_traj)
        self.groupBox_traj_climate.setFlat(True)
        self.groupBox_traj_climate.setObjectName(_fromUtf8("groupBox_traj_climate"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox_traj_climate)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.traj_climate = QtGui.QComboBox(self.groupBox_traj_climate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        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, 40))
        self.traj_climate.setObjectName(_fromUtf8("traj_climate"))
        self.verticalLayout_8.addWidget(self.traj_climate)
        self.verticalLayout.addWidget(self.groupBox_traj_climate)
        self.verticalLayout_7.addWidget(self.groupBox_traj)
        self.groupBox_perf = QtGui.QGroupBox(self.AdvancedTab)
        self.groupBox_perf.setCheckable(True)
        self.groupBox_perf.setObjectName(_fromUtf8("groupBox_perf"))
        self.gridLayout_8 = QtGui.QGridLayout(self.groupBox_perf)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.perf_year_start = QtGui.QDateEdit(self.groupBox_perf)
        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, 40))
        self.perf_year_start.setMaximumSize(QtCore.QSize(120, 35))
        self.perf_year_start.setDate(QtCore.QDate(2001, 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.setDisplayFormat(_fromUtf8("yyyy"))
        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_perf)
        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_perf)
        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_perf)
        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, 40))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        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_perf)
        self.groupBox_state = QtGui.QGroupBox(self.AdvancedTab)
        self.groupBox_state.setCheckable(True)
        self.groupBox_state.setObjectName(_fromUtf8("groupBox_state"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_state)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_state_baseline = QtGui.QGroupBox(self.groupBox_state)
        self.groupBox_state_baseline.setFlat(True)
        self.groupBox_state_baseline.setObjectName(_fromUtf8("groupBox_state_baseline"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_state_baseline)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.state_year_bl_start = QtGui.QDateEdit(self.groupBox_state_baseline)
        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, 40))
        self.state_year_bl_start.setMaximumSize(QtCore.QSize(120, 35))
        self.state_year_bl_start.setDate(QtCore.QDate(2001, 1, 1))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        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_state_baseline)
        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_state_baseline)
        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, 40))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        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_state_baseline)
        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_5.addWidget(self.groupBox_state_baseline)
        self.groupBox_state_comparison = QtGui.QGroupBox(self.groupBox_state)
        self.groupBox_state_comparison.setFlat(True)
        self.groupBox_state_comparison.setObjectName(_fromUtf8("groupBox_state_comparison"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_state_comparison)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_16 = QtGui.QLabel(self.groupBox_state_comparison)
        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_state_comparison)
        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, 40))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        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_state_comparison)
        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, 40))
        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.setDisplayFormat(_fromUtf8("yyyy"))
        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_state_comparison)
        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_5.addWidget(self.groupBox_state_comparison)
        self.verticalLayout_7.addWidget(self.groupBox_state)
        spacerItem1 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem1)
        self.TabBox.addTab(self.AdvancedTab, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.TabBox)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.button_next = QtGui.QPushButton(DlgCalculateProd)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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, 40))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCalculateProd)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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, 40))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.button_prev = QtGui.QPushButton(DlgCalculateProd)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.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, 40))
        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.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)

    def retranslateUi(self, DlgCalculateProd):
        DlgCalculateProd.setWindowTitle(_translate("DlgCalculateProd", "Calculate Productivity", None))
        self.groupBox_lpd_mode.setTitle(_translate("DlgCalculateProd", "Indicators to calculate", None))
        self.label.setText(_translate("DlgCalculateProd", "UNCCD default data (Land Productivity Dynamics (LPD) from Joint Research Commission)", None))
        self.groupBox_ndvi_dataset.setTitle(_translate("DlgCalculateProd", "NDVI dataset", None))
        self.mode_te_prod.setText(_translate("DlgCalculateProd", "Trends.Earth land productivity", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.IndicatorsTab), _translate("DlgCalculateProd", "Indicators", None))
        self.groupBox_traj.setTitle(_translate("DlgCalculateProd", "Trajectory (related to rate of change of  productivity over time)", None))
        self.groupBox_4.setTitle(_translate("DlgCalculateProd", "Trajectory indicator", None))
        self.groupBox_traj_period.setTitle(_translate("DlgCalculateProd", "Period", None))
        self.label_7.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.label_6.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.groupBox_traj_climate.setTitle(_translate("DlgCalculateProd", "Climate dataset", None))
        self.groupBox_perf.setTitle(_translate("DlgCalculateProd", "Performance (a measure of how productivity in an area compares to that of similar areas)", None))
        self.label_10.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.label_14.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.groupBox_state.setTitle(_translate("DlgCalculateProd", "State (compares current productivity in an area to past productivity in the same area)", None))
        self.groupBox_state_baseline.setTitle(_translate("DlgCalculateProd", "Initial period", None))
        self.label_8.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.label_12.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.groupBox_state_comparison.setTitle(_translate("DlgCalculateProd", "Comparison period", None))
        self.label_16.setText(_translate("DlgCalculateProd", "Ending year:", None))
        self.label_15.setText(_translate("DlgCalculateProd", "Starting year:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.AdvancedTab), _translate("DlgCalculateProd", "Advanced", 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))


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

