bec-widgets 1.3.1__py3-none-any.whl → 1.3.3__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,6 +1,28 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v1.3.3 (2024-11-07)
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix(scan_control): DeviceLineEdit kwargs readings changed to get name of the positioner ([`5fabd4b`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/5fabd4bea95bafd2352102686357cc1db80813fd))
9
+
10
+ ### Documentation
11
+
12
+ * docs: update outdated text in docs ([`4f0693c`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/4f0693cae34b391d75884837e1ae6353a0501868))
13
+
14
+
15
+ ## v1.3.2 (2024-11-05)
16
+
17
+ ### Bug Fixes
18
+
19
+ * fix(plot_base): legend text color is changed when changing dark-light theme ([`2304c9f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2304c9f8497c1ab1492f3e6690bb79b0464c0df8))
20
+
21
+ ### Build System
22
+
23
+ * build: PySide6 version fixed 6.7.2 ([`c6e48ec`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c6e48ec1fe5aaee6a7c7a6f930f1520cd439cdb2))
24
+
25
+
4
26
  ## v1.3.1 (2024-10-31)
5
27
 
6
28
  ### Bug Fixes
@@ -146,27 +168,3 @@ if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_
146
168
 
147
169
 
148
170
  ## v0.116.0 (2024-10-11)
149
-
150
- ### Build System
151
-
152
- * build: fix PySide6 to 6.7.2 ([`908dbc1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/908dbc1760da5b323722207163f00850b84fb90b))
153
-
154
- ### Features
155
-
156
- * feat: UI changes to have top toolbar with compact popup widgets (fix issue #360) ([`499b6b9`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/499b6b9a12efd931b5728b519404c41a7e29e4d6))
157
-
158
- * feat: adapt BECQueue and BECStatusBox widgets to use CompactPopupWidget ([`94ce92f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/94ce92f5b054d25ea3bb7976c1f75e14b78b9edc))
159
-
160
- * feat: add 'CompactPopupWidget' container widget
161
-
162
- Makes it easy to write widgets which can have a compact
163
- representation with LED-like global state indicator,
164
- with the possibility to display a popup dialog with more
165
- complete UI ([`49268e3`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/49268e3829406d70b09e4d88989812f5578e46f4))
166
-
167
-
168
- ## v0.115.0 (2024-10-08)
169
-
170
- ### Bug Fixes
171
-
172
- * fix: make Alignment1D a MainWindow as it is an application ([`c5e9ed6`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c5e9ed6e422acb908e1ada32822f5d7cc256ade7))
PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 1.3.1
3
+ Version: 1.3.3
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
@@ -32,4 +32,4 @@ Provides-Extra: pyqt6
32
32
  Requires-Dist: pyqt6-webengine>=6.7; extra == 'pyqt6'
33
33
  Requires-Dist: pyqt6>=6.7; extra == 'pyqt6'
34
34
  Provides-Extra: pyside6
35
- Requires-Dist: pyside6~=6.7.2; extra == 'pyside6'
35
+ Requires-Dist: pyside6==6.7.2; extra == 'pyside6'
@@ -147,6 +147,9 @@ class BECPlotBase(BECConnector, pg.GraphicsLayout):
147
147
  for axis in ["left", "bottom", "right", "top"]:
148
148
  self.plot_item.getAxis(axis).setPen(text_pen)
149
149
  self.plot_item.getAxis(axis).setTextPen(text_pen)
150
+ if self.plot_item.legend is not None:
151
+ for sample, label in self.plot_item.legend.items:
152
+ label.setText(label.text, color=palette.text().color())
150
153
 
151
154
  def set(self, **kwargs) -> None:
152
155
  """
@@ -321,7 +321,7 @@ class ScanGroupBox(QGroupBox):
321
321
  for i in range(self.layout.columnCount()):
322
322
  widget = self.layout.itemAtPosition(1, i).widget()
323
323
  if isinstance(widget, DeviceLineEdit) and device_object:
324
- value = widget.get_device()
324
+ value = widget.get_current_device().name
325
325
  else:
326
326
  value = WidgetIO.get_value(widget)
327
327
  kwargs[widget.arg_name] = value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 1.3.1
3
+ Version: 1.3.3
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
@@ -32,4 +32,4 @@ Provides-Extra: pyqt6
32
32
  Requires-Dist: pyqt6-webengine>=6.7; extra == 'pyqt6'
33
33
  Requires-Dist: pyqt6>=6.7; extra == 'pyqt6'
34
34
  Provides-Extra: pyside6
35
- Requires-Dist: pyside6~=6.7.2; extra == 'pyside6'
35
+ Requires-Dist: pyside6==6.7.2; extra == 'pyside6'
@@ -2,11 +2,11 @@
2
2
  .gitlab-ci.yml,sha256=Dc1iDjsc72UxdUtihx4uSZU0lrTQeR8hZwGx1MQBfKE,8432
3
3
  .pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
4
4
  .readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
5
- CHANGELOG.md,sha256=A0GM9Fa5jYkqKeEcw5IAZ81RgMpNy2293E5E2JQgfZY,7469
5
+ CHANGELOG.md,sha256=cgyZRiQC6QIW3SQEQFw_RcJ15AdKkZrhH8tP4uJ66HU,7173
6
6
  LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
7
- PKG-INFO,sha256=eXtOE9B-l0s9uksPdM43GA1jzVY7LLSPCyB9IkoaZ2Q,1332
7
+ PKG-INFO,sha256=_Vibdhs_bkm8kHRiCmMydb96n1FDg_WY_ntz057_j70,1332
8
8
  README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
9
- pyproject.toml,sha256=ktS8Ms0WgS8GzDEpQU5mJOWMFduMmKogyAmmoE5XK-E,2592
9
+ pyproject.toml,sha256=_yIJ5UY-I9Lp8p4lOJ3zCvOMvlwxgqFKOXO9grFMLmM,2592
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
@@ -174,7 +174,7 @@ bec_widgets/widgets/figure/figure.py,sha256=dHH27Fwr9dFBx4g6CXfDQr09LVAUi7xghxuk
174
174
  bec_widgets/widgets/figure/plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
175
175
  bec_widgets/widgets/figure/plots/axis_settings.py,sha256=grgrX4t4eAzccW4jj4HYtMSxy8Wgcd9N9J1aU7UHtIs,3723
176
176
  bec_widgets/widgets/figure/plots/axis_settings.ui,sha256=ye-guaRU_jhu7sHZS-9AjBjLrCtA1msOD0dszu4o9x8,11785
177
- bec_widgets/widgets/figure/plots/plot_base.py,sha256=7c1HQaGwxsN2vQOFuF5Z68Gp-hbeHOI04C4wvWQs89w,18180
177
+ bec_widgets/widgets/figure/plots/plot_base.py,sha256=ucpyhP_jNt37gghv1VTydBkzJaUlILvwfHFUapfN4v8,18360
178
178
  bec_widgets/widgets/figure/plots/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
179
  bec_widgets/widgets/figure/plots/image/image.py,sha256=tTtBoAA5CRhSEMae0k8dElM-MznnhcgTg0flXIIduq0,28052
180
180
  bec_widgets/widgets/figure/plots/image/image_item.py,sha256=TwHo6FwCiQgJBdr-KKy_7Y_vYSB0pPjBl1AubuZSrE0,11002
@@ -238,7 +238,7 @@ bec_widgets/widgets/scan_control/register_scan_control.py,sha256=xUX2yR0-MaIMg9_
238
238
  bec_widgets/widgets/scan_control/scan_control.py,sha256=GcdPR2ZeDLEId5JJlorAVM__QncJC3wFv96EaGPzmsM,18030
239
239
  bec_widgets/widgets/scan_control/scan_control.pyproject,sha256=eTgVDFKToIH8_BbJjM2RvbOLr7HnYoidX0SAHx640DM,30
240
240
  bec_widgets/widgets/scan_control/scan_control_plugin.py,sha256=7GaqmaRgbwIPjVoXcyKVDl8UpfqC2weViup-YFfzUsM,1270
241
- bec_widgets/widgets/scan_control/scan_group_box.py,sha256=JKmuBFzIS_LwY0LJkikgBZjvsLdp18ruKqWst2g4syo,12865
241
+ bec_widgets/widgets/scan_control/scan_group_box.py,sha256=i9pxDJ_Adg6Dp0jUvQadyoBRGIcte0puWJuoYZROIUE,12878
242
242
  bec_widgets/widgets/signal_combobox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
243
  bec_widgets/widgets/signal_combobox/register_signal_combobox.py,sha256=VpdKxMVZ1VUvQwIaOEJccVApgEQtHYRbTllW4vvM5Es,487
244
244
  bec_widgets/widgets/signal_combobox/signal_combobox.py,sha256=3qnwFKOv1ueBVMygHgFXNR1dQQWSOmp1aojZLXTA-Ek,4524
@@ -290,8 +290,8 @@ bec_widgets/widgets/website/register_website_widget.py,sha256=LIQJpV9uqcBiPR9cEA
290
290
  bec_widgets/widgets/website/website.py,sha256=42pncCc_zI2eqeMArIurVmPUukRo5bTxa2h1Skah-io,3012
291
291
  bec_widgets/widgets/website/website_widget.pyproject,sha256=scOiV3cV1_BjbzpPzy2N8rIJL5P2qIZz8ObTJ-Uvdtg,25
292
292
  bec_widgets/widgets/website/website_widget_plugin.py,sha256=pz38_C2cZ0yvPPS02wdIPcmhFo_yiwUhflsASocAPQQ,1341
293
- bec_widgets-1.3.1.dist-info/METADATA,sha256=eXtOE9B-l0s9uksPdM43GA1jzVY7LLSPCyB9IkoaZ2Q,1332
294
- bec_widgets-1.3.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
295
- bec_widgets-1.3.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
296
- bec_widgets-1.3.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
297
- bec_widgets-1.3.1.dist-info/RECORD,,
293
+ bec_widgets-1.3.3.dist-info/METADATA,sha256=_Vibdhs_bkm8kHRiCmMydb96n1FDg_WY_ntz057_j70,1332
294
+ bec_widgets-1.3.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
295
+ bec_widgets-1.3.3.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
296
+ bec_widgets-1.3.3.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
297
+ bec_widgets-1.3.3.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 = "1.3.1"
7
+ version = "1.3.3"
8
8
  description = "BEC Widgets"
9
9
  requires-python = ">=3.10"
10
10
  classifiers = [
@@ -38,7 +38,7 @@ dev = [
38
38
  "pytest~=8.0",
39
39
  ]
40
40
  pyqt6 = ["PyQt6>=6.7", "PyQt6-WebEngine>=6.7"]
41
- pyside6 = ["PySide6~=6.7.2"]
41
+ pyside6 = ["PySide6==6.7.2"]
42
42
 
43
43
  [project.urls]
44
44
  "Bug Tracker" = "https://gitlab.psi.ch/bec/bec_widgets/issues"