BECDocks
Description
BECDockArea
is a widget that encompasses BECDock
elements capable of hosting any type of QWidget. The primary objective is to replace the current BECFigure
in the BECIPythonClient
with BECDockArea
. This substitution aims to retain all existing functionalities of BECFigure
while introducing dockable capabilities + potentially add any type of widget to dock grid layout.
Apart of the new dock enviroment there are also utility tools such as GridLayoutManager
and RPCWidgetHandler
.
Various fixes to gui server window, such as initial size, icon, help on display etc.
Also unifies cleanup policy across the rpc widgets.
Related Issues
close #136 (closed), #168 (closed)
Type of Change
-
new
BECDockArea
-
new
BECDock
-
new util
GridLayoutManager
- Refactor →
WidgetConfig
ofBECFigure
subplots is renamed toSubplotConfig
for clarity. - Simple information as background when rpc gui window loads → can be made as general util class, will be added in the future → #166
-
minor → icons added to rpc gui window and
jupyter_console_window
- unified
BECConnector
behaviour across all levels of rpc widgets with unified clean up policy to shutdown client if there are no other widgets inrpc_register
Potential side effects
None
Additional Comments
Has to be tested with bec
branch feat/gui-startup-dock
. Has to be merged together with bec!612 (merged).
I hope all know bugs are fixed, except for the docking bug when docks are stacked on each other see #173.
Definition of Done
-
Documentation is up-to-date. → will be added with the docs overhaul -
rpc access -
unit tests -
e2e tests