# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'splash.ui'
##
## Created by: Qt User Interface Compiler version 6.10.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QDialog, QFrame, QHBoxLayout,
QLabel, QProgressBar, QSizePolicy, QVBoxLayout,
QWidget)
import RWESharp.ui.res_rc
import RWESharp.ui.res_rc
[docs]
class Ui_Splash(object):
[docs]
def setupUi(self, Splash):
if not Splash.objectName():
Splash.setObjectName(u"Splash")
Splash.resize(489, 316)
icon = QIcon()
icon.addFile(u":/icons/icon_small.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
Splash.setWindowIcon(icon)
self.verticalLayout = QVBoxLayout(Splash)
self.verticalLayout.setObjectName(u"verticalLayout")
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.label = QLabel(Splash)
self.label.setObjectName(u"label")
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.horizontalLayout.addWidget(self.label)
self.label_2 = QLabel(Splash)
self.label_2.setObjectName(u"label_2")
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)
self.horizontalLayout.addWidget(self.label_2)
self.verticalLayout.addLayout(self.horizontalLayout)
self.header = QLabel(Splash)
self.header.setObjectName(u"header")
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(1)
sizePolicy1.setHeightForWidth(self.header.sizePolicy().hasHeightForWidth())
self.header.setSizePolicy(sizePolicy1)
self.header.setAutoFillBackground(False)
self.header.setFrameShape(QFrame.Shape.NoFrame)
self.header.setPixmap(QPixmap(u":/image/splash.png"))
self.header.setScaledContents(False)
self.header.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.header.setWordWrap(False)
self.verticalLayout.addWidget(self.header)
self.progressBar = QProgressBar(Splash)
self.progressBar.setObjectName(u"progressBar")
self.progressBar.setValue(0)
self.progressBar.setTextVisible(True)
self.progressBar.setInvertedAppearance(False)
self.verticalLayout.addWidget(self.progressBar)
self.retranslateUi(Splash)
QMetaObject.connectSlotsByName(Splash)
# setupUi
[docs]
def retranslateUi(self, Splash):
Splash.setWindowTitle(QCoreApplication.translate("Splash", u"Loading Screen", None))
self.label.setText(QCoreApplication.translate("Splash", u"loading", None))
self.label_2.setText(QCoreApplication.translate("Splash", u"Progress", None))
self.header.setText("")
# retranslateUi