# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'welcome.ui'
##
## Created by: Qt User Interface Compiler version 6.6.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, QGridLayout, QHeaderView, QLabel,
QMainWindow, QMenuBar, QPushButton, QSizePolicy,
QStatusBar, QTableView, QTextEdit, QWidget)
[docs]
class Ui_MainWindow(object):
[docs]
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(900, 545)
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.gridLayout_2 = QGridLayout(self.centralwidget)
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.recentProjectsLabel = QLabel(self.centralwidget)
self.recentProjectsLabel.setObjectName(u"recentProjectsLabel")
font = QFont()
font.setPointSize(20)
font.setBold(True)
self.recentProjectsLabel.setFont(font)
self.gridLayout_2.addWidget(self.recentProjectsLabel, 1, 0, 1, 1)
self.recentProjectsTableView = QTableView(self.centralwidget)
self.recentProjectsTableView.setObjectName(u"recentProjectsTableView")
sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.recentProjectsTableView.sizePolicy().hasHeightForWidth())
self.recentProjectsTableView.setSizePolicy(sizePolicy)
self.gridLayout_2.addWidget(self.recentProjectsTableView, 2, 0, 1, 1)
self.gridLayout = QGridLayout()
self.gridLayout.setObjectName(u"gridLayout")
self.openProjectBtn = QPushButton(self.centralwidget)
self.openProjectBtn.setObjectName(u"openProjectBtn")
self.gridLayout.addWidget(self.openProjectBtn, 3, 2, 1, 2)
self.textEdit = QTextEdit(self.centralwidget)
self.textEdit.setObjectName(u"textEdit")
self.textEdit.setEnabled(True)
sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.textEdit.sizePolicy().hasHeightForWidth())
self.textEdit.setSizePolicy(sizePolicy1)
self.textEdit.setMinimumSize(QSize(500, 2))
self.textEdit.setReadOnly(True)
self.textEdit.setTextInteractionFlags(Qt.LinksAccessibleByKeyboard|Qt.LinksAccessibleByMouse|Qt.TextBrowserInteraction|Qt.TextSelectableByKeyboard|Qt.TextSelectableByMouse)
self.gridLayout.addWidget(self.textEdit, 0, 2, 1, 2)
self.newProjectBtn = QPushButton(self.centralwidget)
self.newProjectBtn.setObjectName(u"newProjectBtn")
self.gridLayout.addWidget(self.newProjectBtn, 1, 2, 1, 2)
self.label = QLabel(self.centralwidget)
self.label.setObjectName(u"label")
self.label.setEnabled(True)
sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
sizePolicy2.setHorizontalStretch(0)
sizePolicy2.setVerticalStretch(0)
sizePolicy2.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy2)
self.label.setMinimumSize(QSize(200, 200))
self.label.setMaximumSize(QSize(16777215, 16777215))
self.label.setSizeIncrement(QSize(0, 0))
self.label.setBaseSize(QSize(50, 50))
font1 = QFont()
font1.setPointSize(1)
self.label.setFont(font1)
self.label.setPixmap(QPixmap(u"docs/_static/ManimStudioLogoDark.png"))
self.label.setScaledContents(False)
self.label.setAlignment(Qt.AlignCenter)
self.label.setWordWrap(False)
self.label.setMargin(0)
self.label.setIndent(-1)
self.gridLayout.addWidget(self.label, 0, 1, 4, 1)
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QMenuBar(MainWindow)
self.menubar.setObjectName(u"menubar")
self.menubar.setGeometry(QRect(0, 0, 900, 27))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QStatusBar(MainWindow)
self.statusbar.setObjectName(u"statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QMetaObject.connectSlotsByName(MainWindow)
# setupUi
[docs]
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
self.recentProjectsLabel.setText(QCoreApplication.translate("MainWindow", u"Recent projects:", None))
self.openProjectBtn.setText(QCoreApplication.translate("MainWindow", u"Open project", None))
self.textEdit.setHtml(QCoreApplication.translate("MainWindow", u"<!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\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"hr { height: 1px; border-width: 0; }\n"
"li.unchecked::marker { content: \"\\2610\"; }\n"
"li.checked::marker { content: \"\\2612\"; }\n"
"</style></head><body style=\" font-family:'Inter Light'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Noto Sans'; font-size:20pt;\">Welcome to ManimStudio!</span></p></body></html>", None))
self.newProjectBtn.setText(QCoreApplication.translate("MainWindow", u"Create new project", None))
self.label.setText("")
# retranslateUi