You've already forked HeurAMS-legacy
31 lines
785 B
Python
31 lines
785 B
Python
from textual.app import App, ComposeResult
|
|
from textual.events import Event
|
|
from textual.widgets import (
|
|
Collapsible,
|
|
Header,
|
|
Footer,
|
|
Markdown,
|
|
ListView,
|
|
ListItem,
|
|
Label,
|
|
Static,
|
|
Button,
|
|
)
|
|
from textual.containers import Container, Horizontal, Center
|
|
from textual.screen import Screen
|
|
from textual.widget import Widget
|
|
import uuid
|
|
from typing import Tuple, Dict
|
|
import heurams.kernel.particles as pt
|
|
import heurams.kernel.puzzles as pz
|
|
import re
|
|
import random
|
|
import copy
|
|
|
|
class Finished(Composition):
|
|
def __init__(self, screen: Screen, reactor, atom: Tuple[pt.Electron, pt.Nucleon, Dict], extra = {}):
|
|
super().__init__(screen, reactor, atom)
|
|
|
|
def compose(self):
|
|
yield Label("本次记忆进程结束", id=self.regid("msg"))
|