bec-widgets 1.5.2__py3-none-any.whl → 1.6.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.
- .gitlab-ci.yml +6 -2
- CHANGELOG.md +74 -80
- PKG-INFO +1 -1
- bec_widgets/applications/alignment/alignment_1d/alignment_1d.py +5 -3
- bec_widgets/cli/client.py +166 -0
- bec_widgets/cli/client_utils.py +77 -14
- bec_widgets/cli/server.py +14 -12
- bec_widgets/utils/bec_connector.py +1 -1
- bec_widgets/widgets/containers/dock/dock_area.py +14 -0
- bec_widgets/widgets/containers/main_window/__init__.py +0 -0
- bec_widgets/widgets/containers/main_window/main_window.py +9 -0
- bec_widgets/widgets/services/device_browser/device_item/device_item.py +18 -6
- {bec_widgets-1.5.2.dist-info → bec_widgets-1.6.0.dist-info}/METADATA +1 -1
- {bec_widgets-1.5.2.dist-info → bec_widgets-1.6.0.dist-info}/RECORD +18 -16
- pyproject.toml +1 -1
- {bec_widgets-1.5.2.dist-info → bec_widgets-1.6.0.dist-info}/WHEEL +0 -0
- {bec_widgets-1.5.2.dist-info → bec_widgets-1.6.0.dist-info}/entry_points.txt +0 -0
- {bec_widgets-1.5.2.dist-info → bec_widgets-1.6.0.dist-info}/licenses/LICENSE +0 -0
.gitlab-ci.yml
CHANGED
@@ -12,6 +12,9 @@ variables:
|
|
12
12
|
description: ophyd_devices branch
|
13
13
|
value: main
|
14
14
|
CHILD_PIPELINE_BRANCH: $CI_DEFAULT_BRANCH
|
15
|
+
CHECK_PKG_VERSIONS:
|
16
|
+
description: Whether to run additional tests against min/max/random selection of dependencies. Set to 1 for running.
|
17
|
+
value: 0
|
15
18
|
|
16
19
|
workflow:
|
17
20
|
rules:
|
@@ -31,8 +34,9 @@ include:
|
|
31
34
|
inputs:
|
32
35
|
stage: test
|
33
36
|
path: "."
|
34
|
-
pytest_args: "-v
|
35
|
-
|
37
|
+
pytest_args: "-v,--random-order,tests/unit_tests"
|
38
|
+
ignore_dep_group: "pyqt6"
|
39
|
+
pip_args: ".[dev,pyside6]"
|
36
40
|
|
37
41
|
# different stages in the pipeline
|
38
42
|
stages:
|
CHANGELOG.md
CHANGED
@@ -1,6 +1,80 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v1.6.0 (2024-11-27)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- **tests**: Make use of BECDockArea with client mixin to start server and use it in tests
|
9
|
+
([`da18c2c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/da18c2ceecf9aeaf0e0ea9b78f4c867b27b9c314))
|
10
|
+
|
11
|
+
Depending on the test, auto-updates are enabled or not.
|
12
|
+
|
13
|
+
- Differentiate click and drag for DeviceItem, adapt tests accordingly
|
14
|
+
([`cffcdf2`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/cffcdf292363249bcc7efa9d130431d0bc727fda))
|
15
|
+
|
16
|
+
This fixes the blocking "QDrag.exec_()" on Linux, indeed before the drag'n'drop operation was
|
17
|
+
started with a simple click and it was waiting for drop forever. Now there are 2 different cases,
|
18
|
+
click or drag'n'drop - the drag'n'drop test actually moves the mouse and releases the button.
|
19
|
+
|
20
|
+
- **server**: Use dock area by default
|
21
|
+
([`2fe7f5e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2fe7f5e1510a5ea72676045e6ea3485e6b11c220))
|
22
|
+
|
23
|
+
- **rpc**: Gui hide/show also hide/show all floating docks
|
24
|
+
([`c27d058`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c27d058b01fe604eccec76454e39360122e48515))
|
25
|
+
|
26
|
+
- Do not quit automatically when last window is "closed"
|
27
|
+
([`96e255e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/96e255e4ef394eb79006a66d13e06775ae235667))
|
28
|
+
|
29
|
+
Qt confuses closed and hidden
|
30
|
+
|
31
|
+
- No need to call inspect.signature - it can fail on methods coming from C (like Qt methods)
|
32
|
+
([`6029246`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/60292465e9e52d3248ae681c68c07298b9b3ce14))
|
33
|
+
|
34
|
+
- Add back accidentally removed variables
|
35
|
+
([`e998352`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e9983521ed2a1c04af048a55ece70a1943a84313))
|
36
|
+
|
37
|
+
### Features
|
38
|
+
|
39
|
+
- '._auto_updates_enabled' attribute can be used to activate auto updates installation in
|
40
|
+
BECDockArea
|
41
|
+
([`31d8703`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/31d87036c9801e639a7ca6fc003c90e0c4edb19d))
|
42
|
+
|
43
|
+
- Add rpc_id member to client objects
|
44
|
+
([`3ba0b1d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3ba0b1daf5b83da840e90fbbc063ed7b86ebe99b))
|
45
|
+
|
46
|
+
- **client**: Add show()/hide() methods to "gui" object
|
47
|
+
([`e68e2b5`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e68e2b5978339475b97555c3e20795807932fbc9))
|
48
|
+
|
49
|
+
- **server**: Add main window, with proper gui_id derived from given id
|
50
|
+
([`daf6ea0`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/daf6ea0159c9ffc7b53bb7ae6b9abc16a302972c))
|
51
|
+
|
52
|
+
- Add main window container widget
|
53
|
+
([`f80ec33`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f80ec33ae5a261dbcab901ae30f4cc802316e554))
|
54
|
+
|
55
|
+
- Asynchronous .start() for GUI
|
56
|
+
([`2047e48`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2047e484d5a4b2f5ea494a1e49035b35b1bbde35))
|
57
|
+
|
58
|
+
- Do not take focus when GUI is loaded
|
59
|
+
([`1f71d8e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/1f71d8e5eded9952f9b34bfc427e2ff44cf5fc18))
|
60
|
+
|
61
|
+
- Add '--hide' argument to BEC GUI server
|
62
|
+
([`1f60fec`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/1f60fec7201ed252d7e49bf16f2166ee7f6bed6a))
|
63
|
+
|
64
|
+
|
65
|
+
## v1.5.3 (2024-11-21)
|
66
|
+
|
67
|
+
### Bug Fixes
|
68
|
+
|
69
|
+
- **alignment_1d**: Fix imports after widget module refactor
|
70
|
+
([`e71e3b2`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e71e3b2956feb3f3051e538432133f6e85bbd5a8))
|
71
|
+
|
72
|
+
### Continuous Integration
|
73
|
+
|
74
|
+
- Fix ci syntax for package-dep-job
|
75
|
+
([`6e39bdb`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/6e39bdbf53b147c8ff163527b45691835ce9a2eb))
|
76
|
+
|
77
|
+
|
4
78
|
## v1.5.2 (2024-11-18)
|
5
79
|
|
6
80
|
### Bug Fixes
|
@@ -134,83 +208,3 @@
|
|
134
208
|
|
135
209
|
|
136
210
|
## v1.1.0 (2024-10-25)
|
137
|
-
|
138
|
-
### Features
|
139
|
-
|
140
|
-
- Add filter i/o utility class
|
141
|
-
([`0350833`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0350833f36e0a7cadce4173f9b1d1fbfdf985375))
|
142
|
-
|
143
|
-
### Refactoring
|
144
|
-
|
145
|
-
- Do not flush selection upon receiving config update; allow widgetIO to receive kwargs to be able
|
146
|
-
to use get_value to receive string instead of int for QComboBox
|
147
|
-
([`91959e8`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/91959e82de8586934af3ebb5aaa0923930effc51))
|
148
|
-
|
149
|
-
- Allow to set selection in DeviceInput; automatic update of selection on device config update;
|
150
|
-
cleanup
|
151
|
-
([`5eb15b7`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/5eb15b785f12e30eb8ccbc56d4ad9e759a4cf5eb))
|
152
|
-
|
153
|
-
- Cleanup, added device_signal for signal inputs
|
154
|
-
([`6fb2055`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/6fb20552ff57978f4aeb79fd7f062f8d6b5581e7))
|
155
|
-
|
156
|
-
### Testing
|
157
|
-
|
158
|
-
- **scan_control**: Tests added for grid_scan to ensure scan_args signal validity
|
159
|
-
([`acb7902`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/acb79020d4be546efc001ff47b6f5cdba2ee9375))
|
160
|
-
|
161
|
-
|
162
|
-
## v1.0.2 (2024-10-22)
|
163
|
-
|
164
|
-
### Bug Fixes
|
165
|
-
|
166
|
-
- **scan_control**: Scan args signal fixed to emit list instead of hardcoded structure
|
167
|
-
([`4f5448c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/4f5448cf51a204e077af162c7f0aed1f1a60e57a))
|
168
|
-
|
169
|
-
|
170
|
-
## v1.0.1 (2024-10-22)
|
171
|
-
|
172
|
-
### Bug Fixes
|
173
|
-
|
174
|
-
- **waveform**: Added support for live_data and data access
|
175
|
-
([`7469c89`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7469c892c8076fc09e61f173df6920c551241cec))
|
176
|
-
|
177
|
-
|
178
|
-
## v1.0.0 (2024-10-18)
|
179
|
-
|
180
|
-
### Bug Fixes
|
181
|
-
|
182
|
-
- **crosshair**: Downsample clear markers
|
183
|
-
([`f9a889f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f9a889fc6d380b9e587edcb465203122ea0bffc1))
|
184
|
-
|
185
|
-
### Features
|
186
|
-
|
187
|
-
- Ability to disable scatter from waveform & compatible crosshair with down sampling
|
188
|
-
([`2ab12ed`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2ab12ed60abb995abc381d9330fdcf399796d9e5))
|
189
|
-
|
190
|
-
|
191
|
-
## v0.119.0 (2024-10-17)
|
192
|
-
|
193
|
-
### Bug Fixes
|
194
|
-
|
195
|
-
- Fix syntax due to change of api for simulated devices
|
196
|
-
([`19f4e40`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/19f4e407e00ee242973ca4c3f90e4e41a4d3e315))
|
197
|
-
|
198
|
-
- Remove wrongly scoped test
|
199
|
-
([`a23841b`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a23841b2553dc7162da943715d58275c7dc39ed9))
|
200
|
-
|
201
|
-
- Rename 'compact' property -> 'compact_view'
|
202
|
-
([`6982711`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/6982711fea5fb8a73845ed7c0692e3ec53ef7871))
|
203
|
-
|
204
|
-
- Alignment 1D update, make app window a main window (in .ui file)
|
205
|
-
([`0015f0e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0015f0e2d62adc02d3ef334e1f6dbb2d0288fec6))
|
206
|
-
|
207
|
-
### Features
|
208
|
-
|
209
|
-
- New PositionerGroup widget
|
210
|
-
([`af9655d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/af9655de0c541092437accfbaa779628a2f48ccb))
|
211
|
-
|
212
|
-
- Add 'expand_popup' property to CompactPopupWidget
|
213
|
-
([`e4121a0`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/e4121a01cb6b8d496e630cd43bc642b994b8f310))
|
214
|
-
|
215
|
-
This property tells if expand should show a popup (by default), or if the widget should expand
|
216
|
-
in-place
|
PKG-INFO
CHANGED
@@ -18,9 +18,11 @@ from bec_widgets.utils import UILoader
|
|
18
18
|
from bec_widgets.utils.bec_dispatcher import BECDispatcher
|
19
19
|
from bec_widgets.utils.colors import get_accent_colors
|
20
20
|
from bec_widgets.widgets.control.buttons.stop_button.stop_button import StopButton
|
21
|
-
from bec_widgets.widgets.control.device_control.positioner_group import
|
22
|
-
|
23
|
-
|
21
|
+
from bec_widgets.widgets.control.device_control.positioner_group.positioner_group import (
|
22
|
+
PositionerGroup,
|
23
|
+
)
|
24
|
+
from bec_widgets.widgets.dap.lmfit_dialog.lmfit_dialog import LMFitDialog
|
25
|
+
from bec_widgets.widgets.plots.waveform.waveform_widget import BECWaveformWidget
|
24
26
|
from bec_widgets.widgets.progress.bec_progressbar.bec_progressbar import BECProgressBar
|
25
27
|
|
26
28
|
MODULE_PATH = os.path.dirname(bec_widgets.__file__)
|
bec_widgets/cli/client.py
CHANGED
@@ -15,6 +15,37 @@ class Widgets(str, enum.Enum):
|
|
15
15
|
Enum for the available widgets.
|
16
16
|
"""
|
17
17
|
|
18
|
+
AbortButton = "AbortButton"
|
19
|
+
BECColorMapWidget = "BECColorMapWidget"
|
20
|
+
BECDockArea = "BECDockArea"
|
21
|
+
BECImageWidget = "BECImageWidget"
|
22
|
+
BECMainWindow = "BECMainWindow"
|
23
|
+
BECMotorMapWidget = "BECMotorMapWidget"
|
24
|
+
BECMultiWaveformWidget = "BECMultiWaveformWidget"
|
25
|
+
BECProgressBar = "BECProgressBar"
|
26
|
+
BECQueue = "BECQueue"
|
27
|
+
BECStatusBox = "BECStatusBox"
|
28
|
+
BECWaveformWidget = "BECWaveformWidget"
|
29
|
+
DapComboBox = "DapComboBox"
|
30
|
+
DarkModeButton = "DarkModeButton"
|
31
|
+
DeviceBrowser = "DeviceBrowser"
|
32
|
+
DeviceComboBox = "DeviceComboBox"
|
33
|
+
DeviceLineEdit = "DeviceLineEdit"
|
34
|
+
LMFitDialog = "LMFitDialog"
|
35
|
+
PositionIndicator = "PositionIndicator"
|
36
|
+
PositionerBox = "PositionerBox"
|
37
|
+
PositionerControlLine = "PositionerControlLine"
|
38
|
+
ResetButton = "ResetButton"
|
39
|
+
ResumeButton = "ResumeButton"
|
40
|
+
RingProgressBar = "RingProgressBar"
|
41
|
+
ScanControl = "ScanControl"
|
42
|
+
SignalComboBox = "SignalComboBox"
|
43
|
+
SignalLineEdit = "SignalLineEdit"
|
44
|
+
StopButton = "StopButton"
|
45
|
+
TextBox = "TextBox"
|
46
|
+
VSCodeEditor = "VSCodeEditor"
|
47
|
+
WebsiteWidget = "WebsiteWidget"
|
48
|
+
|
18
49
|
|
19
50
|
class AbortButton(RPCBase):
|
20
51
|
@property
|
@@ -431,6 +462,18 @@ class BECDockArea(RPCBase, BECGuiClientMixin):
|
|
431
462
|
list: The temporary areas in the dock area.
|
432
463
|
"""
|
433
464
|
|
465
|
+
@rpc_call
|
466
|
+
def show(self):
|
467
|
+
"""
|
468
|
+
Show all windows including floating docks.
|
469
|
+
"""
|
470
|
+
|
471
|
+
@rpc_call
|
472
|
+
def hide(self):
|
473
|
+
"""
|
474
|
+
Hide all windows including floating docks.
|
475
|
+
"""
|
476
|
+
|
434
477
|
|
435
478
|
class BECFigure(RPCBase):
|
436
479
|
@property
|
@@ -1343,6 +1386,31 @@ class BECImageWidget(RPCBase):
|
|
1343
1386
|
"""
|
1344
1387
|
|
1345
1388
|
|
1389
|
+
class BECMainWindow(RPCBase):
|
1390
|
+
@property
|
1391
|
+
@rpc_call
|
1392
|
+
def _config_dict(self) -> "dict":
|
1393
|
+
"""
|
1394
|
+
Get the configuration of the widget.
|
1395
|
+
|
1396
|
+
Returns:
|
1397
|
+
dict: The configuration of the widget.
|
1398
|
+
"""
|
1399
|
+
|
1400
|
+
@rpc_call
|
1401
|
+
def _get_all_rpc(self) -> "dict":
|
1402
|
+
"""
|
1403
|
+
Get all registered RPC objects.
|
1404
|
+
"""
|
1405
|
+
|
1406
|
+
@property
|
1407
|
+
@rpc_call
|
1408
|
+
def _rpc_id(self) -> "str":
|
1409
|
+
"""
|
1410
|
+
Get the RPC ID of the widget.
|
1411
|
+
"""
|
1412
|
+
|
1413
|
+
|
1346
1414
|
class BECMotorMap(RPCBase):
|
1347
1415
|
@property
|
1348
1416
|
@rpc_call
|
@@ -2207,6 +2275,13 @@ class BECQueue(RPCBase):
|
|
2207
2275
|
Get all registered RPC objects.
|
2208
2276
|
"""
|
2209
2277
|
|
2278
|
+
@property
|
2279
|
+
@rpc_call
|
2280
|
+
def _rpc_id(self) -> "str":
|
2281
|
+
"""
|
2282
|
+
Get the RPC ID of the widget.
|
2283
|
+
"""
|
2284
|
+
|
2210
2285
|
|
2211
2286
|
class BECStatusBox(RPCBase):
|
2212
2287
|
@property
|
@@ -2225,6 +2300,13 @@ class BECStatusBox(RPCBase):
|
|
2225
2300
|
Get all registered RPC objects.
|
2226
2301
|
"""
|
2227
2302
|
|
2303
|
+
@property
|
2304
|
+
@rpc_call
|
2305
|
+
def _rpc_id(self) -> "str":
|
2306
|
+
"""
|
2307
|
+
Get the RPC ID of the widget.
|
2308
|
+
"""
|
2309
|
+
|
2228
2310
|
|
2229
2311
|
class BECWaveform(RPCBase):
|
2230
2312
|
@property
|
@@ -2947,6 +3029,13 @@ class DeviceBrowser(RPCBase):
|
|
2947
3029
|
Get all registered RPC objects.
|
2948
3030
|
"""
|
2949
3031
|
|
3032
|
+
@property
|
3033
|
+
@rpc_call
|
3034
|
+
def _rpc_id(self) -> "str":
|
3035
|
+
"""
|
3036
|
+
Get the RPC ID of the widget.
|
3037
|
+
"""
|
3038
|
+
|
2950
3039
|
|
2951
3040
|
class DeviceComboBox(RPCBase):
|
2952
3041
|
@property
|
@@ -2965,6 +3054,13 @@ class DeviceComboBox(RPCBase):
|
|
2965
3054
|
Get all registered RPC objects.
|
2966
3055
|
"""
|
2967
3056
|
|
3057
|
+
@property
|
3058
|
+
@rpc_call
|
3059
|
+
def _rpc_id(self) -> "str":
|
3060
|
+
"""
|
3061
|
+
Get the RPC ID of the widget.
|
3062
|
+
"""
|
3063
|
+
|
2968
3064
|
|
2969
3065
|
class DeviceInputBase(RPCBase):
|
2970
3066
|
@property
|
@@ -2983,6 +3079,13 @@ class DeviceInputBase(RPCBase):
|
|
2983
3079
|
Get all registered RPC objects.
|
2984
3080
|
"""
|
2985
3081
|
|
3082
|
+
@property
|
3083
|
+
@rpc_call
|
3084
|
+
def _rpc_id(self) -> "str":
|
3085
|
+
"""
|
3086
|
+
Get the RPC ID of the widget.
|
3087
|
+
"""
|
3088
|
+
|
2986
3089
|
|
2987
3090
|
class DeviceLineEdit(RPCBase):
|
2988
3091
|
@property
|
@@ -3001,6 +3104,13 @@ class DeviceLineEdit(RPCBase):
|
|
3001
3104
|
Get all registered RPC objects.
|
3002
3105
|
"""
|
3003
3106
|
|
3107
|
+
@property
|
3108
|
+
@rpc_call
|
3109
|
+
def _rpc_id(self) -> "str":
|
3110
|
+
"""
|
3111
|
+
Get the RPC ID of the widget.
|
3112
|
+
"""
|
3113
|
+
|
3004
3114
|
|
3005
3115
|
class DeviceSignalInputBase(RPCBase):
|
3006
3116
|
@property
|
@@ -3019,6 +3129,13 @@ class DeviceSignalInputBase(RPCBase):
|
|
3019
3129
|
Get all registered RPC objects.
|
3020
3130
|
"""
|
3021
3131
|
|
3132
|
+
@property
|
3133
|
+
@rpc_call
|
3134
|
+
def _rpc_id(self) -> "str":
|
3135
|
+
"""
|
3136
|
+
Get the RPC ID of the widget.
|
3137
|
+
"""
|
3138
|
+
|
3022
3139
|
|
3023
3140
|
class LMFitDialog(RPCBase):
|
3024
3141
|
@property
|
@@ -3037,6 +3154,13 @@ class LMFitDialog(RPCBase):
|
|
3037
3154
|
Get all registered RPC objects.
|
3038
3155
|
"""
|
3039
3156
|
|
3157
|
+
@property
|
3158
|
+
@rpc_call
|
3159
|
+
def _rpc_id(self) -> "str":
|
3160
|
+
"""
|
3161
|
+
Get the RPC ID of the widget.
|
3162
|
+
"""
|
3163
|
+
|
3040
3164
|
|
3041
3165
|
class PositionIndicator(RPCBase):
|
3042
3166
|
@rpc_call
|
@@ -3126,6 +3250,13 @@ class ResetButton(RPCBase):
|
|
3126
3250
|
Get all registered RPC objects.
|
3127
3251
|
"""
|
3128
3252
|
|
3253
|
+
@property
|
3254
|
+
@rpc_call
|
3255
|
+
def _rpc_id(self) -> "str":
|
3256
|
+
"""
|
3257
|
+
Get the RPC ID of the widget.
|
3258
|
+
"""
|
3259
|
+
|
3129
3260
|
|
3130
3261
|
class ResumeButton(RPCBase):
|
3131
3262
|
@property
|
@@ -3144,6 +3275,13 @@ class ResumeButton(RPCBase):
|
|
3144
3275
|
Get all registered RPC objects.
|
3145
3276
|
"""
|
3146
3277
|
|
3278
|
+
@property
|
3279
|
+
@rpc_call
|
3280
|
+
def _rpc_id(self) -> "str":
|
3281
|
+
"""
|
3282
|
+
Get the RPC ID of the widget.
|
3283
|
+
"""
|
3284
|
+
|
3147
3285
|
|
3148
3286
|
class Ring(RPCBase):
|
3149
3287
|
@rpc_call
|
@@ -3441,6 +3579,13 @@ class ScanControl(RPCBase):
|
|
3441
3579
|
Get all registered RPC objects.
|
3442
3580
|
"""
|
3443
3581
|
|
3582
|
+
@property
|
3583
|
+
@rpc_call
|
3584
|
+
def _rpc_id(self) -> "str":
|
3585
|
+
"""
|
3586
|
+
Get the RPC ID of the widget.
|
3587
|
+
"""
|
3588
|
+
|
3444
3589
|
|
3445
3590
|
class SignalComboBox(RPCBase):
|
3446
3591
|
@property
|
@@ -3459,6 +3604,13 @@ class SignalComboBox(RPCBase):
|
|
3459
3604
|
Get all registered RPC objects.
|
3460
3605
|
"""
|
3461
3606
|
|
3607
|
+
@property
|
3608
|
+
@rpc_call
|
3609
|
+
def _rpc_id(self) -> "str":
|
3610
|
+
"""
|
3611
|
+
Get the RPC ID of the widget.
|
3612
|
+
"""
|
3613
|
+
|
3462
3614
|
|
3463
3615
|
class SignalLineEdit(RPCBase):
|
3464
3616
|
@property
|
@@ -3477,6 +3629,13 @@ class SignalLineEdit(RPCBase):
|
|
3477
3629
|
Get all registered RPC objects.
|
3478
3630
|
"""
|
3479
3631
|
|
3632
|
+
@property
|
3633
|
+
@rpc_call
|
3634
|
+
def _rpc_id(self) -> "str":
|
3635
|
+
"""
|
3636
|
+
Get the RPC ID of the widget.
|
3637
|
+
"""
|
3638
|
+
|
3480
3639
|
|
3481
3640
|
class StopButton(RPCBase):
|
3482
3641
|
@property
|
@@ -3495,6 +3654,13 @@ class StopButton(RPCBase):
|
|
3495
3654
|
Get all registered RPC objects.
|
3496
3655
|
"""
|
3497
3656
|
|
3657
|
+
@property
|
3658
|
+
@rpc_call
|
3659
|
+
def _rpc_id(self) -> "str":
|
3660
|
+
"""
|
3661
|
+
Get the RPC ID of the widget.
|
3662
|
+
"""
|
3663
|
+
|
3498
3664
|
|
3499
3665
|
class TextBox(RPCBase):
|
3500
3666
|
@rpc_call
|
bec_widgets/cli/client_utils.py
CHANGED
@@ -92,11 +92,11 @@ def _start_plot_process(gui_id: str, gui_class: type, config: dict | str, logger
|
|
92
92
|
process will not be captured.
|
93
93
|
"""
|
94
94
|
# pylint: disable=subprocess-run-check
|
95
|
-
command = ["bec-gui-server", "--id", gui_id, "--gui_class", gui_class.__name__]
|
95
|
+
command = ["bec-gui-server", "--id", gui_id, "--gui_class", gui_class.__name__, "--hide"]
|
96
96
|
if config:
|
97
97
|
if isinstance(config, dict):
|
98
98
|
config = json.dumps(config)
|
99
|
-
command.extend(["--config", config])
|
99
|
+
command.extend(["--config", str(config)])
|
100
100
|
|
101
101
|
env_dict = os.environ.copy()
|
102
102
|
env_dict["PYTHONUNBUFFERED"] = "1"
|
@@ -126,15 +126,36 @@ def _start_plot_process(gui_id: str, gui_class: type, config: dict | str, logger
|
|
126
126
|
return process, process_output_processing_thread
|
127
127
|
|
128
128
|
|
129
|
+
class RepeatTimer(threading.Timer):
|
130
|
+
def run(self):
|
131
|
+
while not self.finished.wait(self.interval):
|
132
|
+
self.function(*self.args, **self.kwargs)
|
133
|
+
|
134
|
+
|
129
135
|
class BECGuiClientMixin:
|
130
136
|
def __init__(self, **kwargs) -> None:
|
131
137
|
super().__init__(**kwargs)
|
138
|
+
self._auto_updates_enabled = True
|
139
|
+
self._auto_updates = None
|
140
|
+
self._gui_started_timer = None
|
141
|
+
self._gui_started_event = threading.Event()
|
132
142
|
self._process = None
|
133
143
|
self._process_output_processing_thread = None
|
134
|
-
self.auto_updates = self._get_update_script()
|
135
144
|
self._target_endpoint = MessageEndpoints.scan_status()
|
136
145
|
self._selected_device = None
|
137
146
|
|
147
|
+
@property
|
148
|
+
def auto_updates(self):
|
149
|
+
if self._auto_updates_enabled:
|
150
|
+
self._gui_started_event.wait()
|
151
|
+
return self._auto_updates
|
152
|
+
|
153
|
+
def shutdown_auto_updates(self):
|
154
|
+
if self._auto_updates_enabled:
|
155
|
+
if self._auto_updates is not None:
|
156
|
+
self._auto_updates.shutdown()
|
157
|
+
self._auto_updates = None
|
158
|
+
|
138
159
|
def _get_update_script(self) -> AutoUpdates | None:
|
139
160
|
eps = imd.entry_points(group="bec.widgets.auto_updates")
|
140
161
|
for ep in eps:
|
@@ -180,38 +201,80 @@ class BECGuiClientMixin:
|
|
180
201
|
if isinstance(msg, messages.ScanStatusMessage):
|
181
202
|
if not self.gui_is_alive():
|
182
203
|
return
|
183
|
-
self.
|
184
|
-
|
185
|
-
|
204
|
+
if self._auto_updates_enabled:
|
205
|
+
self.auto_updates.msg_queue.put(msg)
|
206
|
+
|
207
|
+
def _gui_post_startup(self):
|
208
|
+
if self._auto_updates_enabled:
|
209
|
+
if self._auto_updates is None:
|
210
|
+
auto_updates = self._get_update_script()
|
211
|
+
if auto_updates is None:
|
212
|
+
AutoUpdates.create_default_dock = True
|
213
|
+
AutoUpdates.enabled = True
|
214
|
+
auto_updates = AutoUpdates(gui=self)
|
215
|
+
if auto_updates.create_default_dock:
|
216
|
+
auto_updates.start_default_dock()
|
217
|
+
# fig = auto_updates.get_default_figure()
|
218
|
+
self._auto_updates = auto_updates
|
219
|
+
self._gui_started_event.set()
|
220
|
+
self.show_all()
|
221
|
+
|
222
|
+
def start_server(self, wait=False) -> None:
|
186
223
|
"""
|
187
|
-
|
224
|
+
Start the GUI server, and execute callback when it is launched
|
188
225
|
"""
|
189
226
|
if self._process is None or self._process.poll() is not None:
|
227
|
+
logger.success("GUI starting...")
|
228
|
+
self._gui_started_event.clear()
|
190
229
|
self._start_update_script()
|
191
230
|
self._process, self._process_output_processing_thread = _start_plot_process(
|
192
231
|
self._gui_id, self.__class__, self._client._service_config.config, logger=logger
|
193
232
|
)
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
233
|
+
|
234
|
+
def gui_started_callback(callback):
|
235
|
+
try:
|
236
|
+
if callable(callback):
|
237
|
+
callback()
|
238
|
+
finally:
|
239
|
+
threading.current_thread().cancel()
|
240
|
+
|
241
|
+
self._gui_started_timer = RepeatTimer(
|
242
|
+
1, lambda: self.gui_is_alive() and gui_started_callback(self._gui_post_startup)
|
243
|
+
)
|
244
|
+
self._gui_started_timer.start()
|
245
|
+
|
246
|
+
if wait:
|
247
|
+
self._gui_started_event.wait()
|
248
|
+
|
249
|
+
def show_all(self):
|
250
|
+
self._gui_started_event.wait()
|
251
|
+
rpc_client = RPCBase(gui_id=f"{self._gui_id}:window", parent=self)
|
252
|
+
rpc_client._run_rpc("show")
|
253
|
+
|
254
|
+
def hide_all(self):
|
255
|
+
self._gui_started_event.wait()
|
256
|
+
rpc_client = RPCBase(gui_id=f"{self._gui_id}:window", parent=self)
|
257
|
+
rpc_client._run_rpc("hide")
|
198
258
|
|
199
259
|
def close(self) -> None:
|
200
260
|
"""
|
201
261
|
Close the gui window.
|
202
262
|
"""
|
263
|
+
if self._gui_started_timer is not None:
|
264
|
+
self._gui_started_timer.cancel()
|
265
|
+
self._gui_started_timer.join()
|
266
|
+
|
203
267
|
if self._process is None:
|
204
268
|
return
|
205
269
|
|
206
|
-
self._client.shutdown()
|
207
270
|
if self._process:
|
271
|
+
logger.success("Stopping GUI...")
|
208
272
|
self._process.terminate()
|
209
273
|
if self._process_output_processing_thread:
|
210
274
|
self._process_output_processing_thread.join()
|
211
275
|
self._process.wait()
|
212
276
|
self._process = None
|
213
|
-
|
214
|
-
self.auto_updates.shutdown()
|
277
|
+
self.shutdown_auto_updates()
|
215
278
|
|
216
279
|
|
217
280
|
class RPCResponseTimeoutError(Exception):
|
bec_widgets/cli/server.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
|
-
import inspect
|
4
3
|
import json
|
5
4
|
import signal
|
6
5
|
import sys
|
@@ -11,13 +10,14 @@ from bec_lib.endpoints import MessageEndpoints
|
|
11
10
|
from bec_lib.logger import bec_logger
|
12
11
|
from bec_lib.service_config import ServiceConfig
|
13
12
|
from bec_lib.utils.import_utils import lazy_import
|
14
|
-
from qtpy.QtCore import QTimer
|
13
|
+
from qtpy.QtCore import Qt, QTimer
|
15
14
|
|
16
15
|
from bec_widgets.cli.rpc_register import RPCRegister
|
17
16
|
from bec_widgets.utils import BECDispatcher
|
18
17
|
from bec_widgets.utils.bec_connector import BECConnector
|
19
18
|
from bec_widgets.widgets.containers.dock import BECDockArea
|
20
19
|
from bec_widgets.widgets.containers.figure import BECFigure
|
20
|
+
from bec_widgets.widgets.containers.main_window.main_window import BECMainWindow
|
21
21
|
|
22
22
|
messages = lazy_import("bec_lib.messages")
|
23
23
|
logger = bec_logger.logger
|
@@ -95,11 +95,7 @@ class BECWidgetsCLIServer:
|
|
95
95
|
setattr(obj, method, args[0])
|
96
96
|
res = None
|
97
97
|
else:
|
98
|
-
|
99
|
-
if sig.parameters:
|
100
|
-
res = method_obj(*args, **kwargs)
|
101
|
-
else:
|
102
|
-
res = method_obj()
|
98
|
+
res = method_obj(*args, **kwargs)
|
103
99
|
|
104
100
|
if isinstance(res, list):
|
105
101
|
res = [self.serialize_object(obj) for obj in res]
|
@@ -181,7 +177,7 @@ def main():
|
|
181
177
|
|
182
178
|
from qtpy.QtCore import QSize
|
183
179
|
from qtpy.QtGui import QIcon
|
184
|
-
from qtpy.QtWidgets import QApplication
|
180
|
+
from qtpy.QtWidgets import QApplication
|
185
181
|
|
186
182
|
import bec_widgets
|
187
183
|
|
@@ -199,6 +195,7 @@ def main():
|
|
199
195
|
help="Name of the gui class to be rendered. Possible values: \n- BECFigure\n- BECDockArea",
|
200
196
|
)
|
201
197
|
parser.add_argument("--config", type=str, help="Config file or config string.")
|
198
|
+
parser.add_argument("--hide", action="store_true", help="Hide on startup")
|
202
199
|
|
203
200
|
args = parser.parse_args()
|
204
201
|
|
@@ -211,11 +208,12 @@ def main():
|
|
211
208
|
"Please specify a valid gui_class to run. Use -h for help."
|
212
209
|
"\n Starting with default gui_class BECFigure."
|
213
210
|
)
|
214
|
-
gui_class =
|
211
|
+
gui_class = BECDockArea
|
215
212
|
|
216
213
|
with redirect_stdout(SimpleFileLikeFromLogOutputFunc(logger.info)):
|
217
214
|
with redirect_stderr(SimpleFileLikeFromLogOutputFunc(logger.error)):
|
218
215
|
app = QApplication(sys.argv)
|
216
|
+
app.setQuitOnLastWindowClosed(False)
|
219
217
|
app.setApplicationName("BEC Figure")
|
220
218
|
module_path = os.path.dirname(bec_widgets.__file__)
|
221
219
|
icon = QIcon()
|
@@ -225,15 +223,19 @@ def main():
|
|
225
223
|
)
|
226
224
|
app.setWindowIcon(icon)
|
227
225
|
|
228
|
-
|
226
|
+
server = _start_server(args.id, gui_class, args.config)
|
227
|
+
|
228
|
+
win = BECMainWindow(gui_id=f"{server.gui_id}:window")
|
229
|
+
win.setAttribute(Qt.WA_ShowWithoutActivating)
|
229
230
|
win.setWindowTitle("BEC Widgets")
|
230
231
|
|
231
|
-
|
232
|
+
RPCRegister().add_rpc(win)
|
232
233
|
|
233
234
|
gui = server.gui
|
234
235
|
win.setCentralWidget(gui)
|
235
236
|
win.resize(800, 600)
|
236
|
-
|
237
|
+
if not args.hide:
|
238
|
+
win.show()
|
237
239
|
|
238
240
|
app.aboutToQuit.connect(server.shutdown)
|
239
241
|
|
@@ -69,7 +69,7 @@ class Worker(QRunnable):
|
|
69
69
|
class BECConnector:
|
70
70
|
"""Connection mixin class to handle BEC client and device manager"""
|
71
71
|
|
72
|
-
USER_ACCESS = ["_config_dict", "_get_all_rpc"]
|
72
|
+
USER_ACCESS = ["_config_dict", "_get_all_rpc", "_rpc_id"]
|
73
73
|
EXIT_HANDLERS = {}
|
74
74
|
|
75
75
|
def __init__(self, client=None, config: ConnectionConfig = None, gui_id: str = None):
|
@@ -53,6 +53,8 @@ class BECDockArea(BECWidget, QWidget):
|
|
53
53
|
"attach_all",
|
54
54
|
"_get_all_rpc",
|
55
55
|
"temp_areas",
|
56
|
+
"show",
|
57
|
+
"hide",
|
56
58
|
]
|
57
59
|
|
58
60
|
def __init__(
|
@@ -412,6 +414,18 @@ class BECDockArea(BECWidget, QWidget):
|
|
412
414
|
self.cleanup()
|
413
415
|
super().close()
|
414
416
|
|
417
|
+
def show(self):
|
418
|
+
"""Show all windows including floating docks."""
|
419
|
+
super().show()
|
420
|
+
for docks in self.panels.values():
|
421
|
+
docks.window().show()
|
422
|
+
|
423
|
+
def hide(self):
|
424
|
+
"""Hide all windows including floating docks."""
|
425
|
+
super().hide()
|
426
|
+
for docks in self.panels.values():
|
427
|
+
docks.window().hide()
|
428
|
+
|
415
429
|
|
416
430
|
if __name__ == "__main__":
|
417
431
|
from qtpy.QtWidgets import QApplication
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
from qtpy.QtWidgets import QMainWindow
|
2
|
+
|
3
|
+
from bec_widgets.utils import BECConnector
|
4
|
+
|
5
|
+
|
6
|
+
class BECMainWindow(QMainWindow, BECConnector):
|
7
|
+
def __init__(self, *args, **kwargs):
|
8
|
+
BECConnector.__init__(self, **kwargs)
|
9
|
+
QMainWindow.__init__(self, *args, **kwargs)
|
@@ -5,7 +5,7 @@ from typing import TYPE_CHECKING
|
|
5
5
|
from bec_lib.logger import bec_logger
|
6
6
|
from qtpy.QtCore import QMimeData, Qt
|
7
7
|
from qtpy.QtGui import QDrag
|
8
|
-
from qtpy.QtWidgets import QHBoxLayout, QLabel, QWidget
|
8
|
+
from qtpy.QtWidgets import QApplication, QHBoxLayout, QLabel, QWidget
|
9
9
|
|
10
10
|
if TYPE_CHECKING:
|
11
11
|
from qtpy.QtGui import QMouseEvent
|
@@ -16,6 +16,9 @@ logger = bec_logger.logger
|
|
16
16
|
class DeviceItem(QWidget):
|
17
17
|
def __init__(self, device: str) -> None:
|
18
18
|
super().__init__()
|
19
|
+
|
20
|
+
self._drag_pos = None
|
21
|
+
|
19
22
|
self.device = device
|
20
23
|
layout = QHBoxLayout()
|
21
24
|
layout.setContentsMargins(10, 2, 10, 2)
|
@@ -32,12 +35,21 @@ class DeviceItem(QWidget):
|
|
32
35
|
)
|
33
36
|
|
34
37
|
def mousePressEvent(self, event: QMouseEvent) -> None:
|
38
|
+
super().mousePressEvent(event)
|
35
39
|
if event.button() == Qt.LeftButton:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
40
|
+
self._drag_pos = event.pos()
|
41
|
+
|
42
|
+
def mouseMoveEvent(self, event: QMouseEvent) -> None:
|
43
|
+
if not (event.buttons() and Qt.LeftButton):
|
44
|
+
return
|
45
|
+
if (event.pos() - self._drag_pos).manhattanLength() < QApplication.startDragDistance():
|
46
|
+
return
|
47
|
+
|
48
|
+
drag = QDrag(self)
|
49
|
+
mime_data = QMimeData()
|
50
|
+
mime_data.setText(self.device)
|
51
|
+
drag.setMimeData(mime_data)
|
52
|
+
drag.exec_(Qt.MoveAction)
|
41
53
|
|
42
54
|
def mouseDoubleClickEvent(self, event: QMouseEvent) -> None:
|
43
55
|
logger.debug("Double Clicked")
|
@@ -1,12 +1,12 @@
|
|
1
1
|
.gitignore,sha256=cMQ1MLmnoR88aMCCJwUyfoTnufzl4-ckmHtlFUqHcT4,3253
|
2
|
-
.gitlab-ci.yml,sha256=
|
2
|
+
.gitlab-ci.yml,sha256=bAWGX_NR9rQZmv_bmyLXkEMRreWp0JzVNpsNTxk0NwE,8637
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=rP_mHsOcY94LFhcrRp1KzMa8-oloUwXlsGJvNyoRdOc,7434
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=2HB-XRVq4chLKrU2LZsMvGQNQCFLyftCLvdNiSpkccM,1308
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=QcjZWBGoaVccsAkR_wifdqlxLApFyxtKW9cH0B8FAuw,2586
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
|
12
12
|
.gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
|
@@ -17,19 +17,19 @@ bec_widgets/applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
17
17
|
bec_widgets/applications/bec_app.py,sha256=PptBknsnhWm5GSE-xBps4EAYP3f9i-q9YmUMROupnqQ,2801
|
18
18
|
bec_widgets/applications/alignment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
19
|
bec_widgets/applications/alignment/alignment_1d/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
|
-
bec_widgets/applications/alignment/alignment_1d/alignment_1d.py,sha256=
|
20
|
+
bec_widgets/applications/alignment/alignment_1d/alignment_1d.py,sha256=0Jt5MdqIv98OFb6ToKnOGkZnfrbQN3TXc9Aev6fNcmw,7684
|
21
21
|
bec_widgets/applications/alignment/alignment_1d/alignment_1d.ui,sha256=NSBuD5rZuITpsxOPr30fLFjxd_p1oVwT5L4hqEHN3KQ,18012
|
22
22
|
bec_widgets/assets/app_icons/BEC-General-App.png,sha256=hc2ktly53DZAbl_rE3cb-vdRa5gtdCmBEjfwm2y5P4g,447581
|
23
23
|
bec_widgets/assets/app_icons/alignment_1d.png,sha256=5VouaWieb4lVv3wUBNHaO5ovUW2Fk25aTKYQzOWy0mg,2071069
|
24
24
|
bec_widgets/assets/app_icons/bec_widgets_icon.png,sha256=K8dgGwIjalDh9PRHUsSQBqgdX7a00nM3igZdc20pkYM,1747017
|
25
25
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
26
26
|
bec_widgets/cli/auto_updates.py,sha256=DwzRChcFIWPH2kCYvp8H7dXvyYSKGYv6LwCmK2sDR2E,5676
|
27
|
-
bec_widgets/cli/client.py,sha256=
|
28
|
-
bec_widgets/cli/client_utils.py,sha256=
|
27
|
+
bec_widgets/cli/client.py,sha256=1XWSLn7CwqVkN9g3ELYTacjAsBaRPkGRboq9IvhDcpc,98538
|
28
|
+
bec_widgets/cli/client_utils.py,sha256=5qlMFOh-7J6CclEKMj0BD09cNA4XCp1d1Wj2Z5hPpnA,14106
|
29
29
|
bec_widgets/cli/generate_cli.py,sha256=YyYEPBpu5v9plCFQZHnyvEeFKoeHatpplPGil_D8DJM,6643
|
30
30
|
bec_widgets/cli/rpc_register.py,sha256=8s-YJxqYoKc2K7jRLvs0TjW6_OnhaRYCK00RIok_4qE,2252
|
31
31
|
bec_widgets/cli/rpc_wigdet_handler.py,sha256=C-HK8bXOGmbFb98ekMvfHYghU6mdjwMw6QVYBqVC_xk,1515
|
32
|
-
bec_widgets/cli/server.py,sha256=
|
32
|
+
bec_widgets/cli/server.py,sha256=rRrCcgy0VluiHycr1zL8EMf3siLN7gWxo6aMOZRzZQ8,9000
|
33
33
|
bec_widgets/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
34
|
bec_widgets/examples/general_app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
35
|
bec_widgets/examples/general_app/general_app.py,sha256=PoFCTuA_1yqrpgthASpYFgH7JDUZTcXAPZ5h0e3XZfc,3053
|
@@ -54,7 +54,7 @@ bec_widgets/qt_utils/toolbar.py,sha256=yR2WNPv7dD8jU12aHgUMAi5-FYyCKe2MNSsqMzsa5
|
|
54
54
|
bec_widgets/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
bec_widgets/tests/utils.py,sha256=D1v3JLzzbnX3HXBQCjoFlNz5cYhjqrRkFcjx3yptMJA,6687
|
56
56
|
bec_widgets/utils/__init__.py,sha256=1930ji1Jj6dVuY81Wd2kYBhHYNV-2R0bN_L4o9zBj1U,533
|
57
|
-
bec_widgets/utils/bec_connector.py,sha256=
|
57
|
+
bec_widgets/utils/bec_connector.py,sha256=g40KPxhfuSHLlAa6dyO1PtC-9cQpN8ZGgn_IAEU_xD4,10070
|
58
58
|
bec_widgets/utils/bec_designer.py,sha256=Z3MeMju-KmTz8POtm23VQfp4rvtD2sF6eIOKQkl2F7w,4729
|
59
59
|
bec_widgets/utils/bec_dispatcher.py,sha256=OFmkx9vOz4pA4Sdc14QreyDZ870QYskJ4B5daVVeYg4,6325
|
60
60
|
bec_widgets/utils/bec_signal_proxy.py,sha256=PKJ7v8pKrAaqA9XNDMZZBlhVtEInX-ae6_0m2cQhiEw,2107
|
@@ -85,7 +85,7 @@ bec_widgets/widgets/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKV
|
|
85
85
|
bec_widgets/widgets/containers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
86
86
|
bec_widgets/widgets/containers/dock/__init__.py,sha256=B7foHt02gnhM7mFksa7GJVwT7n0j_JvYDCt6wc6XR5g,61
|
87
87
|
bec_widgets/widgets/containers/dock/dock.py,sha256=iQqPtjylG0LEmDSimogSD8Ks1WOr_JZMxLhyKjuhZmo,10375
|
88
|
-
bec_widgets/widgets/containers/dock/dock_area.py,sha256=
|
88
|
+
bec_widgets/widgets/containers/dock/dock_area.py,sha256=7IXfGiymWiHETxLHYbFoBsKd6L3_P48vyJO0fRShjlU,16705
|
89
89
|
bec_widgets/widgets/containers/dock/dock_area.pyproject,sha256=URW0UrDXCnkzk80rbQmUMgF6Uqay2TjHsq8Dq0g1j-c,37
|
90
90
|
bec_widgets/widgets/containers/dock/dock_area_plugin.py,sha256=fDVXKPZuHr85B2fLfAYf_Ic5d9mZQpnZrODTDquzZpM,1331
|
91
91
|
bec_widgets/widgets/containers/dock/register_dock_area.py,sha256=L7BL4qknCjtqsDP-RMQzk2qRPpcYuzXWlb7sJB_0DDM,475
|
@@ -106,6 +106,8 @@ bec_widgets/widgets/containers/figure/plots/multi_waveform/multi_waveform.py,sha
|
|
106
106
|
bec_widgets/widgets/containers/figure/plots/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
107
|
bec_widgets/widgets/containers/figure/plots/waveform/waveform.py,sha256=6j-3hg0tVtpCnDgbYObTYwiNI7ciuWgQ5L1TlAN0Kg8,57543
|
108
108
|
bec_widgets/widgets/containers/figure/plots/waveform/waveform_curve.py,sha256=9rOFHIxRjz0-G6f-mpw0FNmX846ZPwGn8yrJ3FpxlVc,8725
|
109
|
+
bec_widgets/widgets/containers/main_window/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
110
|
+
bec_widgets/widgets/containers/main_window/main_window.py,sha256=A2IAux-lqupMCVZOQu7AUt1AEaeIG3Eza85eN0bknlI,272
|
109
111
|
bec_widgets/widgets/control/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
110
112
|
bec_widgets/widgets/control/buttons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
111
113
|
bec_widgets/widgets/control/buttons/button_abort/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -278,7 +280,7 @@ bec_widgets/widgets/services/device_browser/device_browser.ui,sha256=Dy_3oXArScP
|
|
278
280
|
bec_widgets/widgets/services/device_browser/device_browser_plugin.py,sha256=JS4uYQclT-h0jMTPZ_wZgi5MCert--gjmmBks_EmEoo,1299
|
279
281
|
bec_widgets/widgets/services/device_browser/register_device_browser.py,sha256=OrL6NwN47TMu-ib6vqtnQ3ogePMWVipG3IfEXyq2OqY,509
|
280
282
|
bec_widgets/widgets/services/device_browser/device_item/__init__.py,sha256=VGY-uNVCnpcY-q-gijteB2N8KxFNgYR-qQ209MVu1QI,36
|
281
|
-
bec_widgets/widgets/services/device_browser/device_item/device_item.py,sha256=
|
283
|
+
bec_widgets/widgets/services/device_browser/device_item/device_item.py,sha256=u3CTgXJBqwNP3uxrIWYGacEuoOu1a_DxfXYZ3Q4sK_M,1901
|
282
284
|
bec_widgets/widgets/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
285
|
bec_widgets/widgets/utility/spinner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
284
286
|
bec_widgets/widgets/utility/spinner/register_spinner_widget.py,sha256=96A13dEcyTgXfc9G0sTdlXYCDcVav8Z2P2eDC95bESQ,484
|
@@ -311,8 +313,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=Z
|
|
311
313
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
|
312
314
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
|
313
315
|
bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
|
314
|
-
bec_widgets-1.
|
315
|
-
bec_widgets-1.
|
316
|
-
bec_widgets-1.
|
317
|
-
bec_widgets-1.
|
318
|
-
bec_widgets-1.
|
316
|
+
bec_widgets-1.6.0.dist-info/METADATA,sha256=2HB-XRVq4chLKrU2LZsMvGQNQCFLyftCLvdNiSpkccM,1308
|
317
|
+
bec_widgets-1.6.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
318
|
+
bec_widgets-1.6.0.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
319
|
+
bec_widgets-1.6.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
320
|
+
bec_widgets-1.6.0.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|