From 45cd82e6354c72e1e35cd6366aa7aad93f8b12ca Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Mon, 14 Apr 2025 21:40:46 +0200 Subject: [PATCH] feat(ui_launch_window): add UILaunchWindow class --- bec_widgets/cli/client.py | 8 ++++++++ bec_widgets/widgets/containers/main_window/main_window.py | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/bec_widgets/cli/client.py b/bec_widgets/cli/client.py index 9ae3f1c3..49ee5592 100644 --- a/bec_widgets/cli/client.py +++ b/bec_widgets/cli/client.py @@ -2905,6 +2905,14 @@ class TextBox(RPCBase): """ +class UILaunchWindow(RPCBase): + @rpc_call + def remove(self): + """ + Cleanup the BECConnector + """ + + class VSCodeEditor(RPCBase): """A widget to display the VSCode editor.""" diff --git a/bec_widgets/widgets/containers/main_window/main_window.py b/bec_widgets/widgets/containers/main_window/main_window.py index 12428623..ab22c239 100644 --- a/bec_widgets/widgets/containers/main_window/main_window.py +++ b/bec_widgets/widgets/containers/main_window/main_window.py @@ -165,3 +165,7 @@ class BECMainWindow(BECWidget, QMainWindow): central_widget.close() central_widget.deleteLater() super().cleanup() + + +class UILaunchWindow(BECMainWindow): + RPC = True