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