Mods
This commit is contained in:
parent
8f2890d582
commit
969d8f1a0f
|
@ -1,6 +1,7 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from PySide6.QtWidgets import QHBoxLayout # type: ignore
|
from PySide6.QtWidgets import QHBoxLayout # type: ignore
|
||||||
from PySide6.QtWidgets import QVBoxLayout
|
from PySide6.QtWidgets import QVBoxLayout
|
||||||
|
@ -23,10 +24,10 @@ from .window import Window
|
||||||
from .settings import Settings
|
from .settings import Settings
|
||||||
|
|
||||||
|
|
||||||
|
@dataclass
|
||||||
class Opt:
|
class Opt:
|
||||||
def __init__(self, value: int, weight: int) -> None:
|
value: int
|
||||||
self.value = value
|
weight: int
|
||||||
self.weight = weight
|
|
||||||
|
|
||||||
|
|
||||||
class Method:
|
class Method:
|
||||||
|
|
Loading…
Reference in New Issue