From 83fb9e2137a240aca2559dff4b46025c8155d9dc Mon Sep 17 00:00:00 2001 From: SS-snap <2kganzaoji@gmail.com> Date: Mon, 21 Oct 2024 17:44:22 +0800 Subject: [PATCH] Add a description of what you changed --- __init__.py | 7 +++++-- ui/__init__.py | 0 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 ui/__init__.py diff --git a/__init__.py b/__init__.py index 1bdef11..129e0b5 100644 --- a/__init__.py +++ b/__init__.py @@ -1,6 +1,7 @@ from .area_calculator import AreaCalculator from .Snap_canvas import PyQtCanvasNode from .Snapload import Snapload +from .canvas_window import CanvasWindow VERSION = "1.0" @@ -8,12 +9,14 @@ NODE_CLASS_MAPPINGS = { "AreaCalculator": AreaCalculator, "PyQtCanvasNode": PyQtCanvasNode, "Snapload": Snapload, + "CanvasWindow": CanvasWindow, } NODE_DISPLAY_NAME_MAPPINGS = { "AreaCalculator": "Snap Area", "PyQtCanvasNode": "Snap Canvas", - "Snapload": "Snap load", + "Snapload": "Snap load", + "CanvasWindow": "Canvas Window", } -__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] \ No newline at end of file +__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'CanvasWindow'] diff --git a/ui/__init__.py b/ui/__init__.py new file mode 100644 index 0000000..e69de29