bec-widgets 0.57.3__py3-none-any.whl → 0.57.4__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 +9 -9
- PKG-INFO +1 -1
- bec_widgets/cli/client.py +2 -2
- bec_widgets/widgets/dock/dock.py +3 -2
- bec_widgets/widgets/dock/dock_area.py +2 -2
- {bec_widgets-0.57.3.dist-info → bec_widgets-0.57.4.dist-info}/METADATA +1 -1
- {bec_widgets-0.57.3.dist-info → bec_widgets-0.57.4.dist-info}/RECORD +10 -10
- pyproject.toml +1 -1
- {bec_widgets-0.57.3.dist-info → bec_widgets-0.57.4.dist-info}/WHEEL +0 -0
- {bec_widgets-0.57.3.dist-info → bec_widgets-0.57.4.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## v0.57.4 (2024-06-06)
|
6
|
+
|
7
|
+
### Fix
|
8
|
+
|
9
|
+
* fix(docks): set_title do update dock internal _name now ([`15cbc21`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/15cbc21e5bb3cf85f5822d44a2b3665b5aa2f346))
|
10
|
+
|
11
|
+
* fix(docks): docks widget_list adn dockarea panels return values fixed ([`ffae5ee`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/ffae5ee54e6b43da660131092452adff195ba4fb))
|
12
|
+
|
13
|
+
|
5
14
|
## v0.57.3 (2024-06-06)
|
6
15
|
|
7
16
|
### Documentation
|
@@ -150,12 +159,3 @@
|
|
150
159
|
### Refactor
|
151
160
|
|
152
161
|
* refactor(reconstruction): repository structure is changed to separate assets needed for each widget ([`3455c60`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3455c602361d3b5cc3ff9190f9d2870474becf8a))
|
153
|
-
|
154
|
-
* refactor(clean-up): 1st generation widgets are removed ([`edc25fb`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/edc25fbf9d5a0321e5f0a80b492b6337df807849))
|
155
|
-
|
156
|
-
|
157
|
-
## v0.53.3 (2024-05-16)
|
158
|
-
|
159
|
-
### Fix
|
160
|
-
|
161
|
-
* fix: removed apparently unnecessary sleep while waiting for an rpc response ([`7d64cac`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7d64cac6610b39d3553ff650354f78ead8ee6b55))
|
PKG-INFO
CHANGED
bec_widgets/cli/client.py
CHANGED
@@ -1429,7 +1429,7 @@ class BECDock(RPCBase):
|
|
1429
1429
|
|
1430
1430
|
@property
|
1431
1431
|
@rpc_call
|
1432
|
-
def widget_list(self) -> "list":
|
1432
|
+
def widget_list(self) -> "list[BECConnector]":
|
1433
1433
|
"""
|
1434
1434
|
Get the widgets in the dock.
|
1435
1435
|
|
@@ -1550,7 +1550,7 @@ class BECDockArea(RPCBase, BECGuiClientMixin):
|
|
1550
1550
|
|
1551
1551
|
@property
|
1552
1552
|
@rpc_call
|
1553
|
-
def panels(self) -> "dict":
|
1553
|
+
def panels(self) -> "dict[str, BECDock]":
|
1554
1554
|
"""
|
1555
1555
|
Get the docks in the dock area.
|
1556
1556
|
Returns:
|
bec_widgets/widgets/dock/dock.py
CHANGED
@@ -93,7 +93,7 @@ class BECDock(BECConnector, Dock):
|
|
93
93
|
super().float()
|
94
94
|
|
95
95
|
@property
|
96
|
-
def widget_list(self) -> list:
|
96
|
+
def widget_list(self) -> list[BECConnector]:
|
97
97
|
"""
|
98
98
|
Get the widgets in the dock.
|
99
99
|
|
@@ -103,7 +103,7 @@ class BECDock(BECConnector, Dock):
|
|
103
103
|
return self.widgets
|
104
104
|
|
105
105
|
@widget_list.setter
|
106
|
-
def widget_list(self, value: list):
|
106
|
+
def widget_list(self, value: list[BECConnector]):
|
107
107
|
self.widgets = value
|
108
108
|
|
109
109
|
def hide_title_bar(self):
|
@@ -131,6 +131,7 @@ class BECDock(BECConnector, Dock):
|
|
131
131
|
"""
|
132
132
|
self.parent_dock_area.docks[title] = self.parent_dock_area.docks.pop(self.name())
|
133
133
|
self.setTitle(title)
|
134
|
+
self._name = title
|
134
135
|
|
135
136
|
def get_widgets_positions(self) -> dict:
|
136
137
|
"""
|
@@ -61,7 +61,7 @@ class BECDockArea(BECConnector, DockArea):
|
|
61
61
|
painter.drawText(self.rect(), Qt.AlignCenter, "Add docks using 'add_dock' method")
|
62
62
|
|
63
63
|
@property
|
64
|
-
def panels(self) -> dict:
|
64
|
+
def panels(self) -> dict[str, BECDock]:
|
65
65
|
"""
|
66
66
|
Get the docks in the dock area.
|
67
67
|
Returns:
|
@@ -70,7 +70,7 @@ class BECDockArea(BECConnector, DockArea):
|
|
70
70
|
return dict(self.docks)
|
71
71
|
|
72
72
|
@panels.setter
|
73
|
-
def panels(self, value: dict):
|
73
|
+
def panels(self, value: dict[str, BECDock]):
|
74
74
|
self.docks = WeakValueDictionary(value)
|
75
75
|
|
76
76
|
@property
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.gitlab-ci.yml,sha256=RF2JeGh8tG09DyAOwEu991IZy3C8Vm6lI8O_4Dr9B9Q,12239
|
3
3
|
.pylintrc,sha256=OstrgmEyP0smNFBKoIN5_26-UmNZgMHnbjvAWX0UrLs,18535
|
4
4
|
.readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
|
5
|
-
CHANGELOG.md,sha256=
|
5
|
+
CHANGELOG.md,sha256=2esrblmGTAUC2BpdcbzcNlafnueMIxMo_gtMCT7dfkY,7194
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=ukwaCUUTwP-ii1cJaCwhzRP1lgtBQudsgeaPmN42EQ8,1178
|
8
8
|
README.md,sha256=y4jB6wvArS7N8_iTbKWnSM_oRAqLA2GqgzUR-FMh5sU,2645
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=FV6Tjdlgwje0qnVHKUewiGTvgnaQfQ9nMuyJDZ4XTUA,1822
|
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
|
@@ -17,7 +17,7 @@ bec_widgets/assets/bec_widgets_icon.png,sha256=K8dgGwIjalDh9PRHUsSQBqgdX7a00nM3i
|
|
17
17
|
bec_widgets/assets/terminal_icon.png,sha256=bJl7Tft4Fi2uxvuXI8o14uMHnI9eAWKSU2uftXCH9ws,3889
|
18
18
|
bec_widgets/cli/__init__.py,sha256=tLD8HWgyURhMjYlKZ43pBu-qvGD1LI5o3n3rEieg-70,43
|
19
19
|
bec_widgets/cli/auto_updates.py,sha256=8x4_SrD8Hh1RbrUWXLfisw6X5v8Mij2DiTfjvn9dkUw,4692
|
20
|
-
bec_widgets/cli/client.py,sha256=
|
20
|
+
bec_widgets/cli/client.py,sha256=64cpbO_YNQWZbYa6YgymEaN4dGc1iZmM_Os3CBSaI64,53391
|
21
21
|
bec_widgets/cli/client_utils.py,sha256=7u8P9EYgLPJuAcHxnFiZi-gCZohO3vAn0W7dqsSrs4M,10660
|
22
22
|
bec_widgets/cli/generate_cli.py,sha256=tBt-F4Xccg9Pj2zuDEGHd0Ho1fKLfCf3PuSa8KmelQk,4431
|
23
23
|
bec_widgets/cli/rpc_register.py,sha256=QxXUZu5XNg00Yf5O3UHWOXg3-f_pzKjjoZYMOa-MOJc,2216
|
@@ -48,8 +48,8 @@ bec_widgets/utils/widget_io.py,sha256=f36198CvT_EzWQ_cg2G-4tRRsaMdJ3yVqsZWKJCQEf
|
|
48
48
|
bec_widgets/utils/yaml_dialog.py,sha256=cMVif-39SB9WjwGH5FWBJcFs4tnfFJFs5cacydRyhy0,1853
|
49
49
|
bec_widgets/widgets/__init__.py,sha256=LKgIuY3CI-NHCa_bY9pThYhxLH0MHDo8iNEJDDVIVmw,172
|
50
50
|
bec_widgets/widgets/dock/__init__.py,sha256=B7foHt02gnhM7mFksa7GJVwT7n0j_JvYDCt6wc6XR5g,61
|
51
|
-
bec_widgets/widgets/dock/dock.py,sha256=
|
52
|
-
bec_widgets/widgets/dock/dock_area.py,sha256=
|
51
|
+
bec_widgets/widgets/dock/dock.py,sha256=HCr0MeXljzIFOSuHuWfTz_B5str03pjkKXPX8PCrJ9c,9010
|
52
|
+
bec_widgets/widgets/dock/dock_area.py,sha256=zupu05KHrrdUlNNQe-x9zC-bXDk-qPXvr_mONCm-JwI,7759
|
53
53
|
bec_widgets/widgets/figure/__init__.py,sha256=3hGx_KOV7QHCYAV06aNuUgKq4QIYCjUTad-DrwkUaBM,44
|
54
54
|
bec_widgets/widgets/figure/figure.py,sha256=OzeKZme89JnzMcKT1sACnyw951EtRoSUALl58upY6b4,29762
|
55
55
|
bec_widgets/widgets/figure/plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -151,7 +151,7 @@ tests/unit_tests/test_configs/config_device_no_entry.yaml,sha256=hdvue9KLc_kfNzG
|
|
151
151
|
tests/unit_tests/test_configs/config_scan.yaml,sha256=vo484BbWOjA_e-h6bTjSV9k7QaQHrlAvx-z8wtY-P4E,1915
|
152
152
|
tests/unit_tests/test_msgs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
153
153
|
tests/unit_tests/test_msgs/available_scans_message.py,sha256=m_z97hIrjHXXMa2Ex-UvsPmTxOYXfjxyJaGkIY6StTY,46532
|
154
|
-
bec_widgets-0.57.
|
155
|
-
bec_widgets-0.57.
|
156
|
-
bec_widgets-0.57.
|
157
|
-
bec_widgets-0.57.
|
154
|
+
bec_widgets-0.57.4.dist-info/METADATA,sha256=ukwaCUUTwP-ii1cJaCwhzRP1lgtBQudsgeaPmN42EQ8,1178
|
155
|
+
bec_widgets-0.57.4.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
156
|
+
bec_widgets-0.57.4.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
157
|
+
bec_widgets-0.57.4.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|