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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_console.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_REDTabConsole(object):
    def setupUi(self, REDTabConsole):
        REDTabConsole.setObjectName("REDTabConsole")
        REDTabConsole.resize(682, 376)
        self.horizontalLayout = QtWidgets.QHBoxLayout(REDTabConsole)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.widget_dummy = QtWidgets.QWidget(REDTabConsole)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget_dummy.sizePolicy().hasHeightForWidth())
        self.widget_dummy.setSizePolicy(sizePolicy)
        self.widget_dummy.setObjectName("widget_dummy")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget_dummy)
        self.verticalLayout.setObjectName("verticalLayout")
        self.console_layout = QtWidgets.QVBoxLayout()
        self.console_layout.setObjectName("console_layout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.widget_dummy)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.combo_serial_port = QtWidgets.QComboBox(self.widget_dummy)
        self.combo_serial_port.setObjectName("combo_serial_port")
        self.horizontalLayout_2.addWidget(self.combo_serial_port)
        self.refresh_button = QtWidgets.QPushButton(self.widget_dummy)
        self.refresh_button.setObjectName("refresh_button")
        self.horizontalLayout_2.addWidget(self.refresh_button)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.connect_button = QtWidgets.QPushButton(self.widget_dummy)
        self.connect_button.setObjectName("connect_button")
        self.horizontalLayout_2.addWidget(self.connect_button)
        self.console_layout.addLayout(self.horizontalLayout_2)
        self.copy_button = QtWidgets.QPushButton(self.widget_dummy)
        self.copy_button.setObjectName("copy_button")
        self.console_layout.addWidget(self.copy_button)
        spacerItem1 = QtWidgets.QSpacerItem(20, 492, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.console_layout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.console_layout)
        self.horizontalLayout.addWidget(self.widget_dummy)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.label.setBuddy(self.combo_serial_port)

        self.retranslateUi(REDTabConsole)
        QtCore.QMetaObject.connectSlotsByName(REDTabConsole)
        REDTabConsole.setTabOrder(self.combo_serial_port, self.refresh_button)
        REDTabConsole.setTabOrder(self.refresh_button, self.connect_button)
        REDTabConsole.setTabOrder(self.connect_button, self.copy_button)

    def retranslateUi(self, REDTabConsole):
        _translate = QtCore.QCoreApplication.translate
        REDTabConsole.setWindowTitle(_translate("REDTabConsole", "REDTabConsole"))
        self.label.setText(_translate("REDTabConsole", "Serial Port:"))
        self.refresh_button.setText(_translate("REDTabConsole", "Refresh Ports"))
        self.connect_button.setText(_translate("REDTabConsole", "Connect"))
        self.copy_button.setText(_translate("REDTabConsole", "Copy Selection To Clipboard"))
