Files
tidal-dl/tidal_dl_ng/model/gui_data.py
T

34 lines
509 B
Python
Raw Normal View History

2023-12-19 23:58:57 +01:00
from dataclasses import dataclass
try:
from PySide6 import QtCore
@dataclass
class ProgressBars:
item: QtCore.Signal
item_name: QtCore.Signal
list_item: QtCore.Signal
2024-01-12 10:51:30 +01:00
2023-12-19 23:58:57 +01:00
except ModuleNotFoundError:
2024-01-12 10:51:30 +01:00
2023-12-19 23:58:57 +01:00
class ProgressBars:
pass
# TODO: Remove if not used?
@dataclass
class UserList:
name: str
count: str
obj: object
@dataclass
class ResultSearch:
position: int
artist: str
title: str
album: str
duration_sec: int
obj: object