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

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# 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(733, 788)
        self.centralWidget = QtWidgets.QWidget(MainWindow)
        self.centralWidget.setObjectName("centralWidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralWidget)
        self.gridLayout_2.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.learning_rate_label = QtWidgets.QLabel(self.centralWidget)
        self.learning_rate_label.setObjectName("learning_rate_label")
        self.gridLayout_2.addWidget(self.learning_rate_label, 2, 0, 1, 1)
        self.statusDisplay = QtWidgets.QTextEdit(self.centralWidget)
        self.statusDisplay.setObjectName("statusDisplay")
        self.gridLayout_2.addWidget(self.statusDisplay, 0, 0, 1, 2)
        self.epochs_input = QtWidgets.QLineEdit(self.centralWidget)
        self.epochs_input.setObjectName("epochs_input")
        self.gridLayout_2.addWidget(self.epochs_input, 3, 1, 1, 1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setContentsMargins(11, 11, 10, 11)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.fpga_box = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.fpga_box.setFont(font)
        self.fpga_box.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.fpga_box.setStyleSheet("QGroupBox {\n"
"    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #E0E0E0, stop: 1 #FFFFFF);\n"
"    border: 2px solid gray;\n"
"    border-radius: 1px;\n"
"    margin-top: 1px\n"
"}\n"
"\n"
"QGroupBox::title{\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top center;\n"
"    padding: 0 3px;\n"
"/*    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #FF0ECE, stop: 1 #FFFFFF); */\n"
"    \n"
"}")
        self.fpga_box.setFlat(False)
        self.fpga_box.setCheckable(False)
        self.fpga_box.setObjectName("fpga_box")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.fpga_box)
        self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.program_button = QtWidgets.QPushButton(self.fpga_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.program_button.setFont(font)
        self.program_button.setObjectName("program_button")
        self.verticalLayout_3.addWidget(self.program_button)
        self.generate_button = QtWidgets.QPushButton(self.fpga_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.generate_button.setFont(font)
        self.generate_button.setObjectName("generate_button")
        self.verticalLayout_3.addWidget(self.generate_button)
        self.upload_button = QtWidgets.QPushButton(self.fpga_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.upload_button.setFont(font)
        self.upload_button.setObjectName("upload_button")
        self.verticalLayout_3.addWidget(self.upload_button)
        self.classify_button = QtWidgets.QPushButton(self.fpga_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.classify_button.setFont(font)
        self.classify_button.setObjectName("classify_button")
        self.verticalLayout_3.addWidget(self.classify_button)
        self.gridLayout.addWidget(self.fpga_box, 4, 0, 1, 1)
        self.network_box = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.network_box.setFont(font)
        self.network_box.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.network_box.setAutoFillBackground(False)
        self.network_box.setStyleSheet("QGroupBox {\n"
"    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #E0E0E0, stop: 1 #FFFFFF);\n"
"    border: 2px solid gray;\n"
"    border-radius: 1px;\n"
"    margin-top: 1px\n"
"}\n"
"\n"
"QGroupBox::title{\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top center;\n"
"    padding: 0 3px;\n"
"/*    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #5a6aff stop: 1 #FFFFFF); */\n"
"    \n"
"}")
        self.network_box.setObjectName("network_box")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.network_box)
        self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.development_radio_button = QtWidgets.QRadioButton(self.network_box)
        self.development_radio_button.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.development_radio_button.setObjectName("development_radio_button")
        self.verticalLayout_2.addWidget(self.development_radio_button)
        self.initialize_button = QtWidgets.QPushButton(self.network_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.initialize_button.setFont(font)
        self.initialize_button.setObjectName("initialize_button")
        self.verticalLayout_2.addWidget(self.initialize_button)
        self.train_button = QtWidgets.QPushButton(self.network_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.train_button.setFont(font)
        self.train_button.setObjectName("train_button")
        self.verticalLayout_2.addWidget(self.train_button)
        self.test_button = QtWidgets.QPushButton(self.network_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.test_button.setFont(font)
        self.test_button.setObjectName("test_button")
        self.verticalLayout_2.addWidget(self.test_button)
        self.gridLayout.addWidget(self.network_box, 3, 0, 1, 1)
        self.save_button = QtWidgets.QPushButton(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.save_button.setFont(font)
        self.save_button.setObjectName("save_button")
        self.gridLayout.addWidget(self.save_button, 5, 0, 1, 1)
        self.input_box = QtWidgets.QGroupBox(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.input_box.setFont(font)
        self.input_box.setStyleSheet("QGroupBox {\n"
"    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #E0E0E0, stop: 1 #FFFFFF);\n"
"    border: 2px solid gray;\n"
"    border-radius: 1px;\n"
"    margin-top: 1px\n"
"}\n"
"\n"
"QGroupBox::title{\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top center;\n"
"    padding: 0 3px;\n"
"/*    background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                    stop: 0 #FF0ECE, stop: 1 #FFFFFF); */\n"
"    \n"
"}")
        self.input_box.setObjectName("input_box")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.input_box)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.open_button = QtWidgets.QPushButton(self.input_box)
        self.open_button.setMinimumSize(QtCore.QSize(200, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.open_button.setFont(font)
        self.open_button.setObjectName("open_button")
        self.verticalLayout.addWidget(self.open_button)
        self.record_button = QtWidgets.QPushButton(self.input_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.record_button.setFont(font)
        self.record_button.setObjectName("record_button")
        self.verticalLayout.addWidget(self.record_button)
        self.playback_button = QtWidgets.QPushButton(self.input_box)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.playback_button.setFont(font)
        self.playback_button.setObjectName("playback_button")
        self.verticalLayout.addWidget(self.playback_button)
        self.gridLayout.addWidget(self.input_box, 2, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 3, 1, 1)
        self.threshold_label = QtWidgets.QLabel(self.centralWidget)
        self.threshold_label.setObjectName("threshold_label")
        self.gridLayout_2.addWidget(self.threshold_label, 2, 2, 1, 1)
        self.learning_rate_input = QtWidgets.QLineEdit(self.centralWidget)
        self.learning_rate_input.setMaximumSize(QtCore.QSize(1677777, 16777215))
        self.learning_rate_input.setObjectName("learning_rate_input")
        self.gridLayout_2.addWidget(self.learning_rate_input, 2, 1, 1, 1)
        self.epochs_label = QtWidgets.QLabel(self.centralWidget)
        self.epochs_label.setObjectName("epochs_label")
        self.gridLayout_2.addWidget(self.epochs_label, 3, 0, 1, 1)
        self.threshold_input = QtWidgets.QLineEdit(self.centralWidget)
        self.threshold_input.setObjectName("threshold_input")
        self.gridLayout_2.addWidget(self.threshold_input, 2, 3, 1, 1)
        self.groupBox_4 = QtWidgets.QGroupBox(self.centralWidget)
        self.groupBox_4.setMinimumSize(QtCore.QSize(0, 77))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_4.setFont(font)
        self.groupBox_4.setStyleSheet("QGroupBox::title{\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top center;\n"
"    padding: 0 5px;\n"
"}\n"
"\n"
"")
        self.groupBox_4.setObjectName("groupBox_4")
        self.performance_bar = QtWidgets.QProgressBar(self.groupBox_4)
        self.performance_bar.setGeometry(QtCore.QRect(200, 30, 481, 25))
        self.performance_bar.setProperty("value", 0)
        self.performance_bar.setObjectName("performance_bar")
        self.performance_box = QtWidgets.QLineEdit(self.groupBox_4)
        self.performance_box.setGeometry(QtCore.QRect(30, 20, 151, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.performance_box.setFont(font)
        self.performance_box.setStyleSheet("")
        self.performance_box.setText("")
        self.performance_box.setObjectName("performance_box")
        self.gridLayout_2.addWidget(self.groupBox_4, 1, 0, 1, 4)
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 733, 25))
        self.menuBar.setObjectName("menuBar")
        self.menuDeepGate = QtWidgets.QMenu(self.menuBar)
        self.menuDeepGate.setObjectName("menuDeepGate")
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtWidgets.QToolBar(MainWindow)
        self.mainToolBar.setObjectName("mainToolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)
        self.actionOpen = QtWidgets.QAction(MainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.menuBar.addAction(self.menuDeepGate.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "DeepGate"))
        self.learning_rate_label.setText(_translate("MainWindow", "Learning Rate"))
        self.fpga_box.setTitle(_translate("MainWindow", "FPGA"))
        self.program_button.setText(_translate("MainWindow", "Program FPGA"))
        self.generate_button.setText(_translate("MainWindow", "Generate Weight File"))
        self.upload_button.setText(_translate("MainWindow", "Upload Weight File"))
        self.classify_button.setText(_translate("MainWindow", "Classify"))
        self.network_box.setTitle(_translate("MainWindow", "Network"))
        self.development_radio_button.setText(_translate("MainWindow", "Development Mode"))
        self.initialize_button.setText(_translate("MainWindow", "Initialize Network"))
        self.train_button.setText(_translate("MainWindow", "Train Network"))
        self.test_button.setText(_translate("MainWindow", "Classify"))
        self.save_button.setText(_translate("MainWindow", "Save Status"))
        self.input_box.setTitle(_translate("MainWindow", "Input"))
        self.open_button.setText(_translate("MainWindow", "Open"))
        self.record_button.setText(_translate("MainWindow", "Record"))
        self.playback_button.setText(_translate("MainWindow", "Playback"))
        self.threshold_label.setText(_translate("MainWindow", "Threshold"))
        self.epochs_label.setText(_translate("MainWindow", "Epochs"))
        self.groupBox_4.setTitle(_translate("MainWindow", "Performance"))
        self.menuDeepGate.setTitle(_translate("MainWindow", "File"))
        self.actionOpen.setText(_translate("MainWindow", "Open"))

