bec-widgets 2.12.0__py3-none-any.whl → 2.12.1__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.
- CHANGELOG.md +8 -0
- PKG-INFO +1 -1
- bec_widgets/utils/crosshair.py +2 -2
- {bec_widgets-2.12.0.dist-info → bec_widgets-2.12.1.dist-info}/METADATA +1 -1
- {bec_widgets-2.12.0.dist-info → bec_widgets-2.12.1.dist-info}/RECORD +9 -9
- pyproject.toml +1 -1
- {bec_widgets-2.12.0.dist-info → bec_widgets-2.12.1.dist-info}/WHEEL +0 -0
- {bec_widgets-2.12.0.dist-info → bec_widgets-2.12.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-2.12.0.dist-info → bec_widgets-2.12.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
3
|
|
4
|
+
## v2.12.1 (2025-06-05)
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
- **crosshair**: Emitted name from crosshair 2D is objectName of image or its id
|
9
|
+
([`3e2544e`](https://github.com/bec-project/bec_widgets/commit/3e2544e52a84b30a5acb4a7874025fa359a3c58d))
|
10
|
+
|
11
|
+
|
4
12
|
## v2.12.0 (2025-06-04)
|
5
13
|
|
6
14
|
### Bug Fixes
|
PKG-INFO
CHANGED
bec_widgets/utils/crosshair.py
CHANGED
@@ -312,7 +312,7 @@ class Crosshair(QObject):
|
|
312
312
|
y_values[name] = closest_y
|
313
313
|
x_values[name] = closest_x
|
314
314
|
elif isinstance(item, pg.ImageItem): # 2D plot
|
315
|
-
name = item.
|
315
|
+
name = item.objectName() or str(id(item))
|
316
316
|
image_2d = item.image
|
317
317
|
if image_2d is None:
|
318
318
|
continue
|
@@ -400,7 +400,7 @@ class Crosshair(QObject):
|
|
400
400
|
)
|
401
401
|
self.coordinatesChanged1D.emit(coordinate_to_emit)
|
402
402
|
elif isinstance(item, pg.ImageItem):
|
403
|
-
name = item.
|
403
|
+
name = item.objectName() or str(id(item))
|
404
404
|
x, y = x_snap_values[name], y_snap_values[name]
|
405
405
|
if x is None or y is None:
|
406
406
|
continue
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=1nMYldzVk0tFkBWYTcUjumOrdSADASheWOAc0kOFDYs,9509
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=ivqg3HTaOxNbEW3bzWh9MXAkrekuGoNdj0Mj3SdRYuw,639
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=aibe9NzesiaBxpYGGLEcieGO0X5K2kNdChWbS1Lkz_8,296944
|
6
6
|
LICENSE,sha256=Daeiu871NcAp8uYi4eB_qHgvypG-HX0ioRQyQxFwjeg,1531
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=wptvRuS9Q-MU6MikQcSUQChj8FQ8Wm-AQ86iE9P902s,1254
|
8
8
|
README.md,sha256=oY5Jc1uXehRASuwUJ0umin2vfkFh7tHF-LLruHTaQx0,3560
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=YCScLsK5LsAQvYfmpjvE0C6r1rScg7M9VCG9-I7h7tQ,2835
|
10
10
|
.git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
|
11
11
|
.github/pull_request_template.md,sha256=F_cJXzooWMFgMGtLK-7KeGcQt0B4AYFse5oN0zQ9p6g,801
|
12
12
|
.github/ISSUE_TEMPLATE/bug_report.yml,sha256=WdRnt7HGxvsIBLzhkaOWNfg8IJQYa_oV9_F08Ym6znQ,1081
|
@@ -72,7 +72,7 @@ bec_widgets/utils/collapsible_panel_manager.py,sha256=tvv77-9YTfYpsU6M_Le3bHR6wt
|
|
72
72
|
bec_widgets/utils/colors.py,sha256=i1DuwwdXzRs7HVq9m5wXSaZOJwLX5mJPvV6GAqylZhM,18341
|
73
73
|
bec_widgets/utils/compact_popup.py,sha256=xVK_lQqL5Hy1ZnUzHXB8GU-Ru-mXevKcdM8ync3ssiA,10269
|
74
74
|
bec_widgets/utils/container_utils.py,sha256=J8YXombOlAPa3M8NGZdhntp2NirBu4raDEQZOgP4elM,3791
|
75
|
-
bec_widgets/utils/crosshair.py,sha256=
|
75
|
+
bec_widgets/utils/crosshair.py,sha256=d4h3uHh9ZvW0PlI0yWI-kKvgLQP7E6HJoCPzNvojHr0,22306
|
76
76
|
bec_widgets/utils/entry_validator.py,sha256=lwT8HP0RDG1FXENIeZ3IDEF2DQmD8KXGkRxPoMXbryk,1817
|
77
77
|
bec_widgets/utils/error_popups.py,sha256=UBAmD1YlAgKodpihudyf0VWtI59KGFiLgnjiKmKGjgk,13254
|
78
78
|
bec_widgets/utils/expandable_frame.py,sha256=ynqRFwXsd6jWT5C6qjNwmmHY9Rm9UCALeL32OPQkYgw,3785
|
@@ -407,8 +407,8 @@ bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.py,sha256=O
|
|
407
407
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button.pyproject,sha256=Lbi9zb6HNlIq14k6hlzR-oz6PIFShBuF7QxE6d87d64,34
|
408
408
|
bec_widgets/widgets/utility/visual/dark_mode_button/dark_mode_button_plugin.py,sha256=CzChz2SSETYsR8-36meqWnsXCT-FIy_J_xeU5coWDY8,1350
|
409
409
|
bec_widgets/widgets/utility/visual/dark_mode_button/register_dark_mode_button.py,sha256=rMpZ1CaoucwobgPj1FuKTnt07W82bV1GaSYdoqcdMb8,521
|
410
|
-
bec_widgets-2.12.
|
411
|
-
bec_widgets-2.12.
|
412
|
-
bec_widgets-2.12.
|
413
|
-
bec_widgets-2.12.
|
414
|
-
bec_widgets-2.12.
|
410
|
+
bec_widgets-2.12.1.dist-info/METADATA,sha256=wptvRuS9Q-MU6MikQcSUQChj8FQ8Wm-AQ86iE9P902s,1254
|
411
|
+
bec_widgets-2.12.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
412
|
+
bec_widgets-2.12.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
|
413
|
+
bec_widgets-2.12.1.dist-info/licenses/LICENSE,sha256=Daeiu871NcAp8uYi4eB_qHgvypG-HX0ioRQyQxFwjeg,1531
|
414
|
+
bec_widgets-2.12.1.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|