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

# Form implementation generated from reading ui file 'eric/eric6/MicroPython/MicroPythonWidget.ui'
#
# Created by: PyQt5 UI code generator 5.14.2
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MicroPythonWidget(object):
    def setupUi(self, MicroPythonWidget):
        MicroPythonWidget.setObjectName("MicroPythonWidget")
        MicroPythonWidget.resize(456, 548)
        self.verticalLayout = QtWidgets.QVBoxLayout(MicroPythonWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.deviceIconLabel = QtWidgets.QLabel(MicroPythonWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deviceIconLabel.sizePolicy().hasHeightForWidth())
        self.deviceIconLabel.setSizePolicy(sizePolicy)
        self.deviceIconLabel.setMinimumSize(QtCore.QSize(48, 48))
        self.deviceIconLabel.setObjectName("deviceIconLabel")
        self.horizontalLayout.addWidget(self.deviceIconLabel)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.deviceInfoLabel = QtWidgets.QLabel(MicroPythonWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deviceInfoLabel.sizePolicy().hasHeightForWidth())
        self.deviceInfoLabel.setSizePolicy(sizePolicy)
        self.deviceInfoLabel.setWordWrap(True)
        self.deviceInfoLabel.setObjectName("deviceInfoLabel")
        self.gridLayout.addWidget(self.deviceInfoLabel, 1, 0, 1, 4)
        self.deviceConnectedLed = E5Led(MicroPythonWidget)
        self.deviceConnectedLed.setObjectName("deviceConnectedLed")
        self.gridLayout.addWidget(self.deviceConnectedLed, 0, 3, 1, 1)
        self.deviceTypeComboBox = QtWidgets.QComboBox(MicroPythonWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deviceTypeComboBox.sizePolicy().hasHeightForWidth())
        self.deviceTypeComboBox.setSizePolicy(sizePolicy)
        self.deviceTypeComboBox.setObjectName("deviceTypeComboBox")
        self.gridLayout.addWidget(self.deviceTypeComboBox, 0, 0, 1, 1)
        self.checkButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.checkButton.setObjectName("checkButton")
        self.gridLayout.addWidget(self.checkButton, 0, 1, 1, 1)
        self.menuButton = E5ToolButton(MicroPythonWidget)
        self.menuButton.setObjectName("menuButton")
        self.gridLayout.addWidget(self.menuButton, 0, 2, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.openButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.openButton.setObjectName("openButton")
        self.horizontalLayout_2.addWidget(self.openButton)
        self.saveButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout_2.addWidget(self.saveButton)
        self.line = QtWidgets.QFrame(MicroPythonWidget)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_2.addWidget(self.line)
        self.runButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.runButton.setObjectName("runButton")
        self.horizontalLayout_2.addWidget(self.runButton)
        self.replButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.replButton.setCheckable(True)
        self.replButton.setObjectName("replButton")
        self.horizontalLayout_2.addWidget(self.replButton)
        self.filesButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.filesButton.setCheckable(True)
        self.filesButton.setObjectName("filesButton")
        self.horizontalLayout_2.addWidget(self.filesButton)
        self.chartButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.chartButton.setCheckable(True)
        self.chartButton.setObjectName("chartButton")
        self.horizontalLayout_2.addWidget(self.chartButton)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.connectButton = QtWidgets.QToolButton(MicroPythonWidget)
        self.connectButton.setObjectName("connectButton")
        self.horizontalLayout_2.addWidget(self.connectButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.replEdit = QtWidgets.QTextEdit(MicroPythonWidget)
        self.replEdit.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.replEdit.setUndoRedoEnabled(False)
        self.replEdit.setLineWrapMode(QtWidgets.QTextEdit.NoWrap)
        self.replEdit.setAcceptRichText(False)
        self.replEdit.setObjectName("replEdit")
        self.verticalLayout.addWidget(self.replEdit)

        self.retranslateUi(MicroPythonWidget)
        QtCore.QMetaObject.connectSlotsByName(MicroPythonWidget)
        MicroPythonWidget.setTabOrder(self.deviceTypeComboBox, self.checkButton)
        MicroPythonWidget.setTabOrder(self.checkButton, self.menuButton)
        MicroPythonWidget.setTabOrder(self.menuButton, self.openButton)
        MicroPythonWidget.setTabOrder(self.openButton, self.saveButton)
        MicroPythonWidget.setTabOrder(self.saveButton, self.runButton)
        MicroPythonWidget.setTabOrder(self.runButton, self.replButton)
        MicroPythonWidget.setTabOrder(self.replButton, self.filesButton)
        MicroPythonWidget.setTabOrder(self.filesButton, self.chartButton)
        MicroPythonWidget.setTabOrder(self.chartButton, self.connectButton)
        MicroPythonWidget.setTabOrder(self.connectButton, self.replEdit)

    def retranslateUi(self, MicroPythonWidget):
        _translate = QtCore.QCoreApplication.translate
        self.checkButton.setToolTip(_translate("MicroPythonWidget", "Press to check for connected devices"))
        self.openButton.setToolTip(_translate("MicroPythonWidget", "Press to open a file of the connected device"))
        self.saveButton.setToolTip(_translate("MicroPythonWidget", "Press to save the current editor to the connected device"))
        self.runButton.setToolTip(_translate("MicroPythonWidget", "Press to run the current script on the selected device"))
        self.replButton.setToolTip(_translate("MicroPythonWidget", "Press to open a terminal (REPL) on the selected device"))
        self.filesButton.setToolTip(_translate("MicroPythonWidget", "Press to open a file manager on the selected device"))
        self.chartButton.setToolTip(_translate("MicroPythonWidget", "Press to open a chart window to display data receive from the selected device"))
        self.connectButton.setToolTip(_translate("MicroPythonWidget", "Press to connect the selected device"))
from E5Gui.E5Led import E5Led
from E5Gui.E5ToolButton import E5ToolButton
