# -*- 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(800, 600)
        MainWindow.setMinimumSize(QSize(800, 0))
        self.quitAction = QAction(MainWindow)
        self.quitAction.setObjectName(u"quitAction")
        self.actionHelp = QAction(MainWindow)
        self.actionHelp.setObjectName(u"actionHelp")
        self.actionAbout_Qt = QAction(MainWindow)
        self.actionAbout_Qt.setObjectName(u"actionAbout_Qt")
        self.helpAction = QAction(MainWindow)
        self.helpAction.setObjectName(u"helpAction")
        self.aboutAction = QAction(MainWindow)
        self.aboutAction.setObjectName(u"aboutAction")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.gridLayout = QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.treeView = QTreeView(self.centralwidget)
        self.treeView.setObjectName(u"treeView")
        self.treeView.setAlternatingRowColors(True)
        self.treeView.setSelectionBehavior(QAbstractItemView.SelectItems)

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

        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.gridLayout_2 = QGridLayout()
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")

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

        self.findServersButton = QPushButton(self.centralwidget)
        self.findServersButton.setObjectName(u"findServersButton")

        self.gridLayout_2.addWidget(self.findServersButton, 1, 2, 1, 1)

        self.getEndpointsButton = QPushButton(self.centralwidget)
        self.getEndpointsButton.setObjectName(u"getEndpointsButton")

        self.gridLayout_2.addWidget(self.getEndpointsButton, 2, 2, 1, 1)

        self.servers = QComboBox(self.centralwidget)
        self.servers.setObjectName(u"servers")

        self.gridLayout_2.addWidget(self.servers, 2, 1, 1, 1)

        self.label_3 = QLabel(self.centralwidget)
        self.label_3.setObjectName(u"label_3")

        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)

        self.host = QLineEdit(self.centralwidget)
        self.host.setObjectName(u"host")
        self.host.setClearButtonEnabled(True)

        self.gridLayout_2.addWidget(self.host, 1, 1, 1, 1)

        self.opcUaPlugin = QComboBox(self.centralwidget)
        self.opcUaPlugin.setObjectName(u"opcUaPlugin")

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

        self.label_2 = QLabel(self.centralwidget)
        self.label_2.setObjectName(u"label_2")

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

        self.label_5 = QLabel(self.centralwidget)
        self.label_5.setObjectName(u"label_5")

        self.gridLayout_2.addWidget(self.label_5, 3, 0, 1, 1)

        self.endpoints = QComboBox(self.centralwidget)
        self.endpoints.setObjectName(u"endpoints")
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.endpoints.sizePolicy().hasHeightForWidth())
        self.endpoints.setSizePolicy(sizePolicy)

        self.gridLayout_2.addWidget(self.endpoints, 3, 1, 1, 1)

        self.connectButton = QPushButton(self.centralwidget)
        self.connectButton.setObjectName(u"connectButton")

        self.gridLayout_2.addWidget(self.connectButton, 3, 2, 1, 1)


        self.verticalLayout.addLayout(self.gridLayout_2)


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

        self.label_4 = QLabel(self.centralwidget)
        self.label_4.setObjectName(u"label_4")

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

        self.log = QPlainTextEdit(self.centralwidget)
        self.log.setObjectName(u"log")
        self.log.setLineWrapMode(QPlainTextEdit.NoWrap)
        self.log.setReadOnly(True)

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

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 30))
        self.menuFile = QMenu(self.menubar)
        self.menuFile.setObjectName(u"menuFile")
        self.menuHelp = QMenu(self.menubar)
        self.menuHelp.setObjectName(u"menuHelp")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())
        self.menuFile.addAction(self.quitAction)
        self.menuHelp.addAction(self.helpAction)
        self.menuHelp.addAction(self.aboutAction)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
        self.quitAction.setText(QCoreApplication.translate("MainWindow", u"Quit", None))
        self.actionHelp.setText(QCoreApplication.translate("MainWindow", u"Help", None))
        self.actionAbout_Qt.setText(QCoreApplication.translate("MainWindow", u"About Qt", None))
        self.helpAction.setText(QCoreApplication.translate("MainWindow", u"Help", None))
        self.aboutAction.setText(QCoreApplication.translate("MainWindow", u"About Qt", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"Select OPC UA Backend:", None))
        self.findServersButton.setText(QCoreApplication.translate("MainWindow", u"Find Servers", None))
        self.getEndpointsButton.setText(QCoreApplication.translate("MainWindow", u"Get Endpoints", None))
        self.label_3.setText(QCoreApplication.translate("MainWindow", u"Select OPC UA Server:", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"Select host to discover:", None))
        self.label_5.setText(QCoreApplication.translate("MainWindow", u"Select OPC UA Endpoint:", None))
        self.connectButton.setText(QCoreApplication.translate("MainWindow", u"Connect", None))
        self.label_4.setText(QCoreApplication.translate("MainWindow", u"Log:", None))
        self.menuFile.setTitle(QCoreApplication.translate("MainWindow", u"File", None))
        self.menuHelp.setTitle(QCoreApplication.translate("MainWindow", u"Help", None))
    # retranslateUi

