mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 20:36:26 +00:00
refactor: split TabInputScore
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>514</width>
|
||||
<width>500</width>
|
||||
<height>400</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -15,66 +15,15 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>tab.selectChart</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="ChartSelector" name="chartSelector" native="true"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="title">
|
||||
<string>tab.scoreEdit</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="ScoreEditor" name="scoreEditor" native="true"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="ChartAndScoreInput" name="chartAndScoreInput" native="true"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>ChartSelector</class>
|
||||
<class>ChartAndScoreInput</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>ui.implements.components.chartSelector</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>ScoreEditor</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>ui.implements.components.scoreEditor</header>
|
||||
<header>ui.implements.components.chartAndScoreInput</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
|
@ -1,69 +1,44 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'tabInputScore.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.5.2
|
||||
##
|
||||
## 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, QGroupBox, QSizePolicy, QVBoxLayout,
|
||||
QWidget)
|
||||
|
||||
from ui.implements.components.chartSelector import ChartSelector
|
||||
from ui.implements.components.scoreEditor import ScoreEditor
|
||||
|
||||
class Ui_TabInputScore(object):
|
||||
def setupUi(self, TabInputScore):
|
||||
if not TabInputScore.objectName():
|
||||
TabInputScore.setObjectName(u"TabInputScore")
|
||||
TabInputScore.resize(514, 400)
|
||||
TabInputScore.setWindowTitle(u"TabInputScore")
|
||||
self.verticalLayout = QVBoxLayout(TabInputScore)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.groupBox = QGroupBox(TabInputScore)
|
||||
self.groupBox.setObjectName(u"groupBox")
|
||||
self.verticalLayout_2 = QVBoxLayout(self.groupBox)
|
||||
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
||||
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
||||
self.chartSelector = ChartSelector(self.groupBox)
|
||||
self.chartSelector.setObjectName(u"chartSelector")
|
||||
|
||||
self.verticalLayout_2.addWidget(self.chartSelector)
|
||||
|
||||
|
||||
self.verticalLayout.addWidget(self.groupBox)
|
||||
|
||||
self.groupBox_2 = QGroupBox(TabInputScore)
|
||||
self.groupBox_2.setObjectName(u"groupBox_2")
|
||||
self.verticalLayout_3 = QVBoxLayout(self.groupBox_2)
|
||||
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
|
||||
self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
|
||||
self.scoreEditor = ScoreEditor(self.groupBox_2)
|
||||
self.scoreEditor.setObjectName(u"scoreEditor")
|
||||
|
||||
self.verticalLayout_3.addWidget(self.scoreEditor)
|
||||
|
||||
|
||||
self.verticalLayout.addWidget(self.groupBox_2)
|
||||
|
||||
|
||||
self.retranslateUi(TabInputScore)
|
||||
|
||||
QMetaObject.connectSlotsByName(TabInputScore)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, TabInputScore):
|
||||
self.groupBox.setTitle(QCoreApplication.translate("TabInputScore", u"tab.selectChart", None))
|
||||
self.groupBox_2.setTitle(QCoreApplication.translate("TabInputScore", u"tab.scoreEdit", None))
|
||||
pass
|
||||
# retranslateUi
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'tabInputScore.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.5.2
|
||||
##
|
||||
## 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, QSizePolicy, QVBoxLayout, QWidget)
|
||||
|
||||
from ui.implements.components.chartAndScoreInput import ChartAndScoreInput
|
||||
|
||||
class Ui_TabInputScore(object):
|
||||
def setupUi(self, TabInputScore):
|
||||
if not TabInputScore.objectName():
|
||||
TabInputScore.setObjectName(u"TabInputScore")
|
||||
TabInputScore.resize(500, 400)
|
||||
TabInputScore.setWindowTitle(u"TabInputScore")
|
||||
self.verticalLayout = QVBoxLayout(TabInputScore)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.chartAndScoreInput = ChartAndScoreInput(TabInputScore)
|
||||
self.chartAndScoreInput.setObjectName(u"chartAndScoreInput")
|
||||
|
||||
self.verticalLayout.addWidget(self.chartAndScoreInput)
|
||||
|
||||
|
||||
self.retranslateUi(TabInputScore)
|
||||
|
||||
QMetaObject.connectSlotsByName(TabInputScore)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, TabInputScore):
|
||||
pass
|
||||
# retranslateUi
|
||||
|
||||
|
Reference in New Issue
Block a user