feat: 改进粒子对象
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""关于界面
|
||||
"""
|
||||
from textual.app import ComposeResult
|
||||
from textual.containers import ScrollableContainer
|
||||
from textual.screen import Screen
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""仪表盘界面
|
||||
"""
|
||||
import pathlib
|
||||
|
||||
from textual.app import ComposeResult
|
||||
@@ -187,7 +188,7 @@ class DashboardScreen(Screen):
|
||||
button_id = event.button.id
|
||||
|
||||
if button_id == "new_nucleon_button":
|
||||
from .nucreator import NucleonCreatorScreen
|
||||
from .repocreator import NucleonCreatorScreen
|
||||
|
||||
new_screen = NucleonCreatorScreen()
|
||||
self.app.push_screen(new_screen)
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
"""笔记界面
|
||||
"""
|
||||
2
src/heurams/interface/screens/memointegrity.py
Normal file
2
src/heurams/interface/screens/memointegrity.py
Normal file
@@ -0,0 +1,2 @@
|
||||
"""整体式记忆工作界面
|
||||
"""
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""队列式记忆工作界面
|
||||
"""
|
||||
from enum import Enum, auto
|
||||
|
||||
from textual.app import ComposeResult
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""缓存工具界面
|
||||
"""
|
||||
import pathlib
|
||||
|
||||
from textual.app import ComposeResult
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""记忆准备界面
|
||||
"""
|
||||
from textual.app import ComposeResult
|
||||
from textual.containers import ScrollableContainer
|
||||
from textual.reactive import reactive
|
||||
@@ -130,7 +131,7 @@ class PreparationScreen(Screen):
|
||||
if left_new >= 0:
|
||||
atoms_to_provide.append(i)
|
||||
logger.debug(f"ATP: {atoms_to_provide}")
|
||||
from .memorizor import MemScreen
|
||||
from .memoqueue import MemScreen
|
||||
|
||||
memscreen = MemScreen(atoms_to_provide)
|
||||
self.app.push_screen(memscreen)
|
||||
|
||||
2
src/heurams/interface/screens/radio.py
Normal file
2
src/heurams/interface/screens/radio.py
Normal file
@@ -0,0 +1,2 @@
|
||||
""""前进电台" 界面
|
||||
"""
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""仓库创建向导界面
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
import toml
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""同步工具界面
|
||||
"""
|
||||
import pathlib
|
||||
import time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user