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

# Form implementation generated from reading ui file 'interactive_layout.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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(1067, 774)
        Form.setStyleSheet("")
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.frame_3 = QtWidgets.QFrame(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.frame_3)
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setSpacing(2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.pushButton = QtWidgets.QPushButton(self.frame_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/control/plus.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon)
        self.pushButton.setObjectName("pushButton")
        self.horizontalLayout_4.addWidget(self.pushButton)
        self.filenameLabel = QtWidgets.QLabel(self.frame_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filenameLabel.sizePolicy().hasHeightForWidth())
        self.filenameLabel.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.filenameLabel.setFont(font)
        self.filenameLabel.setObjectName("filenameLabel")
        self.horizontalLayout_4.addWidget(self.filenameLabel)
        self.gridLayout.addWidget(self.frame_3, 1, 1, 1, 1)
        self.splitter_2 = QtWidgets.QSplitter(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter_2.sizePolicy().hasHeightForWidth())
        self.splitter_2.setSizePolicy(sizePolicy)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName("splitter_2")
        self.vsplit = QtWidgets.QSplitter(self.splitter_2)
        self.vsplit.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.vsplit.setOrientation(QtCore.Qt.Vertical)
        self.vsplit.setObjectName("vsplit")
        self.frame = QtWidgets.QFrame(self.vsplit)
        self.frame.setMinimumSize(QtCore.QSize(0, 350))
        self.frame.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.frame_6 = QtWidgets.QFrame(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_6.sizePolicy().hasHeightForWidth())
        self.frame_6.setSizePolicy(sizePolicy)
        self.frame_6.setMinimumSize(QtCore.QSize(500, 0))
        self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_6.setObjectName("frame_6")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.frame_6)
        self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.schematicLayout = QtWidgets.QHBoxLayout()
        self.schematicLayout.setObjectName("schematicLayout")
        self.horizontalLayout_5.addLayout(self.schematicLayout)
        self.horizontalLayout.addWidget(self.frame_6)
        self.controlsFrame = QtWidgets.QFrame(self.frame)
        self.controlsFrame.setMinimumSize(QtCore.QSize(200, 350))
        self.controlsFrame.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.controlsFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.controlsFrame.setObjectName("controlsFrame")
        self.controlsLayout = QtWidgets.QVBoxLayout(self.controlsFrame)
        self.controlsLayout.setContentsMargins(0, 0, 0, 0)
        self.controlsLayout.setSpacing(3)
        self.controlsLayout.setObjectName("controlsLayout")
        self.horizontalLayout.addWidget(self.controlsFrame)
        self.frame_2 = QtWidgets.QFrame(self.vsplit)
        self.frame_2.setMinimumSize(QtCore.QSize(100, 0))
        self.frame_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame_2)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.graphTabs = QtWidgets.QTabWidget(self.frame_2)
        self.graphTabs.setObjectName("graphTabs")
        self.scopeTab = QtWidgets.QWidget()
        self.scopeTab.setObjectName("scopeTab")
        self.plotLayout = QtWidgets.QVBoxLayout(self.scopeTab)
        self.plotLayout.setContentsMargins(0, 0, 0, 0)
        self.plotLayout.setSpacing(0)
        self.plotLayout.setObjectName("plotLayout")
        self.graphTabs.addTab(self.scopeTab, "")
        self.loggerTab = QtWidgets.QWidget()
        self.loggerTab.setObjectName("loggerTab")
        self.loggerPlotLayout = QtWidgets.QVBoxLayout(self.loggerTab)
        self.loggerPlotLayout.setContentsMargins(0, 0, 0, 0)
        self.loggerPlotLayout.setSpacing(0)
        self.loggerPlotLayout.setObjectName("loggerPlotLayout")
        self.graphTabs.addTab(self.loggerTab, "")
        self.XYTab = QtWidgets.QWidget()
        self.XYTab.setObjectName("XYTab")
        self.XYLayout = QtWidgets.QVBoxLayout(self.XYTab)
        self.XYLayout.setContentsMargins(0, 0, 0, 0)
        self.XYLayout.setSpacing(0)
        self.XYLayout.setObjectName("XYLayout")
        self.graphTabs.addTab(self.XYTab, "")
        self.verticalLayout_3.addWidget(self.graphTabs)
        self.frame1 = QtWidgets.QFrame(self.frame_2)
        self.frame1.setObjectName("frame1")
        self.plotsLayout = QtWidgets.QVBoxLayout(self.frame1)
        self.plotsLayout.setContentsMargins(0, 0, 0, 0)
        self.plotsLayout.setSpacing(0)
        self.plotsLayout.setObjectName("plotsLayout")
        self.verticalLayout_3.addWidget(self.frame1)
        self.frame_4 = QtWidgets.QFrame(self.splitter_2)
        self.frame_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_4.setObjectName("frame_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_4)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.webView = QtWebKitWidgets.QWebView(self.frame_4)
        self.webView.setUrl(QtCore.QUrl("about:blank"))
        self.webView.setObjectName("webView")
        self.verticalLayout_2.addWidget(self.webView)
        self.gridLayout.addWidget(self.splitter_2, 0, 1, 1, 1)
        self.directoryFrame = QtWidgets.QFrame(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.directoryFrame.sizePolicy().hasHeightForWidth())
        self.directoryFrame.setSizePolicy(sizePolicy)
        self.directoryFrame.setMinimumSize(QtCore.QSize(0, 0))
        self.directoryFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.directoryFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.directoryFrame.setObjectName("directoryFrame")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.directoryFrame)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.directoryBrowser = QtWidgets.QTreeWidget(self.directoryFrame)
        self.directoryBrowser.setMinimumSize(QtCore.QSize(300, 0))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.directoryBrowser.setFont(font)
        self.directoryBrowser.setObjectName("directoryBrowser")
        self.directoryBrowser.header().setVisible(False)
        self.directoryBrowser.header().setHighlightSections(True)
        self.verticalLayout.addWidget(self.directoryBrowser)
        self.gridLayout.addWidget(self.directoryFrame, 0, 0, 2, 1)

        self.retranslateUi(Form)
        self.graphTabs.setCurrentIndex(0)
        self.directoryBrowser.itemDoubleClicked['QTreeWidgetItem*','int'].connect(Form.load_example) # type: ignore
        self.pushButton.clicked.connect(Form.show_directory) # type: ignore
        self.graphTabs.currentChanged['int'].connect(Form.plotTabChanged) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.pushButton.setText(_translate("Form", "Examples"))
        self.filenameLabel.setText(_translate("Form", ":"))
        self.graphTabs.setTabText(self.graphTabs.indexOf(self.scopeTab), _translate("Form", "Oscilloscope"))
        self.graphTabs.setTabText(self.graphTabs.indexOf(self.loggerTab), _translate("Form", "Data Logger"))
        self.graphTabs.setTabText(self.graphTabs.indexOf(self.XYTab), _translate("Form", "X vs Y Plot"))
        self.directoryBrowser.headerItem().setText(0, _translate("Form", ">"))
from PyQt5 import QtWebKitWidgets
from . import resplus_rc
