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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_overview.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_REDTabOverview(object):
    def setupUi(self, REDTabOverview):
        REDTabOverview.setObjectName("REDTabOverview")
        REDTabOverview.resize(679, 620)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(REDTabOverview)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.button_refresh = QtWidgets.QPushButton(REDTabOverview)
        self.button_refresh.setEnabled(False)
        self.button_refresh.setMinimumSize(QtCore.QSize(150, 0))
        self.button_refresh.setCheckable(False)
        self.button_refresh.setChecked(False)
        self.button_refresh.setFlat(False)
        self.button_refresh.setObjectName("button_refresh")
        self.horizontalLayout.addWidget(self.button_refresh)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.scrollArea = QtWidgets.QScrollArea(REDTabOverview)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 643, 696))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gbox_process = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_process.setObjectName("gbox_process")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.gbox_process)
        self.verticalLayout.setObjectName("verticalLayout")
        self.glayout_process = QtWidgets.QGridLayout()
        self.glayout_process.setObjectName("glayout_process")
        self.label_based_on = QtWidgets.QLabel(self.gbox_process)
        self.label_based_on.setObjectName("label_based_on")
        self.glayout_process.addWidget(self.label_based_on, 0, 2, 1, 1)
        self.label_top = QtWidgets.QLabel(self.gbox_process)
        self.label_top.setObjectName("label_top")
        self.glayout_process.addWidget(self.label_top, 0, 0, 1, 1)
        self.cbox_based_on = QtWidgets.QComboBox(self.gbox_process)
        self.cbox_based_on.setObjectName("cbox_based_on")
        self.glayout_process.addWidget(self.cbox_based_on, 0, 3, 1, 1)
        self.sbox_number_of_process = QtWidgets.QSpinBox(self.gbox_process)
        self.sbox_number_of_process.setMinimum(1)
        self.sbox_number_of_process.setMaximum(9999)
        self.sbox_number_of_process.setProperty("value", 5)
        self.sbox_number_of_process.setObjectName("sbox_number_of_process")
        self.glayout_process.addWidget(self.sbox_number_of_process, 0, 1, 1, 1)
        self.label_usage = QtWidgets.QLabel(self.gbox_process)
        self.label_usage.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_usage.setObjectName("label_usage")
        self.glayout_process.addWidget(self.label_usage, 0, 4, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.glayout_process.addItem(spacerItem2, 0, 5, 1, 1)
        self.tview_process = QtWidgets.QTreeView(self.gbox_process)
        self.tview_process.setMinimumSize(QtCore.QSize(0, 150))
        self.tview_process.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tview_process.setAlternatingRowColors(True)
        self.tview_process.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.tview_process.setRootIsDecorated(False)
        self.tview_process.setSortingEnabled(True)
        self.tview_process.setObjectName("tview_process")
        self.glayout_process.addWidget(self.tview_process, 1, 0, 1, 6)
        self.verticalLayout.addLayout(self.glayout_process)
        self.gridLayout_2.addWidget(self.gbox_process, 2, 0, 1, 1)
        self.gbox_network = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_network.setObjectName("gbox_network")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.gbox_network)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.glayout_nic = QtWidgets.QGridLayout()
        self.glayout_nic.setObjectName("glayout_nic")
        self.tview_nic = QtWidgets.QTreeView(self.gbox_network)
        self.tview_nic.setMinimumSize(QtCore.QSize(0, 100))
        self.tview_nic.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.tview_nic.setAlternatingRowColors(True)
        self.tview_nic.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.tview_nic.setRootIsDecorated(False)
        self.tview_nic.setSortingEnabled(True)
        self.tview_nic.setObjectName("tview_nic")
        self.glayout_nic.addWidget(self.tview_nic, 0, 0, 1, 1)
        self.verticalLayout_4.addLayout(self.glayout_nic)
        self.gridLayout_2.addWidget(self.gbox_network, 3, 0, 1, 1)
        self.gbox_status = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
        self.gbox_status.setObjectName("gbox_status")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbox_status)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.pbar_storage = QtWidgets.QProgressBar(self.gbox_status)
        self.pbar_storage.setProperty("value", 0)
        self.pbar_storage.setAlignment(QtCore.Qt.AlignCenter)
        self.pbar_storage.setObjectName("pbar_storage")
        self.gridLayout.addWidget(self.pbar_storage, 3, 1, 1, 1)
        self.label_uptime_value = QtWidgets.QLabel(self.gbox_status)
        self.label_uptime_value.setAlignment(QtCore.Qt.AlignCenter)
        self.label_uptime_value.setObjectName("label_uptime_value")
        self.gridLayout.addWidget(self.label_uptime_value, 0, 1, 1, 1)
        self.label_storage = QtWidgets.QLabel(self.gbox_status)
        self.label_storage.setObjectName("label_storage")
        self.gridLayout.addWidget(self.label_storage, 3, 0, 1, 1)
        self.label_uptime = QtWidgets.QLabel(self.gbox_status)
        self.label_uptime.setObjectName("label_uptime")
        self.gridLayout.addWidget(self.label_uptime, 0, 0, 1, 1)
        self.pbar_memory = QtWidgets.QProgressBar(self.gbox_status)
        self.pbar_memory.setProperty("value", 0)
        self.pbar_memory.setAlignment(QtCore.Qt.AlignCenter)
        self.pbar_memory.setObjectName("pbar_memory")
        self.gridLayout.addWidget(self.pbar_memory, 2, 1, 1, 1)
        self.label_cpu = QtWidgets.QLabel(self.gbox_status)
        self.label_cpu.setObjectName("label_cpu")
        self.gridLayout.addWidget(self.label_cpu, 1, 0, 1, 1)
        self.pbar_cpu = QtWidgets.QProgressBar(self.gbox_status)
        self.pbar_cpu.setProperty("value", 0)
        self.pbar_cpu.setAlignment(QtCore.Qt.AlignCenter)
        self.pbar_cpu.setObjectName("pbar_cpu")
        self.gridLayout.addWidget(self.pbar_cpu, 1, 1, 1, 1)
        self.label_memory = QtWidgets.QLabel(self.gbox_status)
        self.label_memory.setObjectName("label_memory")
        self.gridLayout.addWidget(self.label_memory, 2, 0, 1, 1)
        self.label_pbar_cpu = QtWidgets.QLabel(self.gbox_status)
        self.label_pbar_cpu.setObjectName("label_pbar_cpu")
        self.gridLayout.addWidget(self.label_pbar_cpu, 1, 2, 1, 1)
        self.label_pbar_memory = QtWidgets.QLabel(self.gbox_status)
        self.label_pbar_memory.setObjectName("label_pbar_memory")
        self.gridLayout.addWidget(self.label_pbar_memory, 2, 2, 1, 1)
        self.label_pbar_storage = QtWidgets.QLabel(self.gbox_status)
        self.label_pbar_storage.setObjectName("label_pbar_storage")
        self.gridLayout.addWidget(self.label_pbar_storage, 3, 2, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout)
        self.gridLayout_2.addWidget(self.gbox_status, 1, 0, 1, 1)
        self.label_error = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_error.setWordWrap(True)
        self.label_error.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.label_error.setObjectName("label_error")
        self.gridLayout_2.addWidget(self.label_error, 0, 0, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_5.addWidget(self.scrollArea)

        self.retranslateUi(REDTabOverview)
        QtCore.QMetaObject.connectSlotsByName(REDTabOverview)
        REDTabOverview.setTabOrder(self.button_refresh, self.scrollArea)
        REDTabOverview.setTabOrder(self.scrollArea, self.sbox_number_of_process)
        REDTabOverview.setTabOrder(self.sbox_number_of_process, self.cbox_based_on)
        REDTabOverview.setTabOrder(self.cbox_based_on, self.tview_process)
        REDTabOverview.setTabOrder(self.tview_process, self.tview_nic)

    def retranslateUi(self, REDTabOverview):
        _translate = QtCore.QCoreApplication.translate
        REDTabOverview.setWindowTitle(_translate("REDTabOverview", "REDTabOverview"))
        self.button_refresh.setText(_translate("REDTabOverview", "Collecting data..."))
        self.gbox_process.setTitle(_translate("REDTabOverview", "Processes"))
        self.label_based_on.setText(_translate("REDTabOverview", "processes based on"))
        self.label_top.setText(_translate("REDTabOverview", "Top"))
        self.label_usage.setText(_translate("REDTabOverview", "usage"))
        self.gbox_network.setTitle(_translate("REDTabOverview", "Network Interfaces"))
        self.gbox_status.setTitle(_translate("REDTabOverview", "Status"))
        self.pbar_storage.setFormat(_translate("REDTabOverview", "Collecting data..."))
        self.label_uptime_value.setText(_translate("REDTabOverview", "Collecting data..."))
        self.label_storage.setText(_translate("REDTabOverview", "Storage:"))
        self.label_uptime.setText(_translate("REDTabOverview", "Uptime:"))
        self.pbar_memory.setFormat(_translate("REDTabOverview", "Collecting data..."))
        self.label_cpu.setText(_translate("REDTabOverview", "CPU:"))
        self.pbar_cpu.setFormat(_translate("REDTabOverview", "Collecting data..."))
        self.label_memory.setText(_translate("REDTabOverview", "Memory:"))
        self.label_pbar_cpu.setText(_translate("REDTabOverview", "<cpu>"))
        self.label_pbar_memory.setText(_translate("REDTabOverview", "<memory>"))
        self.label_pbar_storage.setText(_translate("REDTabOverview", "<storage>"))
        self.label_error.setText(_translate("REDTabOverview", "<error>"))
