Added saving and filling buttons from file.

TODO: Fix too long names and add functionality that removes buttons that are removed from list
This commit is contained in:
BarsTiger
2022-11-13 23:17:48 +02:00
parent 7fdea66d03
commit 4213b7333d
8 changed files with 291 additions and 183 deletions

10
modules/padslist/model.py Normal file
View File

@@ -0,0 +1,10 @@
from dataclasses import dataclass
from dataclasses_json import dataclass_json
from typing import Dict
@dataclass_json
@dataclass(frozen=True)
class PadsModel:
first_pads: Dict[str, str]
second_pads: Dict[str, str]