bec-widgets 0.85.1__py3-none-any.whl → 0.86.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.
- CHANGELOG.md +6 -6
- PKG-INFO +1 -1
- bec_widgets/qt_utils/toolbar.py +10 -1
- {bec_widgets-0.85.1.dist-info → bec_widgets-0.86.0.dist-info}/METADATA +1 -1
- {bec_widgets-0.85.1.dist-info → bec_widgets-0.86.0.dist-info}/RECORD +9 -9
- pyproject.toml +1 -1
- {bec_widgets-0.85.1.dist-info → bec_widgets-0.86.0.dist-info}/WHEEL +0 -0
- {bec_widgets-0.85.1.dist-info → bec_widgets-0.86.0.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.85.1.dist-info → bec_widgets-0.86.0.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.86.0 (2024-07-17)
|
4
|
+
|
5
|
+
### Feature
|
6
|
+
|
7
|
+
* feat(toolbar): added separator action ([`ba69e79`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/ba69e7957cd20df1557ac0c3a9ca43a54493c34d))
|
8
|
+
|
3
9
|
## v0.85.1 (2024-07-17)
|
4
10
|
|
5
11
|
### Fix
|
@@ -133,9 +139,3 @@
|
|
133
139
|
* refactor(color_button): ColorButton moved to top level of widgets ([`fa1e86f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/fa1e86ff07b25d2c47c73117b00765b8e2f25da4))
|
134
140
|
|
135
141
|
## v0.81.2 (2024-07-07)
|
136
|
-
|
137
|
-
### Fix
|
138
|
-
|
139
|
-
* fix(waveform): scan_history error check for IndexError ([`dd1875e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/dd1875ea5cc18bcef9aad743347a8accf144c08d))
|
140
|
-
|
141
|
-
## v0.81.1 (2024-07-07)
|
PKG-INFO
CHANGED
bec_widgets/qt_utils/toolbar.py
CHANGED
@@ -3,7 +3,7 @@ from collections import defaultdict
|
|
3
3
|
|
4
4
|
# pylint: disable=no-name-in-module
|
5
5
|
from qtpy.QtCore import QSize
|
6
|
-
from qtpy.QtWidgets import QToolBar, QWidget
|
6
|
+
from qtpy.QtWidgets import QToolBar, QToolButton, QWidget
|
7
7
|
|
8
8
|
|
9
9
|
class ToolBarAction(ABC):
|
@@ -17,6 +17,15 @@ class ToolBarAction(ABC):
|
|
17
17
|
"""
|
18
18
|
|
19
19
|
|
20
|
+
class SeparatorAction(ToolBarAction):
|
21
|
+
"""Separator action for the toolbar."""
|
22
|
+
|
23
|
+
def add_to_toolbar(self, toolbar: QToolBar, target: QWidget):
|
24
|
+
self.separator = QToolButton()
|
25
|
+
self.separator.setFixedSize(2, 22)
|
26
|
+
toolbar.addWidget(self.separator)
|
27
|
+
|
28
|
+
|
20
29
|
class ModularToolBar(QToolBar):
|
21
30
|
"""Modular toolbar with optional automatic initialization.
|
22
31
|
Args:
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=zvb4A6QI5lQTsdfI5nPPL-tUNfcrz__SQjxW03QZ5Ek,8204
|
3
3
|
.pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=Gam_5nn79T5f-A773dIaB33QmP44uTIWBM3L5kj21sw,7441
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=KgvvrUy255cF4Cs816POOoo5Cm1JCCUcy4NVzND-eNU,1308
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=zmDd5EnTI1ncYL1_Bk83z9D8e74STHBEoegO6OwI-LM,2357
|
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
|
@@ -35,7 +35,7 @@ bec_widgets/examples/plugin_example_pyside/tictactoeplugin.py,sha256=BBt3MD8oDLU
|
|
35
35
|
bec_widgets/examples/plugin_example_pyside/tictactoetaskmenu.py,sha256=LNwplI6deUdKY6FOhUuWBanotxk9asF2G-6k7lFfA8Y,2301
|
36
36
|
bec_widgets/qt_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
37
|
bec_widgets/qt_utils/settings_dialog.py,sha256=rR_Zk4RGTnI4dz5OEzCc13lVpxlOKuwOf4_7wqXSbRw,3373
|
38
|
-
bec_widgets/qt_utils/toolbar.py,sha256=
|
38
|
+
bec_widgets/qt_utils/toolbar.py,sha256=yzxCmZ7c00B2JD1TkUpPeQgM_-v7zuTYe38Qkw_yvrc,2430
|
39
39
|
bec_widgets/utils/__init__.py,sha256=1930ji1Jj6dVuY81Wd2kYBhHYNV-2R0bN_L4o9zBj1U,533
|
40
40
|
bec_widgets/utils/bec_connector.py,sha256=NypWbIrqb2ls3SIpflM6KihidV9fkroiJu2tQk6KwOA,9604
|
41
41
|
bec_widgets/utils/bec_designer.py,sha256=ak3G8FdojUPjVBBwdPXw7tN5P2Uxr-SSoQt394jXeAA,4308
|
@@ -271,8 +271,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
271
271
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
272
272
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
273
273
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
274
|
-
bec_widgets-0.
|
275
|
-
bec_widgets-0.
|
276
|
-
bec_widgets-0.
|
277
|
-
bec_widgets-0.
|
278
|
-
bec_widgets-0.
|
274
|
+
bec_widgets-0.86.0.dist-info/METADATA,sha256=KgvvrUy255cF4Cs816POOoo5Cm1JCCUcy4NVzND-eNU,1308
|
275
|
+
bec_widgets-0.86.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
276
|
+
bec_widgets-0.86.0.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
277
|
+
bec_widgets-0.86.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
278
|
+
bec_widgets-0.86.0.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|