bec-widgets 0.85.0__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 CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## v0.85.1 (2024-07-17)
10
+
11
+ ### Fix
12
+
13
+ * fix(waveform): readout_priority dict fixed, not overwritten to 'baseline' key ([`b5b0aa4`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/b5b0aa4f82a998bb0162dc319591e854204a7354))
14
+
3
15
  ## v0.85.0 (2024-07-16)
4
16
 
5
17
  ### Feature
@@ -127,15 +139,3 @@
127
139
  * refactor(color_button): ColorButton moved to top level of widgets ([`fa1e86f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/fa1e86ff07b25d2c47c73117b00765b8e2f25da4))
128
140
 
129
141
  ## v0.81.2 (2024-07-07)
130
-
131
- ### Fix
132
-
133
- * fix(waveform): scan_history error check for IndexError ([`dd1875e`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/dd1875ea5cc18bcef9aad743347a8accf144c08d))
134
-
135
- ## v0.81.1 (2024-07-07)
136
-
137
- ### Fix
138
-
139
- * fix(motor_control): temporary remove of motor control widgets ([`99114f1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/99114f14f62202e1fd8bf145616fa8c69937ada4))
140
-
141
- ## v0.81.0 (2024-07-06)
PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 0.85.0
3
+ Version: 0.86.0
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -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:
@@ -364,7 +364,7 @@ class BECWaveform(BECPlotBase):
364
364
  self.x_axis_mode = {
365
365
  "name": x_name,
366
366
  "entry": x_entry,
367
- readout_priority_x: readout_priority_x,
367
+ "readout_priority": readout_priority_x,
368
368
  }
369
369
 
370
370
  if len(self.curves) > 0:
@@ -596,8 +596,6 @@ class BECWaveform(BECPlotBase):
596
596
  y_name(str): Name of the y signal.
597
597
  y_entry(str): Entry of the y signal.
598
598
  color(str, optional): Color of the curve. Defaults to None.
599
- color_map_z(str): The color map to use for the z-axis.
600
- label(str, optional): Label of the curve. Defaults to None.
601
599
  dap(str): The dap model to use for the curve.
602
600
  validate_bec(bool, optional): If True, validate the signal with BEC. Defaults to True.
603
601
  **kwargs: Additional keyword arguments for the curve configuration.
@@ -632,7 +630,6 @@ class BECWaveform(BECPlotBase):
632
630
  label=label,
633
631
  source="DAP",
634
632
  dap=dap,
635
- pen_style="dash",
636
633
  symbol="star",
637
634
  **kwargs,
638
635
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 0.85.0
3
+ Version: 0.86.0
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -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=qfCubB8BgPi9QiPtGGeDxjPct_eSvK1Ep9UIP9Rgh34,7430
5
+ CHANGELOG.md,sha256=Gam_5nn79T5f-A773dIaB33QmP44uTIWBM3L5kj21sw,7441
6
6
  LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
7
- PKG-INFO,sha256=WWcaoP_OMmYA22TW83DKHT9_qQS5IpZxIOV5wcyUPkM,1308
7
+ PKG-INFO,sha256=KgvvrUy255cF4Cs816POOoo5Cm1JCCUcy4NVzND-eNU,1308
8
8
  README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
9
- pyproject.toml,sha256=bCu_XxdOirPXbnbNVdYtCKmbhJCJFxnxINDiZU02bnE,2357
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=UUvC_AwUW3d6MqAzRJIBBqNWLrvBQI9UvekJ9Dw1A-w,2142
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
@@ -119,7 +119,7 @@ bec_widgets/widgets/figure/plots/image/image_processor.py,sha256=GeTtWjbldy6VejM
119
119
  bec_widgets/widgets/figure/plots/motor_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
120
  bec_widgets/widgets/figure/plots/motor_map/motor_map.py,sha256=FH3ZSYThGco98jS29r9EGcIh5fYx8e5eOs_nYJNrr48,18210
121
121
  bec_widgets/widgets/figure/plots/waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
122
- bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=fH3gl1KFVUiKUhfk4UNnBzhW-gyeZq0K_xgrdeKq8PA,52537
122
+ bec_widgets/widgets/figure/plots/waveform/waveform.py,sha256=ZDG5Pw9drzKrNW8-TIwJKC9ViW-wNnTIiPCoDQR4ehM,52368
123
123
  bec_widgets/widgets/figure/plots/waveform/waveform_curve.py,sha256=rQow0EkMtoETJ4xNRRtHbpPuJ4AmNjtn9fx4IM5enh4,8436
124
124
  bec_widgets/widgets/jupyter_console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
125
  bec_widgets/widgets/jupyter_console/jupyter_console.py,sha256=ioLYJL31RdBoAOGFSS8PVSnUhkWPWmLC3tiKp7CouO8,2251
@@ -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.85.0.dist-info/METADATA,sha256=WWcaoP_OMmYA22TW83DKHT9_qQS5IpZxIOV5wcyUPkM,1308
275
- bec_widgets-0.85.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
276
- bec_widgets-0.85.0.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
277
- bec_widgets-0.85.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
278
- bec_widgets-0.85.0.dist-info/RECORD,,
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_widgets"
7
- version = "0.85.0"
7
+ version = "0.86.0"
8
8
  description = "BEC Widgets"
9
9
  requires-python = ">=3.10"
10
10
  classifiers = [