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

# Form implementation generated from reading ui file 'LDMP/gui\DlgTimeseries.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_DlgTimeseries(object):
    def setupUi(self, DlgTimeseries):
        DlgTimeseries.setObjectName("DlgTimeseries")
        DlgTimeseries.resize(337, 404)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgTimeseries.sizePolicy().hasHeightForWidth())
        DlgTimeseries.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(DlgTimeseries)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.TabBox = QtWidgets.QTabWidget(DlgTimeseries)
        self.TabBox.setObjectName("TabBox")
        self.DatasetTab = QtWidgets.QWidget()
        self.DatasetTab.setObjectName("DatasetTab")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.DatasetTab)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox = QtWidgets.QGroupBox(self.DatasetTab)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.dataset_ndvi = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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("dataset_ndvi")
        self.verticalLayout_3.addWidget(self.dataset_ndvi)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.metadataGroupBox = QtWidgets.QGroupBox(self.DatasetTab)
        self.metadataGroupBox.setObjectName("metadataGroupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.metadataGroupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.task_name = QtWidgets.QLineEdit(self.metadataGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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(200, 30))
        self.task_name.setMaxLength(160)
        self.task_name.setObjectName("task_name")
        self.verticalLayout.addWidget(self.task_name)
        self.verticalLayout_4.addWidget(self.metadataGroupBox)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.TabBox.addTab(self.DatasetTab, "")
        self.IndicatorTab = QtWidgets.QWidget()
        self.IndicatorTab.setObjectName("IndicatorTab")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.IndicatorTab)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.groupBox_4 = QtWidgets.QGroupBox(self.IndicatorTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.traj_indic = QtWidgets.QComboBox(self.groupBox_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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("traj_indic")
        self.verticalLayout_6.addWidget(self.traj_indic)
        self.verticalLayout_5.addWidget(self.groupBox_4)
        self.groupBox_3 = QtWidgets.QGroupBox(self.IndicatorTab)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.traj_year_start = QtWidgets.QDateEdit(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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.setMaximumDate(QtCore.QDate(2030, 12, 31))
        self.traj_year_start.setMinimumDate(QtCore.QDate(1980, 1, 1))
        self.traj_year_start.setDate(QtCore.QDate(2000, 1, 1))
        self.traj_year_start.setObjectName("traj_year_start")
        self.gridLayout_5.addWidget(self.traj_year_start, 1, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.gridLayout_5.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.gridLayout_5.addWidget(self.label_6, 0, 1, 1, 1)
        self.traj_year_end = QtWidgets.QDateEdit(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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.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.setDate(QtCore.QDate(2015, 12, 31))
        self.traj_year_end.setObjectName("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 = QtWidgets.QGroupBox(self.IndicatorTab)
        self.groupBox_5.setObjectName("groupBox_5")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.traj_climate = QtWidgets.QComboBox(self.groupBox_5)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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("traj_climate")
        self.verticalLayout_8.addWidget(self.traj_climate)
        self.verticalLayout_5.addWidget(self.groupBox_5)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.TabBox.addTab(self.IndicatorTab, "")
        self.verticalLayout_2.addWidget(self.TabBox)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.button_next = QtWidgets.QPushButton(DlgTimeseries)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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("button_next")
        self.gridLayout.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_prev = QtWidgets.QPushButton(DlgTimeseries)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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("button_prev")
        self.gridLayout.addWidget(self.button_prev, 0, 0, 1, 1)
        self.button_calculate = QtWidgets.QPushButton(DlgTimeseries)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.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("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):
        _translate = QtCore.QCoreApplication.translate
        DlgTimeseries.setWindowTitle(_translate("DlgTimeseries", "Plot time series"))
        self.groupBox.setTitle(_translate("DlgTimeseries", "Time series dataset"))
        self.metadataGroupBox.setTitle(_translate("DlgTimeseries", "Plot title"))
        self.TabBox.setTabText(self.TabBox.indexOf(self.DatasetTab), _translate("DlgTimeseries", "Dataset"))
        self.groupBox_4.setTitle(_translate("DlgTimeseries", "Trajectory indicator"))
        self.groupBox_3.setTitle(_translate("DlgTimeseries", "Baseline period"))
        self.traj_year_start.setDisplayFormat(_translate("DlgTimeseries", "yyyy"))
        self.label_7.setText(_translate("DlgTimeseries", "Starting year:"))
        self.label_6.setText(_translate("DlgTimeseries", "Ending year:"))
        self.traj_year_end.setDisplayFormat(_translate("DlgTimeseries", "yyyy"))
        self.groupBox_5.setTitle(_translate("DlgTimeseries", "Climate dataset"))
        self.TabBox.setTabText(self.TabBox.indexOf(self.IndicatorTab), _translate("DlgTimeseries", "Indicator"))
        self.button_next.setText(_translate("DlgTimeseries", "Next"))
        self.button_prev.setText(_translate("DlgTimeseries", "Previous"))
        self.button_calculate.setText(_translate("DlgTimeseries", "Calculate"))


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