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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/red_tab_settings_filesystem.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_REDTabSettingsFileSystem(object):
    def setupUi(self, REDTabSettingsFileSystem):
        REDTabSettingsFileSystem.setObjectName("REDTabSettingsFileSystem")
        REDTabSettingsFileSystem.resize(513, 596)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(REDTabSettingsFileSystem)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(REDTabSettingsFileSystem)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 493, 576))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.line_4 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.gridLayout_5.addWidget(self.line_4, 4, 0, 1, 1)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.pbar_fs_capacity_utilization = QtWidgets.QProgressBar(self.scrollAreaWidgetContents)
        self.pbar_fs_capacity_utilization.setEnabled(False)
        self.pbar_fs_capacity_utilization.setMaximum(0)
        self.pbar_fs_capacity_utilization.setProperty("value", 0)
        self.pbar_fs_capacity_utilization.setAlignment(QtCore.Qt.AlignCenter)
        self.pbar_fs_capacity_utilization.setFormat("")
        self.pbar_fs_capacity_utilization.setObjectName("pbar_fs_capacity_utilization")
        self.horizontalLayout_13.addWidget(self.pbar_fs_capacity_utilization)
        self.label_pbar_fs_capacity_utilization = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_pbar_fs_capacity_utilization.setObjectName("label_pbar_fs_capacity_utilization")
        self.horizontalLayout_13.addWidget(self.label_pbar_fs_capacity_utilization)
        self.gridLayout_5.addLayout(self.horizontalLayout_13, 2, 0, 1, 1)
        self.pbutton_fs_expand = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.pbutton_fs_expand.setEnabled(False)
        self.pbutton_fs_expand.setObjectName("pbutton_fs_expand")
        self.gridLayout_5.addWidget(self.pbutton_fs_expand, 5, 0, 1, 1)
        self.label_fs_expand_info = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_fs_expand_info.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_fs_expand_info.setWordWrap(True)
        self.label_fs_expand_info.setObjectName("label_fs_expand_info")
        self.gridLayout_5.addWidget(self.label_fs_expand_info, 0, 0, 1, 1)
        self.line = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout_5.addWidget(self.line, 1, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_5)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)

        self.retranslateUi(REDTabSettingsFileSystem)
        QtCore.QMetaObject.connectSlotsByName(REDTabSettingsFileSystem)
        REDTabSettingsFileSystem.setTabOrder(self.scrollArea, self.pbutton_fs_expand)

    def retranslateUi(self, REDTabSettingsFileSystem):
        _translate = QtCore.QCoreApplication.translate
        REDTabSettingsFileSystem.setWindowTitle(_translate("REDTabSettingsFileSystem", "Form"))
        self.label_pbar_fs_capacity_utilization.setText(_translate("REDTabSettingsFileSystem", "<capacity-utilization>"))
        self.pbutton_fs_expand.setText(_translate("REDTabSettingsFileSystem", "Reboot and Expand"))
        self.label_fs_expand_info.setText(_translate("REDTabSettingsFileSystem", "<html><body><p>Depending on the image size and the capacity of the Micro-SD card you might not be using the total capacity of the Micro-SD card. In this case expanding the file system will provide you with some extra storage space. </p><p><b>Steps:</b></p><p>1. Make sure the RED Brick is powered from a reliable power source during the expansion process and do not power it off during the expansion process. This could damage the Micro-SD card and the data in it. </p><p>2. After clicking the Expand button the RED Brick will automatically reboot and then expand the file system. This process may take a moment. Depending on the size and speed of the Micro-SD card it can take 1 to 15 minutes until the RED Brick will show up again in Brick Viewer.</p></body></html>"))
