bec-widgets 0.92.5__py3-none-any.whl → 0.93.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 +8 -8
- PKG-INFO +2 -2
- bec_widgets/utils/colors.py +3 -4
- bec_widgets/widgets/spinner/spinner.py +1 -1
- {bec_widgets-0.92.5.dist-info → bec_widgets-0.93.0.dist-info}/METADATA +2 -2
- {bec_widgets-0.92.5.dist-info → bec_widgets-0.93.0.dist-info}/RECORD +14 -14
- pyproject.toml +2 -2
- tests/references/SpinnerWidget/SpinnerWidget_darwin.png +0 -0
- tests/references/SpinnerWidget/SpinnerWidget_linux.png +0 -0
- tests/references/SpinnerWidget/SpinnerWidget_started_darwin.png +0 -0
- tests/references/SpinnerWidget/SpinnerWidget_started_linux.png +0 -0
- {bec_widgets-0.92.5.dist-info → bec_widgets-0.93.0.dist-info}/WHEEL +0 -0
- {bec_widgets-0.92.5.dist-info → bec_widgets-0.93.0.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.92.5.dist-info → bec_widgets-0.93.0.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.93.0 (2024-08-05)
|
4
|
+
|
5
|
+
### Feature
|
6
|
+
|
7
|
+
* feat(themes): moved themes to bec_qthemes
|
8
|
+
|
9
|
+
This reverts commit fd6ae91993a23a7b8dbb2cf3c4b7c3eda6d2b0f6 ([`5aad401`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/5aad401ef8774c7330784f72cd3b9d8c253e2b6a))
|
10
|
+
|
3
11
|
## v0.92.5 (2024-08-05)
|
4
12
|
|
5
13
|
### Fix
|
@@ -138,14 +146,6 @@ This reverts commit 3798714369adf4023f833b7749d2f46a0ec74eee ([`fd6ae91`](https:
|
|
138
146
|
|
139
147
|
## v0.88.1 (2024-07-22)
|
140
148
|
|
141
|
-
### Documentation
|
142
|
-
|
143
|
-
* docs: readthedocs icon path fixed ([`2bcaa42`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2bcaa4256d6daaefacb3ead8c72458d7b1498e29))
|
144
|
-
|
145
|
-
### Fix
|
146
|
-
|
147
|
-
* fix(plot_base): set_xy autorange moved to plotbase from waveform ([`a3dff7d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a3dff7decc16115c12dc6b4ef1572552368da309))
|
148
|
-
|
149
149
|
### Refactor
|
150
150
|
|
151
151
|
* refactor(toolbar): generalizations of the ToolBarAction ([`ad112d1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/ad112d1f08157f6987edd48a0bacf9f669ef1997))
|
PKG-INFO
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: bec_widgets
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.93.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
|
@@ -11,12 +11,12 @@ Classifier: Topic :: Scientific/Engineering
|
|
11
11
|
Requires-Python: >=3.10
|
12
12
|
Requires-Dist: bec-ipython-client~=2.16
|
13
13
|
Requires-Dist: bec-lib~=2.16
|
14
|
+
Requires-Dist: bec-qthemes~=0.0
|
14
15
|
Requires-Dist: black~=24.0
|
15
16
|
Requires-Dist: isort>=5.13.2,~=5.13
|
16
17
|
Requires-Dist: pydantic~=2.0
|
17
18
|
Requires-Dist: pyqtgraph~=0.13
|
18
19
|
Requires-Dist: pyte
|
19
|
-
Requires-Dist: qdarkstyle>=3.2.2
|
20
20
|
Requires-Dist: qtconsole>=5.5.1,~=5.5
|
21
21
|
Requires-Dist: qtpy~=2.4
|
22
22
|
Provides-Extra: dev
|
bec_widgets/utils/colors.py
CHANGED
@@ -2,11 +2,10 @@ import itertools
|
|
2
2
|
import re
|
3
3
|
from typing import Literal
|
4
4
|
|
5
|
+
import bec_qthemes
|
5
6
|
import numpy as np
|
6
7
|
import pyqtgraph as pg
|
7
|
-
import qdarkstyle
|
8
8
|
from pydantic_core import PydanticCustomError
|
9
|
-
from qdarkstyle import DarkPalette, LightPalette
|
10
9
|
from qtpy.QtGui import QColor
|
11
10
|
from qtpy.QtWidgets import QApplication
|
12
11
|
|
@@ -14,7 +13,7 @@ CURRENT_THEME = "dark"
|
|
14
13
|
|
15
14
|
|
16
15
|
def get_theme_palette():
|
17
|
-
return
|
16
|
+
return bec_qthemes.load_palette(CURRENT_THEME)
|
18
17
|
|
19
18
|
|
20
19
|
def apply_theme(theme: Literal["dark", "light"]):
|
@@ -30,7 +29,7 @@ def apply_theme(theme: Literal["dark", "light"]):
|
|
30
29
|
pg_widget.setBackground("k" if theme == "dark" else "w")
|
31
30
|
|
32
31
|
# now define stylesheet according to theme and apply it
|
33
|
-
style =
|
32
|
+
style = bec_qthemes.load_stylesheet(theme)
|
34
33
|
app.setStyleSheet(style)
|
35
34
|
|
36
35
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: bec_widgets
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.93.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
|
@@ -11,12 +11,12 @@ Classifier: Topic :: Scientific/Engineering
|
|
11
11
|
Requires-Python: >=3.10
|
12
12
|
Requires-Dist: bec-ipython-client~=2.16
|
13
13
|
Requires-Dist: bec-lib~=2.16
|
14
|
+
Requires-Dist: bec-qthemes~=0.0
|
14
15
|
Requires-Dist: black~=24.0
|
15
16
|
Requires-Dist: isort>=5.13.2,~=5.13
|
16
17
|
Requires-Dist: pydantic~=2.0
|
17
18
|
Requires-Dist: pyqtgraph~=0.13
|
18
19
|
Requires-Dist: pyte
|
19
|
-
Requires-Dist: qdarkstyle>=3.2.2
|
20
20
|
Requires-Dist: qtconsole>=5.5.1,~=5.5
|
21
21
|
Requires-Dist: qtpy~=2.4
|
22
22
|
Provides-Extra: dev
|
@@ -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=PtPZWne4JpK9xkQHLWcevAw8n6EoMbCud7Vs0ZndVaI,6784
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=QipcnWkl-3rKW2eckl9UoMBZpbwC9V7v7wZOj_5bBPM,1307
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=gNRSj12kQUPek79ogtapfwRpeUfK0sfO4Dy7P98TE-0,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
|
@@ -111,7 +111,7 @@ bec_widgets/utils/bec_designer.py,sha256=ak3G8FdojUPjVBBwdPXw7tN5P2Uxr-SSoQt394j
|
|
111
111
|
bec_widgets/utils/bec_dispatcher.py,sha256=fhI7_X0kSZCtXyR55Qn-w7BfNdk2Roc1Tyx0bx3bjoE,6195
|
112
112
|
bec_widgets/utils/bec_table.py,sha256=nA2b8ukSeUfquFMAxGrUVOqdrzMoDYD6O_4EYbOG2zk,717
|
113
113
|
bec_widgets/utils/bec_widget.py,sha256=Bo2v1aP7rgSAQajW8GBJbI3iovTn_hGCsmeFMo7bT10,707
|
114
|
-
bec_widgets/utils/colors.py,sha256=
|
114
|
+
bec_widgets/utils/colors.py,sha256=hNIi99EpMv3t3hTJIL2jBe5nzh5f2fuCyEKXEPWSQSc,10501
|
115
115
|
bec_widgets/utils/container_utils.py,sha256=m3VUyAYmSWkEwApP9tBvKxPYVtc2kHw4toxIpMryJy4,1495
|
116
116
|
bec_widgets/utils/crosshair.py,sha256=SubY4FQCI6vUKsmMYGKHR7uYdGQJ6vhoYLuC1XlKS9I,9626
|
117
117
|
bec_widgets/utils/entry_validator.py,sha256=3skJIsUwTYicT76AMHm_M78RiWtUgyD2zb-Rxo2HdHQ,1313
|
@@ -223,7 +223,7 @@ bec_widgets/widgets/scan_control/scan_control_plugin.py,sha256=vglBKLZKVSFsVxiU1
|
|
223
223
|
bec_widgets/widgets/scan_control/scan_group_box.py,sha256=wrrJLfI0apfll0NKpqM8ymlbl5NaqA9cKNgyfVdYR00,7420
|
224
224
|
bec_widgets/widgets/spinner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
225
225
|
bec_widgets/widgets/spinner/register_spinner_widget.py,sha256=_zCPjLh4M7NTSHP1Atdn6yu33zJ3LJkcBy3KOJ5eSVY,476
|
226
|
-
bec_widgets/widgets/spinner/spinner.py,sha256=
|
226
|
+
bec_widgets/widgets/spinner/spinner.py,sha256=3A-VcX7HLDyqWsMoTUpB4jKHL26YuAbwOk3qonp3dI4,2591
|
227
227
|
bec_widgets/widgets/spinner/spinner_widget.pyproject,sha256=zzLajGB3DTgVnrSqMey2jRpBlxTq9cBXZL9tWJCKe-I,25
|
228
228
|
bec_widgets/widgets/spinner/spinner_widget_plugin.py,sha256=22b3n0ZGBDI44_cd72Q8ts_iKA3X1i1GhAQ80N2SGtU,1376
|
229
229
|
bec_widgets/widgets/stop_button/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -318,10 +318,10 @@ tests/end-2-end/test_bec_dock_rpc_e2e.py,sha256=hj06aUBGofq7yeFVoT3LB4NrCjc5FbOo
|
|
318
318
|
tests/end-2-end/test_bec_figure_rpc_e2e.py,sha256=73vuBbPJvkMR3w2jnQ7lk0z4-wN3HAmkLFDdv4BRPrM,6604
|
319
319
|
tests/end-2-end/test_rpc_register_e2e.py,sha256=blhMiW7HVHX1kGm5dg8Sv0PeCuJ0gnBz3evznQFz_B8,1619
|
320
320
|
tests/end-2-end/test_scan_control_e2e.py,sha256=Jp1YGwgoAKdvn8e9P6sySEWMPAAlFRJO3WRwD_uZfHc,2295
|
321
|
-
tests/references/SpinnerWidget/SpinnerWidget_darwin.png,sha256
|
322
|
-
tests/references/SpinnerWidget/SpinnerWidget_linux.png,sha256
|
323
|
-
tests/references/SpinnerWidget/SpinnerWidget_started_darwin.png,sha256=
|
324
|
-
tests/references/SpinnerWidget/SpinnerWidget_started_linux.png,sha256=
|
321
|
+
tests/references/SpinnerWidget/SpinnerWidget_darwin.png,sha256=-Tf5x0xY0pb-8sXH6Pk8cZL5PAxZ4vMR5RgyGCxisM4,9490
|
322
|
+
tests/references/SpinnerWidget/SpinnerWidget_linux.png,sha256=-Tf5x0xY0pb-8sXH6Pk8cZL5PAxZ4vMR5RgyGCxisM4,9490
|
323
|
+
tests/references/SpinnerWidget/SpinnerWidget_started_darwin.png,sha256=wPc65MrSSKJib2aBlPI20mBE-zfamOh-SORGRD27dhQ,14773
|
324
|
+
tests/references/SpinnerWidget/SpinnerWidget_started_linux.png,sha256=gE1L3nVuypmsW8vcnV9kX4mDgQGGXYjiEIYiRifr5DM,15265
|
325
325
|
tests/unit_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
326
326
|
tests/unit_tests/client_mocks.py,sha256=4pS4KvvFGY9hjphds9i-GoIjVWVkax4XpDnVp6Mctfw,5275
|
327
327
|
tests/unit_tests/conftest.py,sha256=TXlKoz9s-VzCfufvBh8ZC5cpaD-lm8WmHlf9WHd6E7w,965
|
@@ -369,8 +369,8 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
369
369
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
370
370
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
371
371
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
372
|
-
bec_widgets-0.
|
373
|
-
bec_widgets-0.
|
374
|
-
bec_widgets-0.
|
375
|
-
bec_widgets-0.
|
376
|
-
bec_widgets-0.
|
372
|
+
bec_widgets-0.93.0.dist-info/METADATA,sha256=QipcnWkl-3rKW2eckl9UoMBZpbwC9V7v7wZOj_5bBPM,1307
|
373
|
+
bec_widgets-0.93.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
374
|
+
bec_widgets-0.93.0.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
375
|
+
bec_widgets-0.93.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
376
|
+
bec_widgets-0.93.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.
|
7
|
+
version = "0.93.0"
|
8
8
|
description = "BEC Widgets"
|
9
9
|
requires-python = ">=3.10"
|
10
10
|
classifiers = [
|
@@ -19,7 +19,7 @@ dependencies = [
|
|
19
19
|
"isort~=5.13, >=5.13.2", # needed for bw-generate-cli
|
20
20
|
"pydantic~=2.0",
|
21
21
|
"pyqtgraph~=0.13",
|
22
|
-
"
|
22
|
+
"bec_qthemes~=0.0",
|
23
23
|
"qtconsole~=5.5, >=5.5.1", # needed for jupyter console
|
24
24
|
"qtpy~=2.4",
|
25
25
|
"pyte", # needed for vt100 console
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|