sltgui 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sltgui/__init__.py +19 -0
- sltgui/binary_editor_window.py +728 -0
- sltgui/enum_def_dict_editor.py +618 -0
- sltgui/struct_def_dict_editor.py +1173 -0
- sltgui-0.2.0.dist-info/METADATA +113 -0
- sltgui-0.2.0.dist-info/RECORD +8 -0
- sltgui-0.2.0.dist-info/WHEEL +4 -0
- sltgui-0.2.0.dist-info/licenses/LICENSE +21 -0
sltgui/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
__all__ = [
|
|
2
|
+
"BinaryEditorWindow",
|
|
3
|
+
"EnumDefDictEditor",
|
|
4
|
+
"StructDefDictEditor",
|
|
5
|
+
]
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def __getattr__(name: str):
|
|
9
|
+
"""Lazily import GUI editor classes to avoid import-time dependency issues."""
|
|
10
|
+
if name == "BinaryEditorWindow":
|
|
11
|
+
from .binary_editor_window import BinaryEditorWindow
|
|
12
|
+
return BinaryEditorWindow
|
|
13
|
+
if name == "EnumDefDictEditor":
|
|
14
|
+
from .enum_def_dict_editor import EnumDefDictEditor
|
|
15
|
+
return EnumDefDictEditor
|
|
16
|
+
if name == "StructDefDictEditor":
|
|
17
|
+
from .struct_def_dict_editor import StructDefDictEditor
|
|
18
|
+
return StructDefDictEditor
|
|
19
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|