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

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.11.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(426, 698)
        self.centralWidget = QtWidgets.QWidget(MainWindow)
        self.centralWidget.setObjectName("centralWidget")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralWidget)
        self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label = QtWidgets.QLabel(self.centralWidget)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.verticalLayout_2.addWidget(self.label)
        spacerItem = QtWidgets.QSpacerItem(0, 8, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        self.verticalLayout_2.addItem(spacerItem)
        self.groupBox = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox.setFont(font)
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.groupBox)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.tab)
        self.verticalLayout_6.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_6.setSpacing(6)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.winsize_comboBox = QtWidgets.QComboBox(self.tab)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.winsize_comboBox.setFont(font)
        self.winsize_comboBox.setObjectName("winsize_comboBox")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.winsize_comboBox.addItem("")
        self.gridLayout.addWidget(self.winsize_comboBox, 3, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.interp_comboBox = QtWidgets.QComboBox(self.tab)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.interp_comboBox.setFont(font)
        self.interp_comboBox.setObjectName("interp_comboBox")
        self.interp_comboBox.addItem("")
        self.interp_comboBox.addItem("")
        self.interp_comboBox.addItem("")
        self.gridLayout.addWidget(self.interp_comboBox, 2, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.train_pushButton = QtWidgets.QPushButton(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.train_pushButton.sizePolicy().hasHeightForWidth())
        self.train_pushButton.setSizePolicy(sizePolicy)
        self.train_pushButton.setObjectName("train_pushButton")
        self.gridLayout.addWidget(self.train_pushButton, 0, 0, 1, 1)
        self.test_pushButton = QtWidgets.QPushButton(self.tab)
        self.test_pushButton.setObjectName("test_pushButton")
        self.gridLayout.addWidget(self.test_pushButton, 1, 0, 1, 1)
        self.train_label = QtWidgets.QLabel(self.tab)
        self.train_label.setText("")
        self.train_label.setObjectName("train_label")
        self.gridLayout.addWidget(self.train_label, 0, 1, 1, 1)
        self.test_label = QtWidgets.QLabel(self.tab)
        self.test_label.setText("")
        self.test_label.setObjectName("test_label")
        self.gridLayout.addWidget(self.test_label, 1, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.tab_2)
        self.verticalLayout_7.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_7.setSpacing(6)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.cell_lineEdit = QtWidgets.QLineEdit(self.tab_2)
        self.cell_lineEdit.setObjectName("cell_lineEdit")
        self.gridLayout_2.addWidget(self.cell_lineEdit, 1, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.tab_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 1, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 2, 0, 1, 1)
        self.layer_lineEdit = QtWidgets.QLineEdit(self.tab_2)
        self.layer_lineEdit.setObjectName("layer_lineEdit")
        self.gridLayout_2.addWidget(self.layer_lineEdit, 2, 1, 1, 1)
        self.batch_lineEdit = QtWidgets.QLineEdit(self.tab_2)
        self.batch_lineEdit.setObjectName("batch_lineEdit")
        self.gridLayout_2.addWidget(self.batch_lineEdit, 0, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 3, 0, 1, 1)
        self.iter_lineEdit = QtWidgets.QLineEdit(self.tab_2)
        self.iter_lineEdit.setObjectName("iter_lineEdit")
        self.gridLayout_2.addWidget(self.iter_lineEdit, 3, 1, 1, 1)
        self.verticalLayout_7.addLayout(self.gridLayout_2)
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.tab_3)
        self.verticalLayout_8.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_8.setSpacing(6)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.gridLayout_3 = QtWidgets.QGridLayout()
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_8 = QtWidgets.QLabel(self.tab_3)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 1)
        self.real_comboBox = QtWidgets.QComboBox(self.tab_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.real_comboBox.setFont(font)
        self.real_comboBox.setObjectName("real_comboBox")
        self.real_comboBox.addItem("")
        self.real_comboBox.addItem("")
        self.real_comboBox.addItem("")
        self.real_comboBox.addItem("")
        self.gridLayout_3.addWidget(self.real_comboBox, 0, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.tab_3)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 1, 0, 1, 1)
        self.pre_comboBox = QtWidgets.QComboBox(self.tab_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pre_comboBox.setFont(font)
        self.pre_comboBox.setObjectName("pre_comboBox")
        self.pre_comboBox.addItem("")
        self.pre_comboBox.addItem("")
        self.pre_comboBox.addItem("")
        self.pre_comboBox.addItem("")
        self.gridLayout_3.addWidget(self.pre_comboBox, 1, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.tab_3)
        self.label_10.setObjectName("label_10")
        self.gridLayout_3.addWidget(self.label_10, 2, 0, 1, 1)
        self.markers_comboBox = QtWidgets.QComboBox(self.tab_3)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.markers_comboBox.setFont(font)
        self.markers_comboBox.setObjectName("markers_comboBox")
        self.markers_comboBox.addItem("")
        self.markers_comboBox.addItem("")
        self.gridLayout_3.addWidget(self.markers_comboBox, 2, 1, 1, 1)
        self.verticalLayout_8.addLayout(self.gridLayout_3)
        self.tabWidget.addTab(self.tab_3, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_5.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_5.setSpacing(6)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.textEdit = QtWidgets.QTextEdit(self.groupBox_2)
        self.textEdit.setReadOnly(True)
        self.textEdit.setObjectName("textEdit")
        self.verticalLayout_5.addWidget(self.textEdit)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_4.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_4.setSpacing(6)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.result_label = QtWidgets.QLabel(self.groupBox_3)
        self.result_label.setObjectName("result_label")
        self.verticalLayout_4.addWidget(self.result_label)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.progressBar = QtWidgets.QProgressBar(self.centralWidget)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.horizontalLayout.addWidget(self.progressBar)
        self.run_Pushbutton = QtWidgets.QPushButton(self.centralWidget)
        self.run_Pushbutton.setObjectName("run_Pushbutton")
        self.horizontalLayout.addWidget(self.run_Pushbutton)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        MainWindow.setCentralWidget(self.centralWidget)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(2)
        self.pre_comboBox.setCurrentIndex(2)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.label.setText(_translate("MainWindow", "DRNN for Short-Time Prediction of Glucose Concentration"))
        self.groupBox.setTitle(_translate("MainWindow", "Settings"))
        self.winsize_comboBox.setItemText(0, _translate("MainWindow", "3"))
        self.winsize_comboBox.setItemText(1, _translate("MainWindow", "5"))
        self.winsize_comboBox.setItemText(2, _translate("MainWindow", "7"))
        self.winsize_comboBox.setItemText(3, _translate("MainWindow", "9"))
        self.winsize_comboBox.setItemText(4, _translate("MainWindow", "11"))
        self.winsize_comboBox.setItemText(5, _translate("MainWindow", "13"))
        self.winsize_comboBox.setItemText(6, _translate("MainWindow", "15"))
        self.winsize_comboBox.setItemText(7, _translate("MainWindow", "17"))
        self.label_2.setText(_translate("MainWindow", "Interpolation Method:"))
        self.interp_comboBox.setItemText(0, _translate("MainWindow", "Linear"))
        self.interp_comboBox.setItemText(1, _translate("MainWindow", "Cubic"))
        self.interp_comboBox.setItemText(2, _translate("MainWindow", "Pchip"))
        self.label_3.setText(_translate("MainWindow", "Median Filter Window Size:"))
        self.train_pushButton.setText(_translate("MainWindow", "Train Data"))
        self.test_pushButton.setText(_translate("MainWindow", "Test Data"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Data Processing"))
        self.cell_lineEdit.setText(_translate("MainWindow", "32"))
        self.cell_lineEdit.setPlaceholderText(_translate("MainWindow", "10 - 256"))
        self.label_4.setText(_translate("MainWindow", "Batch Szie:"))
        self.label_5.setText(_translate("MainWindow", "Number of cells:"))
        self.label_6.setText(_translate("MainWindow", "Layers:"))
        self.layer_lineEdit.setText(_translate("MainWindow", "3"))
        self.layer_lineEdit.setPlaceholderText(_translate("MainWindow", "1 - 5"))
        self.batch_lineEdit.setText(_translate("MainWindow", "512"))
        self.batch_lineEdit.setPlaceholderText(_translate("MainWindow", "10 - 1024"))
        self.label_7.setText(_translate("MainWindow", "Iterations:"))
        self.iter_lineEdit.setText(_translate("MainWindow", "10000"))
        self.iter_lineEdit.setPlaceholderText(_translate("MainWindow", "1000 - 20000"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Model Parameters"))
        self.label_8.setText(_translate("MainWindow", "Color of Real Curve:"))
        self.real_comboBox.setItemText(0, _translate("MainWindow", "Red"))
        self.real_comboBox.setItemText(1, _translate("MainWindow", "Green"))
        self.real_comboBox.setItemText(2, _translate("MainWindow", "Blue"))
        self.real_comboBox.setItemText(3, _translate("MainWindow", "Yellow"))
        self.label_9.setText(_translate("MainWindow", "Color of Prediction Curve:"))
        self.pre_comboBox.setItemText(0, _translate("MainWindow", "Red"))
        self.pre_comboBox.setItemText(1, _translate("MainWindow", "Green"))
        self.pre_comboBox.setItemText(2, _translate("MainWindow", "Blue"))
        self.pre_comboBox.setItemText(3, _translate("MainWindow", "Yellow"))
        self.label_10.setText(_translate("MainWindow", "Markers:"))
        self.markers_comboBox.setItemText(0, _translate("MainWindow", "Yes"))
        self.markers_comboBox.setItemText(1, _translate("MainWindow", "No"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Figure Setting"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Progress"))
        self.groupBox_3.setTitle(_translate("MainWindow", "Result"))
        self.result_label.setText(_translate("MainWindow", "RMSE:"))
        self.run_Pushbutton.setText(_translate("MainWindow", "Run"))

