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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_settings_server_monitoring.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_REDTabSettingsServerMonitoring(object):
    def setupUi(self, REDTabSettingsServerMonitoring):
        REDTabSettingsServerMonitoring.setObjectName("REDTabSettingsServerMonitoring")
        REDTabSettingsServerMonitoring.resize(868, 882)
        self.gridLayout = QtWidgets.QGridLayout(REDTabSettingsServerMonitoring)
        self.gridLayout.setObjectName("gridLayout")
        self.sarea_sm = QtWidgets.QScrollArea(REDTabSettingsServerMonitoring)
        self.sarea_sm.setWidgetResizable(True)
        self.sarea_sm.setObjectName("sarea_sm")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -134, 835, 878))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.line_2 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_3.addWidget(self.line_2, 5, 0, 1, 2)
        self.pbutton_sm_refresh = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.pbutton_sm_refresh.setObjectName("pbutton_sm_refresh")
        self.gridLayout_3.addWidget(self.pbutton_sm_refresh, 6, 0, 1, 1)
        self.pbutton_sm_save = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.pbutton_sm_save.setEnabled(False)
        self.pbutton_sm_save.setObjectName("pbutton_sm_save")
        self.gridLayout_3.addWidget(self.pbutton_sm_save, 6, 1, 1, 1)
        self.gbox_sm_hosts = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_sm_hosts.setObjectName("gbox_sm_hosts")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.gbox_sm_hosts)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.tview_sm_hosts = QtWidgets.QTreeView(self.gbox_sm_hosts)
        self.tview_sm_hosts.setMinimumSize(QtCore.QSize(0, 150))
        self.tview_sm_hosts.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tview_sm_hosts.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.tview_sm_hosts.setRootIsDecorated(False)
        self.tview_sm_hosts.setUniformRowHeights(True)
        self.tview_sm_hosts.setObjectName("tview_sm_hosts")
        self.gridLayout_6.addWidget(self.tview_sm_hosts, 0, 0, 1, 2)
        self.pbutton_sm_add_host = QtWidgets.QPushButton(self.gbox_sm_hosts)
        self.pbutton_sm_add_host.setObjectName("pbutton_sm_add_host")
        self.gridLayout_6.addWidget(self.pbutton_sm_add_host, 1, 0, 1, 1)
        self.pbutton_sm_remove_all_hosts = QtWidgets.QPushButton(self.gbox_sm_hosts)
        self.pbutton_sm_remove_all_hosts.setEnabled(False)
        self.pbutton_sm_remove_all_hosts.setObjectName("pbutton_sm_remove_all_hosts")
        self.gridLayout_6.addWidget(self.pbutton_sm_remove_all_hosts, 1, 1, 1, 1)
        self.gridLayout_3.addWidget(self.gbox_sm_hosts, 1, 0, 1, 2)
        self.gbox_sm_email = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_sm_email.setObjectName("gbox_sm_email")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.gbox_sm_email)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.ledit_sm_email_password = QtWidgets.QLineEdit(self.gbox_sm_email)
        self.ledit_sm_email_password.setEchoMode(QtWidgets.QLineEdit.Password)
        self.ledit_sm_email_password.setObjectName("ledit_sm_email_password")
        self.gridLayout_4.addWidget(self.ledit_sm_email_password, 6, 1, 1, 1)
        self.chkbox_sm_email_enable = QtWidgets.QCheckBox(self.gbox_sm_email)
        self.chkbox_sm_email_enable.setObjectName("chkbox_sm_email_enable")
        self.gridLayout_4.addWidget(self.chkbox_sm_email_enable, 0, 0, 1, 3)
        self.label_sm_email_port = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_port.setObjectName("label_sm_email_port")
        self.gridLayout_4.addWidget(self.label_sm_email_port, 4, 0, 1, 1)
        self.label_sm_email_tls = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_tls.setObjectName("label_sm_email_tls")
        self.gridLayout_4.addWidget(self.label_sm_email_tls, 7, 0, 1, 1)
        self.sbox_sm_email_port = QtWidgets.QSpinBox(self.gbox_sm_email)
        self.sbox_sm_email_port.setMinimum(1)
        self.sbox_sm_email_port.setMaximum(65535)
        self.sbox_sm_email_port.setProperty("value", 25)
        self.sbox_sm_email_port.setObjectName("sbox_sm_email_port")
        self.gridLayout_4.addWidget(self.sbox_sm_email_port, 4, 1, 1, 2)
        self.label_sm_email_password = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_password.setObjectName("label_sm_email_password")
        self.gridLayout_4.addWidget(self.label_sm_email_password, 6, 0, 1, 1)
        self.ledit_sm_email_username = QtWidgets.QLineEdit(self.gbox_sm_email)
        self.ledit_sm_email_username.setObjectName("ledit_sm_email_username")
        self.gridLayout_4.addWidget(self.ledit_sm_email_username, 5, 1, 1, 2)
        self.ledit_sm_email_from = QtWidgets.QLineEdit(self.gbox_sm_email)
        self.ledit_sm_email_from.setObjectName("ledit_sm_email_from")
        self.gridLayout_4.addWidget(self.ledit_sm_email_from, 1, 1, 1, 2)
        self.ledit_sm_email_to = QtWidgets.QLineEdit(self.gbox_sm_email)
        self.ledit_sm_email_to.setObjectName("ledit_sm_email_to")
        self.gridLayout_4.addWidget(self.ledit_sm_email_to, 2, 1, 1, 2)
        self.chkbox_sm_email_password_show = QtWidgets.QCheckBox(self.gbox_sm_email)
        self.chkbox_sm_email_password_show.setObjectName("chkbox_sm_email_password_show")
        self.gridLayout_4.addWidget(self.chkbox_sm_email_password_show, 6, 2, 1, 1)
        self.ledit_sm_email_server = QtWidgets.QLineEdit(self.gbox_sm_email)
        self.ledit_sm_email_server.setObjectName("ledit_sm_email_server")
        self.gridLayout_4.addWidget(self.ledit_sm_email_server, 3, 1, 1, 2)
        self.label_sm_email_from = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_from.setObjectName("label_sm_email_from")
        self.gridLayout_4.addWidget(self.label_sm_email_from, 1, 0, 1, 1)
        self.label_sm_email_server = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_server.setObjectName("label_sm_email_server")
        self.gridLayout_4.addWidget(self.label_sm_email_server, 3, 0, 1, 1)
        self.label_sm_email_to = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_to.setObjectName("label_sm_email_to")
        self.gridLayout_4.addWidget(self.label_sm_email_to, 2, 0, 1, 1)
        self.label_sm_email_username = QtWidgets.QLabel(self.gbox_sm_email)
        self.label_sm_email_username.setObjectName("label_sm_email_username")
        self.gridLayout_4.addWidget(self.label_sm_email_username, 5, 0, 1, 1)
        self.chkbox_sm_email_tls = QtWidgets.QCheckBox(self.gbox_sm_email)
        self.chkbox_sm_email_tls.setText("")
        self.chkbox_sm_email_tls.setChecked(True)
        self.chkbox_sm_email_tls.setObjectName("chkbox_sm_email_tls")
        self.gridLayout_4.addWidget(self.chkbox_sm_email_tls, 7, 1, 1, 2)
        self.pbutton_sm_email_test = QtWidgets.QPushButton(self.gbox_sm_email)
        self.pbutton_sm_email_test.setObjectName("pbutton_sm_email_test")
        self.gridLayout_4.addWidget(self.pbutton_sm_email_test, 8, 0, 1, 3)
        self.gridLayout_3.addWidget(self.gbox_sm_email, 3, 0, 1, 2)
        self.gbox_sm_rules = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_sm_rules.setObjectName("gbox_sm_rules")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.gbox_sm_rules)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.tview_sm_rules = QtWidgets.QTreeView(self.gbox_sm_rules)
        self.tview_sm_rules.setMinimumSize(QtCore.QSize(0, 150))
        self.tview_sm_rules.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tview_sm_rules.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.tview_sm_rules.setRootIsDecorated(False)
        self.tview_sm_rules.setUniformRowHeights(True)
        self.tview_sm_rules.setObjectName("tview_sm_rules")
        self.gridLayout_2.addWidget(self.tview_sm_rules, 0, 0, 1, 2)
        self.pbutton_sm_add_rule = QtWidgets.QPushButton(self.gbox_sm_rules)
        self.pbutton_sm_add_rule.setObjectName("pbutton_sm_add_rule")
        self.gridLayout_2.addWidget(self.pbutton_sm_add_rule, 1, 0, 1, 1)
        self.pbutton_sm_remove_all_rules = QtWidgets.QPushButton(self.gbox_sm_rules)
        self.pbutton_sm_remove_all_rules.setEnabled(False)
        self.pbutton_sm_remove_all_rules.setObjectName("pbutton_sm_remove_all_rules")
        self.gridLayout_2.addWidget(self.pbutton_sm_remove_all_rules, 1, 1, 1, 1)
        self.gridLayout_3.addWidget(self.gbox_sm_rules, 0, 0, 1, 2)
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 7, 0, 1, 1)
        self.label_sm_url = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_sm_url.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.label_sm_url.setObjectName("label_sm_url")
        self.gridLayout_3.addWidget(self.label_sm_url, 7, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_4.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 8, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_3.setObjectName("label_3")
        self.gridLayout_3.addWidget(self.label_3, 8, 0, 1, 1)
        self.sarea_sm.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.sarea_sm, 10, 0, 1, 1)
        self.label_sm_working_wait = QtWidgets.QLabel(REDTabSettingsServerMonitoring)
        self.label_sm_working_wait.setAlignment(QtCore.Qt.AlignCenter)
        self.label_sm_working_wait.setObjectName("label_sm_working_wait")
        self.gridLayout.addWidget(self.label_sm_working_wait, 2, 0, 1, 1)
        self.label_sm_disabled = QtWidgets.QLabel(REDTabSettingsServerMonitoring)
        self.label_sm_disabled.setEnabled(True)
        self.label_sm_disabled.setAlignment(QtCore.Qt.AlignCenter)
        self.label_sm_disabled.setWordWrap(True)
        self.label_sm_disabled.setObjectName("label_sm_disabled")
        self.gridLayout.addWidget(self.label_sm_disabled, 1, 0, 1, 1)
        self.label_sm_unsupported = QtWidgets.QLabel(REDTabSettingsServerMonitoring)
        self.label_sm_unsupported.setAlignment(QtCore.Qt.AlignCenter)
        self.label_sm_unsupported.setObjectName("label_sm_unsupported")
        self.gridLayout.addWidget(self.label_sm_unsupported, 0, 0, 1, 1)
        self.pbar_sm_working_wait = QtWidgets.QProgressBar(REDTabSettingsServerMonitoring)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pbar_sm_working_wait.sizePolicy().hasHeightForWidth())
        self.pbar_sm_working_wait.setSizePolicy(sizePolicy)
        self.pbar_sm_working_wait.setMaximum(0)
        self.pbar_sm_working_wait.setProperty("value", -1)
        self.pbar_sm_working_wait.setAlignment(QtCore.Qt.AlignCenter)
        self.pbar_sm_working_wait.setTextVisible(False)
        self.pbar_sm_working_wait.setObjectName("pbar_sm_working_wait")
        self.gridLayout.addWidget(self.pbar_sm_working_wait, 4, 0, 1, 1)
        self.label_sm_unsaved_changes = QtWidgets.QLabel(REDTabSettingsServerMonitoring)
        self.label_sm_unsaved_changes.setAlignment(QtCore.Qt.AlignCenter)
        self.label_sm_unsaved_changes.setObjectName("label_sm_unsaved_changes")
        self.gridLayout.addWidget(self.label_sm_unsaved_changes, 3, 0, 1, 1)

        self.retranslateUi(REDTabSettingsServerMonitoring)
        QtCore.QMetaObject.connectSlotsByName(REDTabSettingsServerMonitoring)
        REDTabSettingsServerMonitoring.setTabOrder(self.sarea_sm, self.tview_sm_rules)
        REDTabSettingsServerMonitoring.setTabOrder(self.tview_sm_rules, self.pbutton_sm_add_rule)
        REDTabSettingsServerMonitoring.setTabOrder(self.pbutton_sm_add_rule, self.pbutton_sm_remove_all_rules)
        REDTabSettingsServerMonitoring.setTabOrder(self.pbutton_sm_remove_all_rules, self.tview_sm_hosts)
        REDTabSettingsServerMonitoring.setTabOrder(self.tview_sm_hosts, self.pbutton_sm_add_host)
        REDTabSettingsServerMonitoring.setTabOrder(self.pbutton_sm_add_host, self.pbutton_sm_remove_all_hosts)
        REDTabSettingsServerMonitoring.setTabOrder(self.pbutton_sm_remove_all_hosts, self.chkbox_sm_email_enable)
        REDTabSettingsServerMonitoring.setTabOrder(self.chkbox_sm_email_enable, self.ledit_sm_email_from)
        REDTabSettingsServerMonitoring.setTabOrder(self.ledit_sm_email_from, self.ledit_sm_email_to)
        REDTabSettingsServerMonitoring.setTabOrder(self.ledit_sm_email_to, self.ledit_sm_email_server)
        REDTabSettingsServerMonitoring.setTabOrder(self.ledit_sm_email_server, self.sbox_sm_email_port)
        REDTabSettingsServerMonitoring.setTabOrder(self.sbox_sm_email_port, self.ledit_sm_email_username)
        REDTabSettingsServerMonitoring.setTabOrder(self.ledit_sm_email_username, self.ledit_sm_email_password)
        REDTabSettingsServerMonitoring.setTabOrder(self.ledit_sm_email_password, self.chkbox_sm_email_password_show)
        REDTabSettingsServerMonitoring.setTabOrder(self.chkbox_sm_email_password_show, self.chkbox_sm_email_tls)
        REDTabSettingsServerMonitoring.setTabOrder(self.chkbox_sm_email_tls, self.pbutton_sm_refresh)
        REDTabSettingsServerMonitoring.setTabOrder(self.pbutton_sm_refresh, self.pbutton_sm_save)

    def retranslateUi(self, REDTabSettingsServerMonitoring):
        _translate = QtCore.QCoreApplication.translate
        REDTabSettingsServerMonitoring.setWindowTitle(_translate("REDTabSettingsServerMonitoring", "Form"))
        self.pbutton_sm_refresh.setText(_translate("REDTabSettingsServerMonitoring", "Refresh"))
        self.pbutton_sm_save.setText(_translate("REDTabSettingsServerMonitoring", "Save"))
        self.gbox_sm_hosts.setTitle(_translate("REDTabSettingsServerMonitoring", "Host Configuration"))
        self.pbutton_sm_add_host.setText(_translate("REDTabSettingsServerMonitoring", "Add Host"))
        self.pbutton_sm_remove_all_hosts.setText(_translate("REDTabSettingsServerMonitoring", "Remove All Hosts"))
        self.gbox_sm_email.setTitle(_translate("REDTabSettingsServerMonitoring", "Email Configuration"))
        self.chkbox_sm_email_enable.setText(_translate("REDTabSettingsServerMonitoring", "Enable Email Notifications"))
        self.label_sm_email_port.setText(_translate("REDTabSettingsServerMonitoring", "Port:"))
        self.label_sm_email_tls.setText(_translate("REDTabSettingsServerMonitoring", "SSL/TLS:"))
        self.label_sm_email_password.setText(_translate("REDTabSettingsServerMonitoring", "Password:"))
        self.chkbox_sm_email_password_show.setText(_translate("REDTabSettingsServerMonitoring", "Show Characters"))
        self.label_sm_email_from.setText(_translate("REDTabSettingsServerMonitoring", "From:"))
        self.label_sm_email_server.setText(_translate("REDTabSettingsServerMonitoring", "Server:"))
        self.label_sm_email_to.setText(_translate("REDTabSettingsServerMonitoring", "To:"))
        self.label_sm_email_username.setText(_translate("REDTabSettingsServerMonitoring", "Username:"))
        self.pbutton_sm_email_test.setText(_translate("REDTabSettingsServerMonitoring", "Send Test Email"))
        self.gbox_sm_rules.setTitle(_translate("REDTabSettingsServerMonitoring", "Rule Configuration"))
        self.pbutton_sm_add_rule.setText(_translate("REDTabSettingsServerMonitoring", "Add Rule"))
        self.pbutton_sm_remove_all_rules.setText(_translate("REDTabSettingsServerMonitoring", "Remove All Rules"))
        self.label.setText(_translate("REDTabSettingsServerMonitoring", "Nagios Web Interface URL: "))
        self.label_sm_url.setText(_translate("REDTabSettingsServerMonitoring", "http://<red-brick-ip>/nagios3"))
        self.label_4.setText(_translate("REDTabSettingsServerMonitoring", "nagiosadmin:tf"))
        self.label_3.setText(_translate("REDTabSettingsServerMonitoring", "Default Username and Password:"))
        self.label_sm_working_wait.setText(_translate("REDTabSettingsServerMonitoring", "Working, please wait..."))
        self.label_sm_disabled.setText(_translate("REDTabSettingsServerMonitoring", "Server monitoring service is disabled."))
        self.label_sm_unsupported.setText(_translate("REDTabSettingsServerMonitoring", "Server monitoring service requires image version >= 1.6"))
        self.label_sm_unsaved_changes.setText(_translate("REDTabSettingsServerMonitoring", "Unsaved changes will be lost on next refresh if not saved..."))
