# Form implementation generated from reading ui file 'SerialMonitor.ui'
#
# Created by: PyQt6 UI code generator 6.4.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_SerialMonitor(object):
    def setupUi(self, SerialMonitor):
        SerialMonitor.setObjectName("SerialMonitor")
        SerialMonitor.resize(490, 185)
        self.verticalLayout = QtWidgets.QVBoxLayout(SerialMonitor)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_2 = QtWidgets.QLabel(SerialMonitor)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.cbox_port = QtWidgets.QComboBox(SerialMonitor)
        self.cbox_port.setObjectName("cbox_port")
        self.horizontalLayout_2.addWidget(self.cbox_port)
        self.label_3 = QtWidgets.QLabel(SerialMonitor)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.cbox_baud_rate = QtWidgets.QComboBox(SerialMonitor)
        self.cbox_baud_rate.setObjectName("cbox_baud_rate")
        self.horizontalLayout_2.addWidget(self.cbox_baud_rate)
        self.label_4 = QtWidgets.QLabel(SerialMonitor)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.le_timeout = QtWidgets.QLineEdit(SerialMonitor)
        self.le_timeout.setObjectName("le_timeout")
        self.horizontalLayout_2.addWidget(self.le_timeout)
        self.pb_connect = QtWidgets.QPushButton(SerialMonitor)
        self.pb_connect.setObjectName("pb_connect")
        self.horizontalLayout_2.addWidget(self.pb_connect)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(SerialMonitor)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.le_command = QtWidgets.QLineEdit(SerialMonitor)
        self.le_command.setObjectName("le_command")
        self.horizontalLayout.addWidget(self.le_command)
        self.pb_write = QtWidgets.QPushButton(SerialMonitor)
        self.pb_write.setObjectName("pb_write")
        self.horizontalLayout.addWidget(self.pb_write)
        self.pb_read = QtWidgets.QPushButton(SerialMonitor)
        self.pb_read.setObjectName("pb_read")
        self.horizontalLayout.addWidget(self.pb_read)
        self.pb_query = QtWidgets.QPushButton(SerialMonitor)
        self.pb_query.setObjectName("pb_query")
        self.horizontalLayout.addWidget(self.pb_query)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.scrollArea = QtWidgets.QScrollArea(SerialMonitor)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 488, 105))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setContentsMargins(-1, -1, 0, -1)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.te_response = QtWidgets.QTextEdit(self.scrollAreaWidgetContents)
        self.te_response.setObjectName("te_response")
        self.verticalLayout_4.addWidget(self.te_response)
        self.verticalLayout_3.addLayout(self.verticalLayout_4)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.che_autoscroll = QtWidgets.QCheckBox(SerialMonitor)
        self.che_autoscroll.setObjectName("che_autoscroll")
        self.horizontalLayout_3.addWidget(self.che_autoscroll)
        self.che_append_NL = QtWidgets.QCheckBox(SerialMonitor)
        self.che_append_NL.setObjectName("che_append_NL")
        self.horizontalLayout_3.addWidget(self.che_append_NL)
        self.che_append_CR = QtWidgets.QCheckBox(SerialMonitor)
        self.che_append_CR.setObjectName("che_append_CR")
        self.horizontalLayout_3.addWidget(self.che_append_CR)
        self.che_readuntil = QtWidgets.QCheckBox(SerialMonitor)
        self.che_readuntil.setObjectName("che_readuntil")
        self.horizontalLayout_3.addWidget(self.che_readuntil)
        self.le_read_until = QtWidgets.QLineEdit(SerialMonitor)
        self.le_read_until.setObjectName("le_read_until")
        self.horizontalLayout_3.addWidget(self.le_read_until)
        self.pb_clear = QtWidgets.QPushButton(SerialMonitor)
        self.pb_clear.setObjectName("pb_clear")
        self.horizontalLayout_3.addWidget(self.pb_clear)
        self.verticalLayout.addLayout(self.horizontalLayout_3)

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

    def retranslateUi(self, SerialMonitor):
        _translate = QtCore.QCoreApplication.translate
        SerialMonitor.setWindowTitle(_translate("SerialMonitor", "Form"))
        self.label_2.setText(_translate("SerialMonitor", "PORT:"))
        self.label_3.setText(_translate("SerialMonitor", "BAUDRATE:"))
        self.label_4.setText(_translate("SerialMonitor", "TIMEOUT [ms]:"))
        self.pb_connect.setText(_translate("SerialMonitor", "CONNECT"))
        self.label.setText(_translate("SerialMonitor", "COMMAND: "))
        self.pb_write.setText(_translate("SerialMonitor", "WRITE"))
        self.pb_read.setText(_translate("SerialMonitor", "READ"))
        self.pb_query.setText(_translate("SerialMonitor", "QUERY"))
        self.che_autoscroll.setText(_translate("SerialMonitor", "Autoscroll"))
        self.che_append_NL.setText(_translate("SerialMonitor", "Append \\n"))
        self.che_append_CR.setText(_translate("SerialMonitor", "Append \\r"))
        self.che_readuntil.setText(_translate("SerialMonitor", "READUNTIL:"))
        self.pb_clear.setText(_translate("SerialMonitor", "Clear"))
