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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/red/ui/program_page_download.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_ProgramPageDownload(object):
    def setupUi(self, ProgramPageDownload):
        ProgramPageDownload.setObjectName("ProgramPageDownload")
        ProgramPageDownload.resize(597, 688)
        self.verticalLayout = QtWidgets.QVBoxLayout(ProgramPageDownload)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(ProgramPageDownload)
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.progress_total = QtWidgets.QProgressBar(ProgramPageDownload)
        self.progress_total.setProperty("value", 0)
        self.progress_total.setAlignment(QtCore.Qt.AlignCenter)
        self.progress_total.setObjectName("progress_total")
        self.gridLayout.addWidget(self.progress_total, 0, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(ProgramPageDownload)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.label_current_step = QtWidgets.QLabel(ProgramPageDownload)
        self.label_current_step.setTextFormat(QtCore.Qt.PlainText)
        self.label_current_step.setObjectName("label_current_step")
        self.gridLayout.addWidget(self.label_current_step, 1, 1, 1, 1)
        self.progress_file = QtWidgets.QProgressBar(ProgramPageDownload)
        self.progress_file.setProperty("value", 0)
        self.progress_file.setAlignment(QtCore.Qt.AlignCenter)
        self.progress_file.setObjectName("progress_file")
        self.gridLayout.addWidget(self.progress_file, 2, 1, 1, 1)
        self.edit_log = QtWidgets.QPlainTextEdit(ProgramPageDownload)
        self.edit_log.setUndoRedoEnabled(False)
        self.edit_log.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.edit_log.setReadOnly(True)
        self.edit_log.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.edit_log.setObjectName("edit_log")
        self.gridLayout.addWidget(self.edit_log, 3, 1, 1, 1)
        self.line1 = QtWidgets.QFrame(ProgramPageDownload)
        self.line1.setFrameShape(QtWidgets.QFrame.HLine)
        self.line1.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line1.setObjectName("line1")
        self.gridLayout.addWidget(self.line1, 4, 0, 1, 2)
        self.label_replace_icon = QtWidgets.QLabel(ProgramPageDownload)
        self.label_replace_icon.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_replace_icon.setObjectName("label_replace_icon")
        self.gridLayout.addWidget(self.label_replace_icon, 5, 0, 1, 1)
        self.label_replace_help = QtWidgets.QLabel(ProgramPageDownload)
        self.label_replace_help.setTextFormat(QtCore.Qt.PlainText)
        self.label_replace_help.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_replace_help.setWordWrap(True)
        self.label_replace_help.setObjectName("label_replace_help")
        self.gridLayout.addWidget(self.label_replace_help, 5, 1, 1, 1)
        self.button_start_download = QtWidgets.QPushButton(ProgramPageDownload)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_start_download.sizePolicy().hasHeightForWidth())
        self.button_start_download.setSizePolicy(sizePolicy)
        self.button_start_download.setObjectName("button_start_download")
        self.gridLayout.addWidget(self.button_start_download, 15, 1, 1, 1)
        self.line2 = QtWidgets.QFrame(ProgramPageDownload)
        self.line2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line2.setObjectName("line2")
        self.gridLayout.addWidget(self.line2, 14, 0, 1, 2)
        self.label_existing_file = QtWidgets.QLabel(ProgramPageDownload)
        self.label_existing_file.setObjectName("label_existing_file")
        self.gridLayout.addWidget(self.label_existing_file, 6, 0, 1, 1)
        self.label_new_file = QtWidgets.QLabel(ProgramPageDownload)
        self.label_new_file.setObjectName("label_new_file")
        self.gridLayout.addWidget(self.label_new_file, 7, 0, 1, 1)
        self.label_existing_stats = QtWidgets.QLabel(ProgramPageDownload)
        self.label_existing_stats.setObjectName("label_existing_stats")
        self.gridLayout.addWidget(self.label_existing_stats, 6, 1, 1, 1)
        self.label_new_stats = QtWidgets.QLabel(ProgramPageDownload)
        self.label_new_stats.setObjectName("label_new_stats")
        self.gridLayout.addWidget(self.label_new_stats, 7, 1, 1, 1)
        self.label_new_name = QtWidgets.QLabel(ProgramPageDownload)
        self.label_new_name.setObjectName("label_new_name")
        self.gridLayout.addWidget(self.label_new_name, 9, 0, 1, 1)
        self.check_rename_new_file = QtWidgets.QCheckBox(ProgramPageDownload)
        self.check_rename_new_file.setObjectName("check_rename_new_file")
        self.gridLayout.addWidget(self.check_rename_new_file, 8, 1, 1, 1)
        self.check_remember_decision = QtWidgets.QCheckBox(ProgramPageDownload)
        self.check_remember_decision.setObjectName("check_remember_decision")
        self.gridLayout.addWidget(self.check_remember_decision, 12, 1, 1, 1)
        self.label_new_name_help_posix = QtWidgets.QLabel(ProgramPageDownload)
        self.label_new_name_help_posix.setWordWrap(True)
        self.label_new_name_help_posix.setObjectName("label_new_name_help_posix")
        self.gridLayout.addWidget(self.label_new_name_help_posix, 10, 1, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.edit_new_name = QtWidgets.QLineEdit(ProgramPageDownload)
        self.edit_new_name.setObjectName("edit_new_name")
        self.horizontalLayout.addWidget(self.edit_new_name)
        self.button_reset_new_name = QtWidgets.QPushButton(ProgramPageDownload)
        self.button_reset_new_name.setObjectName("button_reset_new_name")
        self.horizontalLayout.addWidget(self.button_reset_new_name)
        self.gridLayout.addLayout(self.horizontalLayout, 9, 1, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.button_replace = QtWidgets.QPushButton(ProgramPageDownload)
        self.button_replace.setObjectName("button_replace")
        self.horizontalLayout_2.addWidget(self.button_replace)
        self.button_rename = QtWidgets.QPushButton(ProgramPageDownload)
        self.button_rename.setObjectName("button_rename")
        self.horizontalLayout_2.addWidget(self.button_rename)
        self.button_skip = QtWidgets.QPushButton(ProgramPageDownload)
        self.button_skip.setObjectName("button_skip")
        self.horizontalLayout_2.addWidget(self.button_skip)
        self.gridLayout.addLayout(self.horizontalLayout_2, 13, 1, 1, 1)
        self.label_new_name_help_windows = QtWidgets.QLabel(ProgramPageDownload)
        self.label_new_name_help_windows.setWordWrap(True)
        self.label_new_name_help_windows.setObjectName("label_new_name_help_windows")
        self.gridLayout.addWidget(self.label_new_name_help_windows, 11, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.label_4.setBuddy(self.edit_log)
        self.label_new_name.setBuddy(self.edit_new_name)

        self.retranslateUi(ProgramPageDownload)
        QtCore.QMetaObject.connectSlotsByName(ProgramPageDownload)
        ProgramPageDownload.setTabOrder(self.edit_log, self.check_rename_new_file)
        ProgramPageDownload.setTabOrder(self.check_rename_new_file, self.edit_new_name)
        ProgramPageDownload.setTabOrder(self.edit_new_name, self.button_reset_new_name)
        ProgramPageDownload.setTabOrder(self.button_reset_new_name, self.check_remember_decision)
        ProgramPageDownload.setTabOrder(self.check_remember_decision, self.button_replace)
        ProgramPageDownload.setTabOrder(self.button_replace, self.button_rename)
        ProgramPageDownload.setTabOrder(self.button_rename, self.button_skip)
        ProgramPageDownload.setTabOrder(self.button_skip, self.button_start_download)

    def retranslateUi(self, ProgramPageDownload):
        _translate = QtCore.QCoreApplication.translate
        ProgramPageDownload.setWindowTitle(_translate("ProgramPageDownload", "Form"))
        self.label.setText(_translate("ProgramPageDownload", "Progress:"))
        self.label_4.setText(_translate("ProgramPageDownload", "Log:"))
        self.label_current_step.setText(_translate("ProgramPageDownload", "Waiting for start..."))
        self.label_replace_icon.setText(_translate("ProgramPageDownload", "<icon>"))
        self.label_replace_help.setText(_translate("ProgramPageDownload", "A file named \'<FILE>\' already exists in the download directory. Should the existing file be replaced with the new file (Replace), or should the new file be downloaded with a different name (Rename), or should this file be skipped completely (Skip)?"))
        self.button_start_download.setText(_translate("ProgramPageDownload", "Start Download"))
        self.label_existing_file.setText(_translate("ProgramPageDownload", "Existing File:"))
        self.label_new_file.setText(_translate("ProgramPageDownload", "New File:"))
        self.label_existing_stats.setText(_translate("ProgramPageDownload", "<existing-stats>"))
        self.label_new_stats.setText(_translate("ProgramPageDownload", "<new-stats>"))
        self.label_new_name.setText(_translate("ProgramPageDownload", "New Name:"))
        self.check_rename_new_file.setText(_translate("ProgramPageDownload", "Rename New File"))
        self.check_remember_decision.setText(_translate("ProgramPageDownload", "Remember Decision"))
        self.label_new_name_help_posix.setText(_translate("ProgramPageDownload", "A valid new file name cannot be equal to the existing file name, cannot be empty, cannot be one dot [.], cannot be two dots [..] and cannot contain a forward slash [/]."))
        self.button_reset_new_name.setText(_translate("ProgramPageDownload", "Reset"))
        self.button_replace.setText(_translate("ProgramPageDownload", "Replace"))
        self.button_rename.setText(_translate("ProgramPageDownload", "Rename"))
        self.button_skip.setText(_translate("ProgramPageDownload", "Skip"))
        self.label_new_name_help_windows.setText(_translate("ProgramPageDownload", "A valid new file name cannot be equal to the existing file name, cannot be empty and cannot contain any special charachter [\\/:?*\"<>|]."))
