Commit Graph
1017 Commits
Author SHA1 Message Date
wakonig_k b4a240e463 tests(e2e): wait for the plotting to finish before checking the data 2025-01-09 14:38:58 +01:00
wyzula_j 54e64c9f10 feat(widget_io): general change signal for supported widgets 2025-01-06 10:28:16 +01:00
wakonig_k 1c8b06cbe6 refactor(rpc,client_utils): minor cleanup and type hint improvements 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 52c5286d64 fix: do not display error popup if command is executed via RPC 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k c405421db9 fix: use generator exec feature of BEC Connector to remove the AutoUpdate thread+queue 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 0ff0c06bd1 feat: add test for BECGuiClient features .new, .delete, .show, .hide, .close 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 09cb08a233 fix: prevent top-level dock areas to be destroyed with [X] button 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 5c83702382 refactor: move RPC-related classes and modules to 'rpc' directory
This allows to break circular import, too
2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 1b0382524f fix: simplify AutoUpdate code thanks to threadpool executor in BEC Connector 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 92b802021f feat: add '.delete()' method to BECDockArea, make main window undeletable 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 48c140f937 fix: add .windows property to keep track of top level windows, ensure all windows are shown/hidden 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 42fd78df40 fix: remove useless class member 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 271a4a24e7 fix: determine default figure since the beginning 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 1b03ded906 fix: prevent infinite recursion in show/hide methods 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k bde5618699 feat: add "new()" command to create new dock area windows from client 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 6f2eb6b4cd fix: bec-gui-server script: fix logic with __name__ == '__main__'
When started with "bec-gui-server" entry point, __name__ is
"bec_widgets.cli.server".
When started with "python -m bec_widgets.cli.server", __name__ is
"__main__".
So, better to not rely on __name__ at all.
2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 2742a3c6cf fix: set minimum size hint on BECDockArea 2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k 809e654087 refactor: BECGuiClientMixin -> BECGuiClient
- Mixin class was only used with BECDockArea, now it is a class by itself
which represents the client object connected to the GUI server ; ".main"
is the dock area of the main window
- Enhanced "wait_for_server"
- ".selected_device" is stored in Redis, to allow server-side to know
about the auto update configuration instead of keeping it on client
2024-12-23 15:59:10 +01:00
guijar_mandwakonig_k bdb25206d9 fix: use specified timeout in _run_rpc 2024-12-23 15:59:10 +01:00
wyzula_j e38048964f feat(safe_property): added decorator to handle errors in Property decorator from qt to not crash designer 2024-12-11 22:37:03 +01:00
wyzula_j a434d3ee57 feat(collapsible_panel_manager): panel manager to handle collapsing and expanding widgets from the main widget added 2024-12-11 15:18:43 +01:00
wyzula_j 17a63e3b63 feat(layout_manager): grid layout manager widget 2024-12-10 20:49:19 +01:00
wyzula_j 6563abfddc fix(designer): general way to find python lib on linux 2024-12-10 19:12:21 +01:00
wyzula_j c7d7c6d9ed feat(side_menu): side menu with stack widget added 2024-12-10 11:42:46 +01:00
wyzula_j a55134c3bf feat(modular_toolbar): material icons can be added/removed/hide/show/update dynamically 2024-12-09 20:56:03 +01:00
wyzula_j 5fdb2325ae feat(modular_toolbar): orientation setting 2024-12-09 15:04:59 +01:00
wyzula_j 6a36ca512d feat(round_frame): rounded frame for plot widgets and contrast adjustments 2024-12-09 15:01:09 +01:00
guijar_mandappel_c 02086aeae0 feat(console): add 'terminate' and 'send_ctrl_c' methods to Console
.terminate() ends the started process, sending SIGTERM signal.
If process is not dead after optional timeout, SIGKILL is sent.
.send_ctrl_c() sends SIGINT to the child process, and waits for
prompt until optional timeout is reached.
Timeouts raise 'TimeoutError' exception.
2024-12-02 14:44:29 +01:00
guijar_mandappel_c 3aeb0b66fb feat(console): add "prompt" signal to inform when shell is at prompt 2024-12-02 14:44:29 +01:00
guijar_m 31d87036c9 feat: '._auto_updates_enabled' attribute can be used to activate auto updates installation in BECDockArea 2024-11-27 11:44:03 +01:00
guijar_m cffcdf2923 fix: differentiate click and drag for DeviceItem, adapt tests accordingly
This fixes the blocking "QDrag.exec_()" on Linux, indeed before the
drag'n'drop operation was started with a simple click and it was
waiting for drop forever. Now there are 2 different cases, click or
drag'n'drop - the drag'n'drop test actually moves the mouse and releases
the button.
2024-11-27 11:44:03 +01:00
guijar_m 2fe7f5e151 fix(server): use dock area by default 2024-11-27 11:44:03 +01:00
wyzula_jandguijar_m 3ba0b1daf5 feat: add rpc_id member to client objects 2024-11-27 11:44:03 +01:00
guijar_m e68e2b5978 feat(client): add show()/hide() methods to "gui" object 2024-11-27 11:44:03 +01:00
guijar_m daf6ea0159 feat(server): add main window, with proper gui_id derived from given id 2024-11-27 11:44:03 +01:00
wyzula_jandguijar_m f80ec33ae5 feat: add main window container widget 2024-11-27 11:44:03 +01:00
wyzula_jandguijar_m c27d058b01 fix(rpc): gui hide/show also hide/show all floating docks 2024-11-27 11:44:03 +01:00
guijar_m 96e255e4ef fix: do not quit automatically when last window is "closed"
Qt confuses closed and hidden
2024-11-27 11:44:03 +01:00
guijar_m 60292465e9 fix: no need to call inspect.signature - it can fail on methods coming from C (like Qt methods) 2024-11-27 11:44:03 +01:00
guijar_m 2047e484d5 feat: asynchronous .start() for GUI 2024-11-27 11:44:03 +01:00
guijar_m 1f71d8e5ed feat: do not take focus when GUI is loaded 2024-11-25 08:16:10 +01:00
guijar_m 1f60fec720 feat: add '--hide' argument to BEC GUI server 2024-11-25 08:16:10 +01:00
wyzula_jandguijar_m e9983521ed fix: add back accidentally removed variables 2024-11-25 08:16:10 +01:00
wyzula_j e71e3b2956 fix(alignment_1d): fix imports after widget module refactor 2024-11-21 16:39:10 +01:00
wyzula_j aab0229a40 refactor(widgets): widget module structure reorganised 2024-11-14 14:20:20 +01:00
wyzula_j 7a1b8748a4 fix(plugin_utils): plugin utils are able to detect classes for plugin creation based on class attribute rather than if it is top level widget 2024-11-14 14:19:22 +01:00
wyzula_j 0cd85ed9fa fix(crosshair): crosshair adapted for multi waveform widget 2024-11-12 16:19:42 +01:00
wyzula_j 42d4f182f7 docs(multi_waveform): docs added 2024-11-12 16:19:42 +01:00
wyzula_j f3a39a69e2 feat(multi-waveform): new widget added 2024-11-12 16:19:42 +01:00
wakonig_kandwyzula_j 8e5c0ad8c8 fix(positioner_box): adjusted default signals 2024-11-12 14:36:38 +01:00