bec-widgets 0.93.0__py3-none-any.whl → 0.93.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 +10 -10
- PKG-INFO +1 -1
- bec_widgets/widgets/dock/dock.py +18 -2
- {bec_widgets-0.93.0.dist-info → bec_widgets-0.93.1.dist-info}/METADATA +1 -1
- {bec_widgets-0.93.0.dist-info → bec_widgets-0.93.1.dist-info}/RECORD +11 -10
- docs/user/getting_started/getting_started.md +1 -0
- docs/user/getting_started/video_tutorials.md +17 -0
- pyproject.toml +1 -1
- {bec_widgets-0.93.0.dist-info → bec_widgets-0.93.1.dist-info}/WHEEL +0 -0
- {bec_widgets-0.93.0.dist-info → bec_widgets-0.93.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.93.0.dist-info → bec_widgets-0.93.1.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.93.1 (2024-08-06)
|
4
|
+
|
5
|
+
### Documentation
|
6
|
+
|
7
|
+
* docs: added video tutorial section with BSEG YT video ([`302ae90`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/302ae90139f6a88e2401fe29fe312387486e27a9))
|
8
|
+
|
9
|
+
### Fix
|
10
|
+
|
11
|
+
* fix(dock): docks have more recognizable red icon for closing docks ([`af86860`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/af86860bf35474805fb1a7bc3725cf8835ed4cc7))
|
12
|
+
|
3
13
|
## v0.93.0 (2024-08-05)
|
4
14
|
|
5
15
|
### Feature
|
@@ -134,18 +144,8 @@ This reverts commit fd6ae91993a23a7b8dbb2cf3c4b7c3eda6d2b0f6 ([`5aad401`](https:
|
|
134
144
|
|
135
145
|
## v0.89.0 (2024-07-22)
|
136
146
|
|
137
|
-
### Feature
|
138
|
-
|
139
|
-
* feat(themes): moved themes to bec_qthemes ([`3798714`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3798714369adf4023f833b7749d2f46a0ec74eee))
|
140
|
-
|
141
147
|
### Unknown
|
142
148
|
|
143
149
|
* Revert "feat(themes): moved themes to bec_qthemes"
|
144
150
|
|
145
151
|
This reverts commit 3798714369adf4023f833b7749d2f46a0ec74eee ([`fd6ae91`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/fd6ae91993a23a7b8dbb2cf3c4b7c3eda6d2b0f6))
|
146
|
-
|
147
|
-
## v0.88.1 (2024-07-22)
|
148
|
-
|
149
|
-
### Refactor
|
150
|
-
|
151
|
-
* refactor(toolbar): generalizations of the ToolBarAction ([`ad112d1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/ad112d1f08157f6987edd48a0bacf9f669ef1997))
|
PKG-INFO
CHANGED
bec_widgets/widgets/dock/dock.py
CHANGED
@@ -4,6 +4,7 @@ from typing import TYPE_CHECKING, Any, Literal, Optional
|
|
4
4
|
|
5
5
|
from pydantic import Field
|
6
6
|
from pyqtgraph.dockarea import Dock, DockLabel
|
7
|
+
from qtpy import QtCore, QtGui
|
7
8
|
|
8
9
|
from bec_widgets.cli.rpc_wigdet_handler import widget_handler
|
9
10
|
from bec_widgets.utils import ConnectionConfig, GridLayoutManager
|
@@ -12,8 +13,6 @@ from bec_widgets.utils.bec_widget import BECWidget
|
|
12
13
|
if TYPE_CHECKING:
|
13
14
|
from qtpy.QtWidgets import QWidget
|
14
15
|
|
15
|
-
from bec_widgets.widgets.dock import BECDockArea
|
16
|
-
|
17
16
|
|
18
17
|
class DockConfig(ConnectionConfig):
|
19
18
|
widgets: dict[str, Any] = Field({}, description="The widgets in the dock.")
|
@@ -26,6 +25,23 @@ class DockConfig(ConnectionConfig):
|
|
26
25
|
|
27
26
|
|
28
27
|
class CustomDockLabel(DockLabel):
|
28
|
+
def __init__(self, text: str, closable: bool = True):
|
29
|
+
super().__init__(text, closable)
|
30
|
+
if closable:
|
31
|
+
red_icon = QtGui.QIcon()
|
32
|
+
pixmap = QtGui.QPixmap(32, 32)
|
33
|
+
pixmap.fill(QtCore.Qt.GlobalColor.red)
|
34
|
+
painter = QtGui.QPainter(pixmap)
|
35
|
+
pen = QtGui.QPen(QtCore.Qt.GlobalColor.white)
|
36
|
+
pen.setWidth(2)
|
37
|
+
painter.setPen(pen)
|
38
|
+
painter.drawLine(8, 8, 24, 24)
|
39
|
+
painter.drawLine(24, 8, 8, 24)
|
40
|
+
painter.end()
|
41
|
+
red_icon.addPixmap(pixmap)
|
42
|
+
|
43
|
+
self.closeButton.setIcon(red_icon)
|
44
|
+
|
29
45
|
def updateStyle(self):
|
30
46
|
r = "3px"
|
31
47
|
if self.dim:
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=BtKhZI3dhK09En1BfpglYi-ZJwG6ZdC-iJr7kXFVfCg,8346
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=otbJ_R-dxPpGAB9azrMzUtAkApa_Rb6PWyiQJUsa_nw,6808
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=JXPydLuNR0lLLpQgXI6v6Inf_PohIvMDbdVbwqAu2TU,1307
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=GjsstJ8Kw2uhgeB7Pb6QbZXwpcsVvlq4wwH5LoOEyJg,2356
|
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
|
@@ -169,7 +169,7 @@ bec_widgets/widgets/device_line_edit/device_line_edit.pyproject,sha256=tqAYXRbxs
|
|
169
169
|
bec_widgets/widgets/device_line_edit/device_line_edit_plugin.py,sha256=RPtGVPLadUVyfEvj1EAJ9ftXe3Htp40JdHGj9zBLukc,1462
|
170
170
|
bec_widgets/widgets/device_line_edit/register_device_line_edit.py,sha256=8gEPnC8djYCw-idoZAENNB3bPOxM6pbzEp9A366EAGg,489
|
171
171
|
bec_widgets/widgets/dock/__init__.py,sha256=B7foHt02gnhM7mFksa7GJVwT7n0j_JvYDCt6wc6XR5g,61
|
172
|
-
bec_widgets/widgets/dock/dock.py,sha256=
|
172
|
+
bec_widgets/widgets/dock/dock.py,sha256=tucFaP4refSeMo2b2UK4nCiY0KCiZuePyBba7qbkvOI,10236
|
173
173
|
bec_widgets/widgets/dock/dock_area.py,sha256=VPdDCM2z8K9u2xcfcHaEdsaOEgf8tJlPl4czogWyFP4,13114
|
174
174
|
bec_widgets/widgets/dock/dock_area.pyproject,sha256=URW0UrDXCnkzk80rbQmUMgF6Uqay2TjHsq8Dq0g1j-c,37
|
175
175
|
bec_widgets/widgets/dock/dock_area_plugin.py,sha256=oG2zDxUA1YLvSBoFVeFVkz4HIWLruAwOsCZ00H2Z70A,1345
|
@@ -290,10 +290,11 @@ docs/user/api_reference/api_reference.md,sha256=q2Imc48Rq6GcAP0R4bS3KuW5ptZZdsV4
|
|
290
290
|
docs/user/applications/applications.md,sha256=yOECfaYRUEDIxF-O0duOwSJlG4f93RylrpMjbw1-8Dg,100
|
291
291
|
docs/user/getting_started/BECDockArea.png,sha256=t3vSm_rVRk371J5LOutbolETuEjStNc2aTT1YFOcSSA,2046774
|
292
292
|
docs/user/getting_started/auto_updates.md,sha256=Gicx3lplI6JRBlnPj_VL6IhqOIcsWjYF4_EdZSCje2A,3754
|
293
|
-
docs/user/getting_started/getting_started.md,sha256=
|
293
|
+
docs/user/getting_started/getting_started.md,sha256=3BCqXH1bTc128YJIrtXeF0GzJJxeB6YqQRP7hFjVtSw,375
|
294
294
|
docs/user/getting_started/gui_complex_gui.gif,sha256=ovv9u371BGG5GqhzyBMl4mvqMHLfJS0ylr-dR0Ydwtw,6550393
|
295
295
|
docs/user/getting_started/installation.md,sha256=VqtHasD0BAPt-K6YJQicWpyqb91RJYkZ8qpvwSLsgaY,1153
|
296
296
|
docs/user/getting_started/quick_start.md,sha256=ABDRRB8DM8dFYdsWUfzQV0eaffRFAlcn2HIfw7yiUGs,9401
|
297
|
+
docs/user/getting_started/video_tutorials.md,sha256=rLIlyIwVH0fsi-CaY8FebUBzF4sWP3UPirB1LvbL1go,765
|
297
298
|
docs/user/widgets/BECFigure.png,sha256=8dQr4u0uk_y0VV-R1Jh9yTR3Vidd9HDEno_07R0swaE,1605920
|
298
299
|
docs/user/widgets/bec_figure.md,sha256=tNT-5QP3DekY_iC9jOMULzdxmUU8wMkkX5Ru9yq0Txo,6671
|
299
300
|
docs/user/widgets/bec_figure_dap.gif,sha256=8EBRKcB7828M7w429c7djTZG2AbfJ-Zsy1epPvyYoII,4058735
|
@@ -369,8 +370,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
369
370
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
370
371
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
371
372
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
372
|
-
bec_widgets-0.93.
|
373
|
-
bec_widgets-0.93.
|
374
|
-
bec_widgets-0.93.
|
375
|
-
bec_widgets-0.93.
|
376
|
-
bec_widgets-0.93.
|
373
|
+
bec_widgets-0.93.1.dist-info/METADATA,sha256=JXPydLuNR0lLLpQgXI6v6Inf_PohIvMDbdVbwqAu2TU,1307
|
374
|
+
bec_widgets-0.93.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
375
|
+
bec_widgets-0.93.1.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
376
|
+
bec_widgets-0.93.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
377
|
+
bec_widgets-0.93.1.dist-info/RECORD,,
|
@@ -0,0 +1,17 @@
|
|
1
|
+
(user.video_tutorials)=
|
2
|
+
|
3
|
+
# Video Tutorials
|
4
|
+
|
5
|
+
This section includes video tutorials that demonstrate various use cases of `bec-widgets`, including video tutorials,
|
6
|
+
presentations, and conference talks.
|
7
|
+
|
8
|
+
## BSEG Meeting 24th July 2024
|
9
|
+
|
10
|
+
This video is a presentation of the BEC Widgets project at the BSEG meeting on the 24th July 2024. The presentation
|
11
|
+
covers the basic interactions, including visualization of live data acquisition and how to steer experiments using
|
12
|
+
user-friendly tools. Learn how BEC Widgets can enhance your experimental control projects with its intuitive interface
|
13
|
+
and powerful features.
|
14
|
+
|
15
|
+
Used version of BEC Widgets: 0.91.0
|
16
|
+
|
17
|
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/qZ8fWXRAdHE" frameborder="0" allowfullscreen></iframe>
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|