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

# Form implementation generated from reading ui file 'LDMP/gui\DlgTimeseries.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_DlgTimeseries(object):
    def setupUi(self, DlgTimeseries):
        DlgTimeseries.setObjectName(_fromUtf8("DlgTimeseries"))
        DlgTimeseries.resize(550, 562)
        self.verticalLayout_2 = QtGui.QVBoxLayout(DlgTimeseries)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.TabBox = QtGui.QTabWidget(DlgTimeseries)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.DatasetTab = QtGui.QWidget()
        self.DatasetTab.setObjectName(_fromUtf8("DatasetTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.DatasetTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupBox = QtGui.QGroupBox(self.DatasetTab)
        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.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(275, 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.DatasetTab)
        self.metadataGroupBox.setObjectName(_fromUtf8("metadataGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.metadataGroupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.task_name = QtGui.QLineEdit(self.metadataGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.task_name.sizePolicy().hasHeightForWidth())
        self.task_name.setSizePolicy(sizePolicy)
        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.verticalLayout_4.addWidget(self.metadataGroupBox)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.TabBox.addTab(self.DatasetTab, _fromUtf8(""))
        self.IndicatorTab = QtGui.QWidget()
        self.IndicatorTab.setObjectName(_fromUtf8("IndicatorTab"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.IndicatorTab)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_4 = QtGui.QGroupBox(self.IndicatorTab)
        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.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(275, 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.IndicatorTab)
        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.IndicatorTab)
        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.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(275, 30))
        self.traj_climate.setObjectName(_fromUtf8("traj_climate"))
        self.verticalLayout_8.addWidget(self.traj_climate)
        self.verticalLayout_5.addWidget(self.groupBox_5)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.TabBox.addTab(self.IndicatorTab, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.TabBox)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.button_next = QtGui.QPushButton(DlgTimeseries)
        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, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_prev = QtGui.QPushButton(DlgTimeseries)
        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, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout.addWidget(self.button_prev, 0, 0, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgTimeseries)
        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, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.verticalLayout_2.addLayout(self.gridLayout)

        self.retranslateUi(DlgTimeseries)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgTimeseries)

    def retranslateUi(self, DlgTimeseries):
        DlgTimeseries.setWindowTitle(_translate("DlgTimeseries", "Plot time series", None))
        self.groupBox.setTitle(_translate("DlgTimeseries", "Time series dataset", None))
        self.metadataGroupBox.setTitle(_translate("DlgTimeseries", "Plot title", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.DatasetTab), _translate("DlgTimeseries", "Dataset", None))
        self.groupBox_4.setTitle(_translate("DlgTimeseries", "Trajectory indicator", None))
        self.groupBox_3.setTitle(_translate("DlgTimeseries", "Baseline period", None))
        self.traj_year_start.setDisplayFormat(_translate("DlgTimeseries", "yyyy", None))
        self.label_7.setText(_translate("DlgTimeseries", "Starting year:", None))
        self.label_6.setText(_translate("DlgTimeseries", "Ending year:", None))
        self.traj_year_end.setDisplayFormat(_translate("DlgTimeseries", "yyyy", None))
        self.groupBox_5.setTitle(_translate("DlgTimeseries", "Climate dataset", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.IndicatorTab), _translate("DlgTimeseries", "Indicator", None))
        self.button_next.setText(_translate("DlgTimeseries", "Next", None))
        self.button_prev.setText(_translate("DlgTimeseries", "Previous", None))
        self.button_calculate.setText(_translate("DlgTimeseries", "Calculate", None))


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

