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

# Form implementation generated from reading ui file './../forms/AboutBox.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_AboutBox(object):
    def setupUi(self, AboutBox):
        AboutBox.setObjectName("AboutBox")
        AboutBox.resize(623, 350)
        AboutBox.setMinimumSize(QtCore.QSize(0, 0))
        AboutBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/root/question.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        AboutBox.setWindowIcon(icon)
        AboutBox.setModal(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(AboutBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.frame = QtWidgets.QFrame(AboutBox)
        self.frame.setStyleSheet("background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(233, 139, 31, 255), stop:1 rgba(255, 255, 255, 255));")
        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.frame)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label = QtWidgets.QLabel(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setStyleSheet("background-color: rgba(255, 255, 255, 0);\n"
"color: rgb(255, 255, 255);")
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
        self.btnCloseAbout = QtWidgets.QPushButton(self.frame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnCloseAbout.sizePolicy().hasHeightForWidth())
        self.btnCloseAbout.setSizePolicy(sizePolicy)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/root/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnCloseAbout.setIcon(icon1)
        self.btnCloseAbout.setObjectName("btnCloseAbout")
        self.horizontalLayout_3.addWidget(self.btnCloseAbout)
        self.horizontalLayout_2.addWidget(self.frame)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.edtText = QtWidgets.QTextEdit(AboutBox)
        self.edtText.setReadOnly(True)
        self.edtText.setAcceptRichText(False)
        self.edtText.setObjectName("edtText")
        self.verticalLayout.addWidget(self.edtText)

        self.retranslateUi(AboutBox)
        QtCore.QMetaObject.connectSlotsByName(AboutBox)

    def retranslateUi(self, AboutBox):
        _translate = QtCore.QCoreApplication.translate
        AboutBox.setWindowTitle(_translate("AboutBox", "About FL_PyTorch Research Tool"))
        self.label.setText(_translate("AboutBox", "<html><head/><body><p><span style=\" font-size:18pt;\">FL_PyTorch</span></p></body></html>"))
        self.btnCloseAbout.setText(_translate("AboutBox", " Close"))
        self.edtText.setHtml(_translate("AboutBox", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">FL_PyTorch Optimization Research Tool, 2021</p></body></html>"))
import resources_rc


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    AboutBox = QtWidgets.QDialog()
    ui = Ui_AboutBox()
    ui.setupUi(AboutBox)
    AboutBox.show()
    sys.exit(app.exec_())
