mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 12:26:26 +00:00
wip: arcaea-offline==0.2.0
- fix imports
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
from arcaea_offline.models import ScoreInsert
|
||||
from arcaea_offline.models import Score
|
||||
from PySide6.QtCore import QModelIndex, Qt, Slot
|
||||
from PySide6.QtGui import QColor, QPalette
|
||||
from PySide6.QtWidgets import QMessageBox
|
||||
@ -21,9 +21,6 @@ class TableScoreDelegate(ScoreDelegate):
|
||||
def getChart(self, index):
|
||||
return index.data(DbScoreTableModel.ChartRole)
|
||||
|
||||
def getScoreInsert(self, index: QModelIndex) -> ScoreInsert | None:
|
||||
return super().getScoreInsert(index)
|
||||
|
||||
def getScore(self, index):
|
||||
return index.data(DbScoreTableModel.ScoreRole)
|
||||
|
||||
|
Reference in New Issue
Block a user