mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-11-07 04:52:15 +00:00
22 lines
444 B
Python
22 lines
444 B
Python
from PySide6.QtCore import Property, QObject, Signal
|
|
from PySide6.QtQml import QmlElement
|
|
|
|
from .common import VM_QML_IMPORT_NAME
|
|
|
|
QML_IMPORT_NAME = VM_QML_IMPORT_NAME
|
|
QML_IMPORT_MAJOR_VERSION = 1
|
|
QML_IMPORT_MINOR_VERSION = 0
|
|
|
|
|
|
@QmlElement
|
|
class OverviewViewModel(QObject):
|
|
_void = Signal()
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
def get_b30(self):
|
|
return 0
|
|
|
|
b30 = Property(float, get_b30, None, notify=_void)
|