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

# Form implementation generated from reading ui file 'brickv/ui/mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(950, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tab_widget = QtWidgets.QTabWidget(self.centralwidget)
        self.tab_widget.setObjectName("tab_widget")
        self.tab_setup = QtWidgets.QWidget()
        self.tab_setup.setObjectName("tab_setup")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.tab_setup)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.checkbox_remember_secret = QtWidgets.QCheckBox(self.tab_setup)
        self.checkbox_remember_secret.setObjectName("checkbox_remember_secret")
        self.gridLayout.addWidget(self.checkbox_remember_secret, 7, 1, 1, 1)
        self.button_connect = QtWidgets.QPushButton(self.tab_setup)
        self.button_connect.setObjectName("button_connect")
        self.gridLayout.addWidget(self.button_connect, 0, 0, 1, 3)
        self.button_advanced = QtWidgets.QPushButton(self.tab_setup)
        self.button_advanced.setObjectName("button_advanced")
        self.gridLayout.addWidget(self.button_advanced, 14, 0, 1, 2)
        self.check_fusion_gui_style = QtWidgets.QCheckBox(self.tab_setup)
        self.check_fusion_gui_style.setObjectName("check_fusion_gui_style")
        self.gridLayout.addWidget(self.check_fusion_gui_style, 11, 0, 1, 2)
        self.button_flashing = QtWidgets.QPushButton(self.tab_setup)
        self.button_flashing.setObjectName("button_flashing")
        self.gridLayout.addWidget(self.button_flashing, 13, 0, 1, 2)
        self.checkbox_different_port = QtWidgets.QCheckBox(self.tab_setup)
        self.checkbox_different_port.setObjectName("checkbox_different_port")
        self.gridLayout.addWidget(self.checkbox_different_port, 3, 1, 1, 1)
        self.label_red_session_losts = QtWidgets.QLabel(self.tab_setup)
        self.label_red_session_losts.setObjectName("label_red_session_losts")
        self.gridLayout.addWidget(self.label_red_session_losts, 10, 0, 1, 2)
        self.combo_host = QtWidgets.QComboBox(self.tab_setup)
        self.combo_host.setEditable(True)
        self.combo_host.setInsertPolicy(QtWidgets.QComboBox.NoInsert)
        self.combo_host.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.combo_host.setObjectName("combo_host")
        self.gridLayout.addWidget(self.combo_host, 1, 1, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_default_port = QtWidgets.QLabel(self.tab_setup)
        self.label_default_port.setObjectName("label_default_port")
        self.horizontalLayout_2.addWidget(self.label_default_port)
        self.spinbox_port = QtWidgets.QSpinBox(self.tab_setup)
        self.spinbox_port.setMinimum(1)
        self.spinbox_port.setMaximum(65535)
        self.spinbox_port.setProperty("value", 4223)
        self.spinbox_port.setObjectName("spinbox_port")
        self.horizontalLayout_2.addWidget(self.spinbox_port)
        self.gridLayout.addLayout(self.horizontalLayout_2, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.tab_setup)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.tab_setup)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.checkbox_secret_show = QtWidgets.QCheckBox(self.tab_setup)
        self.checkbox_secret_show.setObjectName("checkbox_secret_show")
        self.gridLayout.addWidget(self.checkbox_secret_show, 6, 1, 1, 1)
        self.checkbox_authentication = QtWidgets.QCheckBox(self.tab_setup)
        self.checkbox_authentication.setObjectName("checkbox_authentication")
        self.gridLayout.addWidget(self.checkbox_authentication, 4, 1, 1, 1)
        self.label_secret = QtWidgets.QLabel(self.tab_setup)
        self.label_secret.setObjectName("label_secret")
        self.gridLayout.addWidget(self.label_secret, 5, 0, 1, 1)
        self.edit_secret = QtWidgets.QLineEdit(self.tab_setup)
        self.edit_secret.setMaxLength(64)
        self.edit_secret.setObjectName("edit_secret")
        self.gridLayout.addWidget(self.edit_secret, 5, 1, 1, 1)
        self.checkbox_auto_search_for_updates = QtWidgets.QCheckBox(self.tab_setup)
        self.checkbox_auto_search_for_updates.setChecked(True)
        self.checkbox_auto_search_for_updates.setObjectName("checkbox_auto_search_for_updates")
        self.gridLayout.addWidget(self.checkbox_auto_search_for_updates, 12, 0, 1, 2)
        spacerItem = QtWidgets.QSpacerItem(195, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 0, 1, 2)
        self.button_data_logger = QtWidgets.QPushButton(self.tab_setup)
        self.button_data_logger.setObjectName("button_data_logger")
        self.gridLayout.addWidget(self.button_data_logger, 15, 0, 1, 2)
        self.label_auto_reconnects = QtWidgets.QLabel(self.tab_setup)
        self.label_auto_reconnects.setObjectName("label_auto_reconnects")
        self.gridLayout.addWidget(self.label_auto_reconnects, 9, 0, 1, 2)
        self.button_health_monitor = QtWidgets.QPushButton(self.tab_setup)
        self.button_health_monitor.setObjectName("button_health_monitor")
        self.gridLayout.addWidget(self.button_health_monitor, 16, 0, 1, 2)
        self.stacked_widget = QtWidgets.QStackedWidget(self.tab_setup)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stacked_widget.sizePolicy().hasHeightForWidth())
        self.stacked_widget.setSizePolicy(sizePolicy)
        self.stacked_widget.setObjectName("stacked_widget")
        self.page_not_connected = QtWidgets.QWidget()
        self.page_not_connected.setObjectName("page_not_connected")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.page_not_connected)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_3 = QtWidgets.QLabel(self.page_not_connected)
        self.label_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.label_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_2.addWidget(self.label_3)
        self.stacked_widget.addWidget(self.page_not_connected)
        self.page_connected = QtWidgets.QWidget()
        self.page_connected.setObjectName("page_connected")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.page_connected)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.tree_view = QtWidgets.QTreeView(self.page_connected)
        self.tree_view.setIndentation(10)
        self.tree_view.setObjectName("tree_view")
        self.verticalLayout_3.addWidget(self.tree_view)
        self.stacked_widget.addWidget(self.page_connected)
        self.page_auto_reconnect = QtWidgets.QWidget()
        self.page_auto_reconnect.setObjectName("page_auto_reconnect")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.page_auto_reconnect)
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_4 = QtWidgets.QLabel(self.page_auto_reconnect)
        self.label_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.label_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_4.addWidget(self.label_4)
        self.stacked_widget.addWidget(self.page_auto_reconnect)
        self.gridLayout.addWidget(self.stacked_widget, 1, 2, 16, 1)
        self.horizontalLayout.addLayout(self.gridLayout)
        self.tab_widget.addTab(self.tab_setup, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.tab_widget.addTab(self.tab_2, "")
        self.verticalLayout.addWidget(self.tab_widget)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.tab_widget.setCurrentIndex(0)
        self.stacked_widget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.tab_widget, self.button_connect)
        MainWindow.setTabOrder(self.button_connect, self.combo_host)
        MainWindow.setTabOrder(self.combo_host, self.spinbox_port)
        MainWindow.setTabOrder(self.spinbox_port, self.checkbox_different_port)
        MainWindow.setTabOrder(self.checkbox_different_port, self.checkbox_authentication)
        MainWindow.setTabOrder(self.checkbox_authentication, self.edit_secret)
        MainWindow.setTabOrder(self.edit_secret, self.checkbox_secret_show)
        MainWindow.setTabOrder(self.checkbox_secret_show, self.checkbox_remember_secret)
        MainWindow.setTabOrder(self.checkbox_remember_secret, self.check_fusion_gui_style)
        MainWindow.setTabOrder(self.check_fusion_gui_style, self.checkbox_auto_search_for_updates)
        MainWindow.setTabOrder(self.checkbox_auto_search_for_updates, self.button_flashing)
        MainWindow.setTabOrder(self.button_flashing, self.button_advanced)
        MainWindow.setTabOrder(self.button_advanced, self.button_data_logger)
        MainWindow.setTabOrder(self.button_data_logger, self.button_health_monitor)
        MainWindow.setTabOrder(self.button_health_monitor, self.tree_view)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.checkbox_remember_secret.setToolTip(_translate("MainWindow", "Warning: Secret is stored in plain text without any protection!"))
        self.checkbox_remember_secret.setText(_translate("MainWindow", "Remember Secret"))
        self.button_connect.setText(_translate("MainWindow", "Connect"))
        self.button_advanced.setText(_translate("MainWindow", "Advanced Functions"))
        self.check_fusion_gui_style.setText(_translate("MainWindow", "Use Fusion GUI Style"))
        self.button_flashing.setText(_translate("MainWindow", "Updates / Flashing"))
        self.checkbox_different_port.setText(_translate("MainWindow", "Use Different Port"))
        self.label_red_session_losts.setText(_translate("MainWindow", "RED Brick Session Loss Count: 0"))
        self.label_default_port.setText(_translate("MainWindow", "4223 (Default)"))
        self.label_2.setText(_translate("MainWindow", "Port:"))
        self.label.setText(_translate("MainWindow", "Host:"))
        self.checkbox_secret_show.setText(_translate("MainWindow", "Show Characters"))
        self.checkbox_authentication.setText(_translate("MainWindow", "Use Authentication"))
        self.label_secret.setText(_translate("MainWindow", "Secret:"))
        self.checkbox_auto_search_for_updates.setText(_translate("MainWindow", "Auto-Search for Updates"))
        self.button_data_logger.setText(_translate("MainWindow", "Data Logger"))
        self.label_auto_reconnects.setText(_translate("MainWindow", "Auto-Reconnect Count: 0"))
        self.button_health_monitor.setText(_translate("MainWindow", "Health Monitor"))
        self.label_3.setText(_translate("MainWindow", "<h3>Brick Viewer is not connected!</h3>Click the <strong>Connect</strong> button above to establish the connection."))
        self.label_4.setText(_translate("MainWindow", "<h3>Brick Viewer lost the connection and tries to auto-reconnect!</h3>Click the <strong>Abort</strong> button above if you want to abort the auto-reconnect attempt."))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab_setup), _translate("MainWindow", "&Setup"))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab_2), _translate("MainWindow", "2"))
