# Form implementation generated from reading ui file 'mainMonitor.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# 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_MainMonitor(object):
    def setupUi(self, MainMonitor):
        MainMonitor.setObjectName("MainMonitor")
        MainMonitor.resize(1046, 992)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(MainMonitor)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(parent=MainMonitor)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.pathEdit = QtWidgets.QLineEdit(parent=MainMonitor)
        self.pathEdit.setObjectName("pathEdit")
        self.horizontalLayout.addWidget(self.pathEdit)
        self.pathButton = QtWidgets.QPushButton(parent=MainMonitor)
        self.pathButton.setObjectName("pathButton")
        self.horizontalLayout.addWidget(self.pathButton)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.splitter_3 = QtWidgets.QSplitter(parent=MainMonitor)
        self.splitter_3.setOrientation(QtCore.Qt.Orientation.Vertical)
        self.splitter_3.setObjectName("splitter_3")
        self.verticalLayoutWidget_3 = QtWidgets.QWidget(parent=self.splitter_3)
        self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_3)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_5 = QtWidgets.QLabel(parent=self.verticalLayoutWidget_3)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        self.loglevelBox = QtWidgets.QComboBox(parent=self.verticalLayoutWidget_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.loglevelBox.sizePolicy().hasHeightForWidth())
        self.loglevelBox.setSizePolicy(sizePolicy)
        self.loglevelBox.setMaximumSize(QtCore.QSize(120, 16777215))
        self.loglevelBox.setObjectName("loglevelBox")
        self.loglevelBox.addItem("")
        self.loglevelBox.addItem("")
        self.loglevelBox.addItem("")
        self.loglevelBox.addItem("")
        self.loglevelBox.addItem("")
        self.loglevelBox.addItem("")
        self.horizontalLayout_2.addWidget(self.loglevelBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.clearlogButton = QtWidgets.QPushButton(parent=self.verticalLayoutWidget_3)
        self.clearlogButton.setObjectName("clearlogButton")
        self.horizontalLayout_2.addWidget(self.clearlogButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.logEdit = QtWidgets.QPlainTextEdit(parent=self.verticalLayoutWidget_3)
        self.logEdit.setReadOnly(True)
        self.logEdit.setObjectName("logEdit")
        self.verticalLayout_3.addWidget(self.logEdit)
        self.splitter = QtWidgets.QSplitter(parent=self.splitter_3)
        self.splitter.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.splitter.setObjectName("splitter")
        self.verticalLayoutWidget = QtWidgets.QWidget(parent=self.splitter)
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(parent=self.verticalLayoutWidget)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.stateTable = QtWidgets.QTableWidget(parent=self.verticalLayoutWidget)
        self.stateTable.setObjectName("stateTable")
        self.stateTable.setColumnCount(0)
        self.stateTable.setRowCount(0)
        self.verticalLayout.addWidget(self.stateTable)
        self.verticalLayoutWidget_2 = QtWidgets.QWidget(parent=self.splitter)
        self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_3 = QtWidgets.QLabel(parent=self.verticalLayoutWidget_2)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_2.addWidget(self.label_3)
        self.lockTable = QtWidgets.QTableWidget(parent=self.verticalLayoutWidget_2)
        self.lockTable.setObjectName("lockTable")
        self.lockTable.setColumnCount(0)
        self.lockTable.setRowCount(0)
        self.verticalLayout_2.addWidget(self.lockTable)
        self.splitter_2 = QtWidgets.QSplitter(parent=self.splitter_3)
        self.splitter_2.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.splitter_2.setObjectName("splitter_2")
        self.verticalLayoutWidget_4 = QtWidgets.QWidget(parent=self.splitter_2)
        self.verticalLayoutWidget_4.setObjectName("verticalLayoutWidget_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_4)
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_4 = QtWidgets.QLabel(parent=self.verticalLayoutWidget_4)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_4.addWidget(self.label_4)
        self.noteEdit = NotePlainTextEdit(parent=self.verticalLayoutWidget_4)
        self.noteEdit.setObjectName("noteEdit")
        self.verticalLayout_4.addWidget(self.noteEdit)
        self.widget = QtWidgets.QWidget(parent=self.splitter_2)
        self.widget.setObjectName("widget")
        self.gridLayout = QtWidgets.QGridLayout(self.widget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.loadnoteEdit = QtWidgets.QPlainTextEdit(parent=self.widget)
        self.loadnoteEdit.setReadOnly(True)
        self.loadnoteEdit.setObjectName("loadnoteEdit")
        self.gridLayout.addWidget(self.loadnoteEdit, 1, 1, 1, 1)
        self.loadnoteButton = QtWidgets.QPushButton(parent=self.widget)
        self.loadnoteButton.setMaximumSize(QtCore.QSize(30, 16777215))
        self.loadnoteButton.setObjectName("loadnoteButton")
        self.gridLayout.addWidget(self.loadnoteButton, 1, 0, 1, 1)
        self.commitnoteButton = QtWidgets.QPushButton(parent=self.widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.commitnoteButton.sizePolicy().hasHeightForWidth())
        self.commitnoteButton.setSizePolicy(sizePolicy)
        self.commitnoteButton.setMaximumSize(QtCore.QSize(30, 16777215))
        self.commitnoteButton.setObjectName("commitnoteButton")
        self.gridLayout.addWidget(self.commitnoteButton, 0, 0, 1, 1)
        self.commitnoteEdit = QtWidgets.QPlainTextEdit(parent=self.widget)
        self.commitnoteEdit.setReadOnly(True)
        self.commitnoteEdit.setObjectName("commitnoteEdit")
        self.gridLayout.addWidget(self.commitnoteEdit, 0, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.splitter_3)

        self.retranslateUi(MainMonitor)
        self.loglevelBox.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainMonitor)
        MainMonitor.setTabOrder(self.pathEdit, self.pathButton)
        MainMonitor.setTabOrder(self.pathButton, self.loglevelBox)
        MainMonitor.setTabOrder(self.loglevelBox, self.clearlogButton)
        MainMonitor.setTabOrder(self.clearlogButton, self.logEdit)
        MainMonitor.setTabOrder(self.logEdit, self.stateTable)
        MainMonitor.setTabOrder(self.stateTable, self.lockTable)
        MainMonitor.setTabOrder(self.lockTable, self.noteEdit)
        MainMonitor.setTabOrder(self.noteEdit, self.commitnoteButton)
        MainMonitor.setTabOrder(self.commitnoteButton, self.commitnoteEdit)
        MainMonitor.setTabOrder(self.commitnoteEdit, self.loadnoteButton)
        MainMonitor.setTabOrder(self.loadnoteButton, self.loadnoteEdit)

    def retranslateUi(self, MainMonitor):
        _translate = QtCore.QCoreApplication.translate
        MainMonitor.setWindowTitle(_translate("MainMonitor", "MAHOS Main Monitor"))
        self.label.setText(_translate("MainMonitor", "Working Dir"))
        self.pathButton.setText(_translate("MainMonitor", "..."))
        self.label_5.setText(_translate("MainMonitor", "Log"))
        self.loglevelBox.setCurrentText(_translate("MainMonitor", "DEBUG"))
        self.loglevelBox.setItemText(0, _translate("MainMonitor", "NOTSET"))
        self.loglevelBox.setItemText(1, _translate("MainMonitor", "DEBUG"))
        self.loglevelBox.setItemText(2, _translate("MainMonitor", "INFO"))
        self.loglevelBox.setItemText(3, _translate("MainMonitor", "WARNING"))
        self.loglevelBox.setItemText(4, _translate("MainMonitor", "ERROR"))
        self.loglevelBox.setItemText(5, _translate("MainMonitor", "CRITICAL"))
        self.clearlogButton.setText(_translate("MainMonitor", "Clear log"))
        self.label_2.setText(_translate("MainMonitor", "Node State"))
        self.label_3.setText(_translate("MainMonitor", "Server Lock"))
        self.label_4.setText(_translate("MainMonitor", "Note"))
        self.loadnoteButton.setText(_translate("MainMonitor", "←"))
        self.commitnoteButton.setText(_translate("MainMonitor", "→"))
from mahos.gui.main_monitor_widget import NotePlainTextEdit
