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

################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.1.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import *
from PySide6.QtGui import *
from PySide6.QtWidgets import *


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(731, 530)
        self.centralWidget = QWidget(MainWindow)
        self.centralWidget.setObjectName(u"centralWidget")
        self.gridLayout_3 = QGridLayout(self.centralWidget)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.gridLayout = QGridLayout()
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(u"gridLayout")
        self.label = QLabel(self.centralWidget)
        self.label.setObjectName(u"label")
        self.label.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)

        self.label_4 = QLabel(self.centralWidget)
        self.label_4.setObjectName(u"label_4")
        self.label_4.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.resourceComboBox = QComboBox(self.centralWidget)
        self.resourceComboBox.setObjectName(u"resourceComboBox")
        sizePolicy = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.resourceComboBox.sizePolicy().hasHeightForWidth())
        self.resourceComboBox.setSizePolicy(sizePolicy)
        self.resourceComboBox.setEditable(True)

        self.horizontalLayout_2.addWidget(self.resourceComboBox)

        self.observeButton = QPushButton(self.centralWidget)
        self.observeButton.setObjectName(u"observeButton")
        self.observeButton.setEnabled(False)

        self.horizontalLayout_2.addWidget(self.observeButton)

        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer_3)


        self.gridLayout.addLayout(self.horizontalLayout_2, 3, 1, 1, 1)

        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setSpacing(6)
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.hostComboBox = QComboBox(self.centralWidget)
        self.hostComboBox.setObjectName(u"hostComboBox")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.hostComboBox.sizePolicy().hasHeightForWidth())
        self.hostComboBox.setSizePolicy(sizePolicy1)
        self.hostComboBox.setMinimumSize(QSize(250, 0))
        self.hostComboBox.setEditable(True)

        self.horizontalLayout_5.addWidget(self.hostComboBox)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_5.addItem(self.horizontalSpacer)


        self.gridLayout.addLayout(self.horizontalLayout_5, 0, 1, 1, 1)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setSpacing(6)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.methodComboBox = QComboBox(self.centralWidget)
        self.methodComboBox.setObjectName(u"methodComboBox")
        sizePolicy1.setHeightForWidth(self.methodComboBox.sizePolicy().hasHeightForWidth())
        self.methodComboBox.setSizePolicy(sizePolicy1)
        self.methodComboBox.setMinimumSize(QSize(150, 0))

        self.horizontalLayout_3.addWidget(self.methodComboBox)

        self.msgTypeCheckBox = QCheckBox(self.centralWidget)
        self.msgTypeCheckBox.setObjectName(u"msgTypeCheckBox")

        self.horizontalLayout_3.addWidget(self.msgTypeCheckBox)

        self.addOptionsButton = QPushButton(self.centralWidget)
        self.addOptionsButton.setObjectName(u"addOptionsButton")

        self.horizontalLayout_3.addWidget(self.addOptionsButton)

        self.contentButton = QPushButton(self.centralWidget)
        self.contentButton.setObjectName(u"contentButton")
        self.contentButton.setEnabled(False)

        self.horizontalLayout_3.addWidget(self.contentButton)

        self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_4)


        self.gridLayout.addLayout(self.horizontalLayout_3, 4, 1, 1, 1)

        self.label_8 = QLabel(self.centralWidget)
        self.label_8.setObjectName(u"label_8")
        self.label_8.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)

        self.groupBox = QGroupBox(self.centralWidget)
        self.groupBox.setObjectName(u"groupBox")
        self.gridLayout_2 = QGridLayout(self.groupBox)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.textEdit = QTextEdit(self.groupBox)
        self.textEdit.setObjectName(u"textEdit")
        self.textEdit.setReadOnly(True)

        self.gridLayout_2.addWidget(self.textEdit, 0, 0, 1, 1)


        self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 2)

        self.label_2 = QLabel(self.centralWidget)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)

        self.horizontalLayout_12 = QHBoxLayout()
        self.horizontalLayout_12.setSpacing(6)
        self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
        self.runButton = QPushButton(self.centralWidget)
        self.runButton.setObjectName(u"runButton")

        self.horizontalLayout_12.addWidget(self.runButton)

        self.cancelObserveButton = QPushButton(self.centralWidget)
        self.cancelObserveButton.setObjectName(u"cancelObserveButton")
        self.cancelObserveButton.setEnabled(False)

        self.horizontalLayout_12.addWidget(self.cancelObserveButton)

        self.horizontalSpacer_6 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_12.addItem(self.horizontalSpacer_6)


        self.gridLayout.addLayout(self.horizontalLayout_12, 5, 1, 1, 1)

        self.label_3 = QLabel(self.centralWidget)
        self.label_3.setObjectName(u"label_3")
        self.label_3.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)

        self.horizontalLayout_13 = QHBoxLayout()
        self.horizontalLayout_13.setSpacing(6)
        self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
        self.discoveryPathEdit = QLineEdit(self.centralWidget)
        self.discoveryPathEdit.setObjectName(u"discoveryPathEdit")

        self.horizontalLayout_13.addWidget(self.discoveryPathEdit)

        self.discoverButton = QPushButton(self.centralWidget)
        self.discoverButton.setObjectName(u"discoverButton")

        self.horizontalLayout_13.addWidget(self.discoverButton)

        self.horizontalSpacer_7 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_13.addItem(self.horizontalSpacer_7)


        self.gridLayout.addLayout(self.horizontalLayout_13, 2, 1, 1, 1)

        self.horizontalLayout_6 = QHBoxLayout()
        self.horizontalLayout_6.setSpacing(6)
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
        self.portSpinBox = QSpinBox(self.centralWidget)
        self.portSpinBox.setObjectName(u"portSpinBox")
        sizePolicy2 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.portSpinBox.sizePolicy().hasHeightForWidth())
        self.portSpinBox.setSizePolicy(sizePolicy2)
        self.portSpinBox.setMinimumSize(QSize(100, 0))
        self.portSpinBox.setMaximum(65535)
        self.portSpinBox.setValue(5683)

        self.horizontalLayout_6.addWidget(self.portSpinBox)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_6.addItem(self.horizontalSpacer_2)


        self.gridLayout.addLayout(self.horizontalLayout_6, 1, 1, 1, 1)

        self.label_7 = QLabel(self.centralWidget)
        self.label_7.setObjectName(u"label_7")

        self.gridLayout.addWidget(self.label_7, 5, 0, 1, 1)


        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)

        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QMenuBar(MainWindow)
        self.menuBar.setObjectName(u"menuBar")
        self.menuBar.setGeometry(QRect(0, 0, 731, 22))
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QToolBar(MainWindow)
        self.mainToolBar.setObjectName(u"mainToolBar")
        MainWindow.addToolBar(Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QStatusBar(MainWindow)
        self.statusBar.setObjectName(u"statusBar")
        MainWindow.setStatusBar(self.statusBar)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"CoAP Client", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"Host", None))
        self.label_4.setText(QCoreApplication.translate("MainWindow", u"Request Method", None))
        self.observeButton.setText(QCoreApplication.translate("MainWindow", u"Observe", None))
        self.msgTypeCheckBox.setText(QCoreApplication.translate("MainWindow", u"Confirmable", None))
        self.addOptionsButton.setText(QCoreApplication.translate("MainWindow", u"Add Options", None))
        self.contentButton.setText(QCoreApplication.translate("MainWindow", u"Add Content", None))
        self.label_8.setText(QCoreApplication.translate("MainWindow", u"Disscovery Path:", None))
        self.groupBox.setTitle(QCoreApplication.translate("MainWindow", u"Output", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"Port", None))
        self.runButton.setText(QCoreApplication.translate("MainWindow", u"Run", None))
        self.cancelObserveButton.setText(QCoreApplication.translate("MainWindow", u"Cancel Observe", None))
        self.label_3.setText(QCoreApplication.translate("MainWindow", u"Resource", None))
        self.discoveryPathEdit.setText(QCoreApplication.translate("MainWindow", u"/.well-known/core", None))
        self.discoverButton.setText(QCoreApplication.translate("MainWindow", u"Discover", None))
        self.label_7.setText("")
    # retranslateUi

