bec-widgets 0.107.0__py3-none-any.whl → 0.108.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 +12 -12
- PKG-INFO +1 -1
- bec_widgets/cli/client.py +52 -0
- bec_widgets/cli/generate_cli.py +20 -3
- bec_widgets/cli/server.py +7 -2
- bec_widgets/widgets/bec_progressbar/__init__.py +0 -0
- bec_widgets/widgets/bec_progressbar/bec_progress_bar.pyproject +1 -0
- bec_widgets/widgets/bec_progressbar/bec_progress_bar_plugin.py +54 -0
- bec_widgets/widgets/bec_progressbar/bec_progressbar.py +257 -0
- bec_widgets/widgets/bec_progressbar/register_bec_progress_bar.py +15 -0
- {bec_widgets-0.107.0.dist-info → bec_widgets-0.108.0.dist-info}/METADATA +1 -1
- {bec_widgets-0.107.0.dist-info → bec_widgets-0.108.0.dist-info}/RECORD +16 -11
- pyproject.toml +1 -1
- {bec_widgets-0.107.0.dist-info → bec_widgets-0.108.0.dist-info}/WHEEL +0 -0
- {bec_widgets-0.107.0.dist-info → bec_widgets-0.108.0.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.107.0.dist-info → bec_widgets-0.108.0.dist-info}/licenses/LICENSE +0 -0
CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## v0.108.0 (2024-09-06)
|
4
|
+
|
5
|
+
### Documentation
|
6
|
+
|
7
|
+
* docs(progressbar): added docs ([`7d07cea`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/7d07cea946f9c884477b01bebfb60b332ff09e0a))
|
8
|
+
|
9
|
+
### Feature
|
10
|
+
|
11
|
+
* feat(progressbar): added bec progressbar ([`f6d1d0b`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/f6d1d0bbe3ba30a3b7291cd36a1f7f8e6bd5b895))
|
12
|
+
|
13
|
+
* feat(generate_cli): added support for property and qproperty setter ([`a52182d`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a52182dca978833bfc3fad755c596d3a2ef45c42))
|
14
|
+
|
3
15
|
## v0.107.0 (2024-09-06)
|
4
16
|
|
5
17
|
### Documentation
|
@@ -149,15 +161,3 @@
|
|
149
161
|
* fix(positioner_box): fixed positioner box dialog; added test; closes #332 ([`0bf1cf9`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/0bf1cf9b8ab2f9171d5ff63d4e3672eb93e9a5fa))
|
150
162
|
|
151
163
|
## v0.99.14 (2024-08-30)
|
152
|
-
|
153
|
-
### Fix
|
154
|
-
|
155
|
-
* fix(color_button): signal and slot added for selecting color and for emitting color after change ([`99a98de`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/99a98de8a3b7a83d71e4b567e865ac6f5c62a754))
|
156
|
-
|
157
|
-
* fix(color_button): inheritance changed to QWidget ([`3c0e501`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/3c0e501c56227d4d98ff0ac2186ff5065bff8d7a))
|
158
|
-
|
159
|
-
## v0.99.13 (2024-08-30)
|
160
|
-
|
161
|
-
### Fix
|
162
|
-
|
163
|
-
* fix(dark mode button): fixed dark mode button state for external updates, including auto ([`a3110d9`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/a3110d98147295dcb1f9353f9aaf5461cba9232a))
|
PKG-INFO
CHANGED
bec_widgets/cli/client.py
CHANGED
@@ -19,6 +19,7 @@ class Widgets(str, enum.Enum):
|
|
19
19
|
BECFigure = "BECFigure"
|
20
20
|
BECImageWidget = "BECImageWidget"
|
21
21
|
BECMotorMapWidget = "BECMotorMapWidget"
|
22
|
+
BECProgressBar = "BECProgressBar"
|
22
23
|
BECQueue = "BECQueue"
|
23
24
|
BECStatusBox = "BECStatusBox"
|
24
25
|
BECWaveformWidget = "BECWaveformWidget"
|
@@ -1693,6 +1694,57 @@ class BECPlotBase(RPCBase):
|
|
1693
1694
|
"""
|
1694
1695
|
|
1695
1696
|
|
1697
|
+
class BECProgressBar(RPCBase):
|
1698
|
+
@rpc_call
|
1699
|
+
def set_value(self, value):
|
1700
|
+
"""
|
1701
|
+
Set the value of the progress bar.
|
1702
|
+
|
1703
|
+
Args:
|
1704
|
+
value (float): The value to set.
|
1705
|
+
"""
|
1706
|
+
|
1707
|
+
@rpc_call
|
1708
|
+
def set_maximum(self, maximum: float):
|
1709
|
+
"""
|
1710
|
+
Set the maximum value of the progress bar.
|
1711
|
+
|
1712
|
+
Args:
|
1713
|
+
maximum (float): The maximum value.
|
1714
|
+
"""
|
1715
|
+
|
1716
|
+
@rpc_call
|
1717
|
+
def set_minimum(self, minimum: float):
|
1718
|
+
"""
|
1719
|
+
Set the minimum value of the progress bar.
|
1720
|
+
|
1721
|
+
Args:
|
1722
|
+
minimum (float): The minimum value.
|
1723
|
+
"""
|
1724
|
+
|
1725
|
+
@property
|
1726
|
+
@rpc_call
|
1727
|
+
def label_template(self):
|
1728
|
+
"""
|
1729
|
+
The template for the center label. Use $value, $maximum, and $percentage to insert the values.
|
1730
|
+
|
1731
|
+
Examples:
|
1732
|
+
>>> progressbar.label_template = "$value / $maximum - $percentage %"
|
1733
|
+
>>> progressbar.label_template = "$value / $percentage %"
|
1734
|
+
"""
|
1735
|
+
|
1736
|
+
@label_template.setter
|
1737
|
+
@rpc_call
|
1738
|
+
def label_template(self):
|
1739
|
+
"""
|
1740
|
+
The template for the center label. Use $value, $maximum, and $percentage to insert the values.
|
1741
|
+
|
1742
|
+
Examples:
|
1743
|
+
>>> progressbar.label_template = "$value / $maximum - $percentage %"
|
1744
|
+
>>> progressbar.label_template = "$value / $percentage %"
|
1745
|
+
"""
|
1746
|
+
|
1747
|
+
|
1696
1748
|
class BECQueue(RPCBase):
|
1697
1749
|
@property
|
1698
1750
|
@rpc_call
|
bec_widgets/cli/generate_cli.py
CHANGED
@@ -8,6 +8,7 @@ import sys
|
|
8
8
|
|
9
9
|
import black
|
10
10
|
import isort
|
11
|
+
from qtpy.QtCore import Property as QtProperty
|
11
12
|
|
12
13
|
from bec_widgets.utils.generate_designer_plugin import DesignerPluginGenerator
|
13
14
|
from bec_widgets.utils.plugin_utils import BECClassContainer, get_rpc_classes
|
@@ -90,11 +91,27 @@ class {class_name}(RPCBase):"""
|
|
90
91
|
self.content += """...
|
91
92
|
"""
|
92
93
|
for method in cls.USER_ACCESS:
|
93
|
-
|
94
|
-
|
95
|
-
|
94
|
+
is_property_setter = False
|
95
|
+
obj = getattr(cls, method, None)
|
96
|
+
if obj is None:
|
97
|
+
obj = getattr(cls, method.split(".setter")[0], None)
|
98
|
+
is_property_setter = True
|
99
|
+
method = method.split(".setter")[0]
|
100
|
+
if obj is None:
|
101
|
+
raise AttributeError(
|
102
|
+
f"Method {method} not found in class {cls.__name__}. Please check the USER_ACCESS list."
|
103
|
+
)
|
104
|
+
if isinstance(obj, (property, QtProperty)):
|
105
|
+
# for the cli, we can map qt properties to regular properties
|
106
|
+
if is_property_setter:
|
107
|
+
self.content += f"""
|
108
|
+
@{method}.setter
|
109
|
+
@rpc_call"""
|
110
|
+
else:
|
111
|
+
self.content += """
|
96
112
|
@property
|
97
113
|
@rpc_call"""
|
114
|
+
|
98
115
|
sig = str(inspect.signature(obj.fget))
|
99
116
|
doc = inspect.getdoc(obj.fget)
|
100
117
|
else:
|
bec_widgets/cli/server.py
CHANGED
@@ -86,10 +86,15 @@ class BECWidgetsCLIServer:
|
|
86
86
|
return obj
|
87
87
|
|
88
88
|
def run_rpc(self, obj, method, args, kwargs):
|
89
|
+
logger.debug(f"Running RPC instruction: {method} with args: {args}, kwargs: {kwargs}")
|
89
90
|
method_obj = getattr(obj, method)
|
90
91
|
# check if the method accepts args and kwargs
|
91
92
|
if not callable(method_obj):
|
92
|
-
|
93
|
+
if not args:
|
94
|
+
res = method_obj
|
95
|
+
else:
|
96
|
+
setattr(obj, method, args[0])
|
97
|
+
res = None
|
93
98
|
else:
|
94
99
|
sig = inspect.signature(method_obj)
|
95
100
|
if sig.parameters:
|
@@ -245,5 +250,5 @@ def main():
|
|
245
250
|
|
246
251
|
|
247
252
|
if __name__ == "__main__": # pragma: no cover
|
248
|
-
sys.argv = ["bec_widgets.cli.server", "--id", "
|
253
|
+
sys.argv = ["bec_widgets.cli.server", "--id", "e2860", "--gui_class", "BECDockArea"]
|
249
254
|
main()
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{'files': ['bec_progressbar.py']}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# Copyright (C) 2022 The Qt Company Ltd.
|
2
|
+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
3
|
+
|
4
|
+
from qtpy.QtDesigner import QDesignerCustomWidgetInterface
|
5
|
+
|
6
|
+
from bec_widgets.utils.bec_designer import designer_material_icon
|
7
|
+
from bec_widgets.widgets.bec_progressbar.bec_progressbar import BECProgressBar
|
8
|
+
|
9
|
+
DOM_XML = """
|
10
|
+
<ui language='c++'>
|
11
|
+
<widget class='BECProgressBar' name='bec_progress_bar'>
|
12
|
+
</widget>
|
13
|
+
</ui>
|
14
|
+
"""
|
15
|
+
|
16
|
+
|
17
|
+
class BECProgressBarPlugin(QDesignerCustomWidgetInterface): # pragma: no cover
|
18
|
+
def __init__(self):
|
19
|
+
super().__init__()
|
20
|
+
self._form_editor = None
|
21
|
+
|
22
|
+
def createWidget(self, parent):
|
23
|
+
t = BECProgressBar(parent)
|
24
|
+
return t
|
25
|
+
|
26
|
+
def domXml(self):
|
27
|
+
return DOM_XML
|
28
|
+
|
29
|
+
def group(self):
|
30
|
+
return "BEC Utils"
|
31
|
+
|
32
|
+
def icon(self):
|
33
|
+
return designer_material_icon(BECProgressBar.ICON_NAME)
|
34
|
+
|
35
|
+
def includeFile(self):
|
36
|
+
return "bec_progress_bar"
|
37
|
+
|
38
|
+
def initialize(self, form_editor):
|
39
|
+
self._form_editor = form_editor
|
40
|
+
|
41
|
+
def isContainer(self):
|
42
|
+
return False
|
43
|
+
|
44
|
+
def isInitialized(self):
|
45
|
+
return self._form_editor is not None
|
46
|
+
|
47
|
+
def name(self):
|
48
|
+
return "BECProgressBar"
|
49
|
+
|
50
|
+
def toolTip(self):
|
51
|
+
return "A custom progress bar with smooth transitions and a modern design."
|
52
|
+
|
53
|
+
def whatsThis(self):
|
54
|
+
return self.toolTip()
|
@@ -0,0 +1,257 @@
|
|
1
|
+
import sys
|
2
|
+
from string import Template
|
3
|
+
|
4
|
+
from qtpy.QtCore import Property, QEasingCurve, QPropertyAnimation, QRectF, Qt, QTimer, Slot
|
5
|
+
from qtpy.QtGui import QColor, QPainter, QPainterPath
|
6
|
+
from qtpy.QtWidgets import QApplication, QLabel, QVBoxLayout, QWidget
|
7
|
+
|
8
|
+
from bec_widgets.utils.bec_widget import BECWidget
|
9
|
+
|
10
|
+
|
11
|
+
class BECProgressBar(BECWidget, QWidget):
|
12
|
+
"""
|
13
|
+
A custom progress bar with smooth transitions. The displayed text can be customized using a template.
|
14
|
+
"""
|
15
|
+
|
16
|
+
USER_ACCESS = [
|
17
|
+
"set_value",
|
18
|
+
"set_maximum",
|
19
|
+
"set_minimum",
|
20
|
+
"label_template",
|
21
|
+
"label_template.setter",
|
22
|
+
]
|
23
|
+
ICON_NAME = "page_control"
|
24
|
+
|
25
|
+
def __init__(self, parent=None, client=None, config=None, gui_id=None):
|
26
|
+
super().__init__(client=client, config=config, gui_id=gui_id)
|
27
|
+
QWidget.__init__(self, parent=parent)
|
28
|
+
|
29
|
+
accent_colors = QApplication.instance().theme.accent_colors
|
30
|
+
|
31
|
+
# internal values
|
32
|
+
self._oversampling_factor = 50
|
33
|
+
self._value = 0
|
34
|
+
self._target_value = 0
|
35
|
+
self._maximum = 100 * self._oversampling_factor
|
36
|
+
|
37
|
+
# User values
|
38
|
+
self._user_value = 0
|
39
|
+
self._user_minimum = 0
|
40
|
+
self._user_maximum = 100
|
41
|
+
self._label_template = "$value / $maximum - $percentage %"
|
42
|
+
|
43
|
+
# Color settings
|
44
|
+
self._background_color = QColor(30, 30, 30)
|
45
|
+
self._progress_color = accent_colors.highlight # QColor(210, 55, 130)
|
46
|
+
|
47
|
+
self._completed_color = accent_colors.success
|
48
|
+
self._border_color = QColor(50, 50, 50)
|
49
|
+
|
50
|
+
# layout settings
|
51
|
+
self._value_animation = QPropertyAnimation(self, b"_progressbar_value")
|
52
|
+
self._value_animation.setDuration(200)
|
53
|
+
self._value_animation.setEasingCurve(QEasingCurve.Type.OutCubic)
|
54
|
+
|
55
|
+
# label on top of the progress bar
|
56
|
+
self.center_label = QLabel(self)
|
57
|
+
self.center_label.setAlignment(Qt.AlignCenter)
|
58
|
+
self.center_label.setStyleSheet("color: white;")
|
59
|
+
self.center_label.setMinimumSize(0, 0)
|
60
|
+
|
61
|
+
layout = QVBoxLayout(self)
|
62
|
+
layout.setContentsMargins(0, 0, 0, 0)
|
63
|
+
layout.setSpacing(0)
|
64
|
+
layout.addWidget(self.center_label)
|
65
|
+
self.setLayout(layout)
|
66
|
+
|
67
|
+
self.update()
|
68
|
+
|
69
|
+
@Property(str, doc="The template for the center label. Use $value, $maximum, and $percentage.")
|
70
|
+
def label_template(self):
|
71
|
+
"""
|
72
|
+
The template for the center label. Use $value, $maximum, and $percentage to insert the values.
|
73
|
+
|
74
|
+
Examples:
|
75
|
+
>>> progressbar.label_template = "$value / $maximum - $percentage %"
|
76
|
+
>>> progressbar.label_template = "$value / $percentage %"
|
77
|
+
|
78
|
+
"""
|
79
|
+
return self._label_template
|
80
|
+
|
81
|
+
@label_template.setter
|
82
|
+
def label_template(self, template):
|
83
|
+
self._label_template = template
|
84
|
+
self.set_value(self._user_value)
|
85
|
+
self.update()
|
86
|
+
|
87
|
+
@Property(float, designable=False)
|
88
|
+
def _progressbar_value(self):
|
89
|
+
"""
|
90
|
+
The current value of the progress bar.
|
91
|
+
"""
|
92
|
+
return self._value
|
93
|
+
|
94
|
+
@_progressbar_value.setter
|
95
|
+
def _progressbar_value(self, val):
|
96
|
+
self._value = val
|
97
|
+
self.update()
|
98
|
+
|
99
|
+
def _update_template(self):
|
100
|
+
template = Template(self._label_template)
|
101
|
+
return template.safe_substitute(
|
102
|
+
value=self._user_value,
|
103
|
+
maximum=self._user_maximum,
|
104
|
+
percentage=int((self.map_value(self._user_value) / self._maximum) * 100),
|
105
|
+
)
|
106
|
+
|
107
|
+
@Slot(float)
|
108
|
+
@Slot(int)
|
109
|
+
def set_value(self, value):
|
110
|
+
"""
|
111
|
+
Set the value of the progress bar.
|
112
|
+
|
113
|
+
Args:
|
114
|
+
value (float): The value to set.
|
115
|
+
"""
|
116
|
+
if value > self._user_maximum:
|
117
|
+
value = self._user_maximum
|
118
|
+
elif value < self._user_minimum:
|
119
|
+
value = self._user_minimum
|
120
|
+
self._target_value = self.map_value(value)
|
121
|
+
self._user_value = value
|
122
|
+
self.center_label.setText(self._update_template())
|
123
|
+
self.animate_progress()
|
124
|
+
|
125
|
+
def paintEvent(self, event):
|
126
|
+
painter = QPainter(self)
|
127
|
+
painter.setRenderHint(QPainter.Antialiasing)
|
128
|
+
rect = self.rect().adjusted(10, 0, -10, -1)
|
129
|
+
|
130
|
+
# Draw background
|
131
|
+
painter.setBrush(self._background_color)
|
132
|
+
painter.setPen(Qt.NoPen)
|
133
|
+
painter.drawRoundedRect(rect, 10, 10) # Rounded corners
|
134
|
+
|
135
|
+
# Draw border
|
136
|
+
painter.setBrush(Qt.NoBrush)
|
137
|
+
painter.setPen(self._border_color)
|
138
|
+
painter.drawRoundedRect(rect, 10, 10)
|
139
|
+
|
140
|
+
# Determine progress color based on completion
|
141
|
+
if self._value >= self._maximum:
|
142
|
+
current_color = self._completed_color
|
143
|
+
else:
|
144
|
+
current_color = self._progress_color
|
145
|
+
|
146
|
+
# Set clipping region to preserve the background's rounded corners
|
147
|
+
progress_rect = rect.adjusted(
|
148
|
+
0, 0, int(-rect.width() + (self._value / self._maximum) * rect.width()), 0
|
149
|
+
)
|
150
|
+
clip_path = QPainterPath()
|
151
|
+
clip_path.addRoundedRect(QRectF(rect), 10, 10) # Clip to the background's rounded corners
|
152
|
+
painter.setClipPath(clip_path)
|
153
|
+
|
154
|
+
# Draw progress bar
|
155
|
+
painter.setBrush(current_color)
|
156
|
+
painter.drawRect(progress_rect) # Less rounded, no additional rounding
|
157
|
+
|
158
|
+
painter.end()
|
159
|
+
|
160
|
+
def animate_progress(self):
|
161
|
+
"""
|
162
|
+
Animate the progress bar from the current value to the target value.
|
163
|
+
"""
|
164
|
+
self._value_animation.stop()
|
165
|
+
self._value_animation.setStartValue(self._value)
|
166
|
+
self._value_animation.setEndValue(self._target_value)
|
167
|
+
self._value_animation.start()
|
168
|
+
|
169
|
+
@Property(float)
|
170
|
+
def maximum(self):
|
171
|
+
"""
|
172
|
+
The maximum value of the progress bar.
|
173
|
+
"""
|
174
|
+
return self._user_maximum
|
175
|
+
|
176
|
+
@maximum.setter
|
177
|
+
def maximum(self, maximum: float):
|
178
|
+
"""
|
179
|
+
Set the maximum value of the progress bar.
|
180
|
+
"""
|
181
|
+
self.set_maximum(maximum)
|
182
|
+
|
183
|
+
@Property(float)
|
184
|
+
def minimum(self):
|
185
|
+
"""
|
186
|
+
The minimum value of the progress bar.
|
187
|
+
"""
|
188
|
+
return self._user_minimum
|
189
|
+
|
190
|
+
@minimum.setter
|
191
|
+
def minimum(self, minimum: float):
|
192
|
+
self.set_minimum(minimum)
|
193
|
+
|
194
|
+
@Property(float)
|
195
|
+
def initial_value(self):
|
196
|
+
"""
|
197
|
+
The initial value of the progress bar.
|
198
|
+
"""
|
199
|
+
return self._user_value
|
200
|
+
|
201
|
+
@initial_value.setter
|
202
|
+
def initial_value(self, value: float):
|
203
|
+
self.set_value(value)
|
204
|
+
|
205
|
+
@Slot(float)
|
206
|
+
def set_maximum(self, maximum: float):
|
207
|
+
"""
|
208
|
+
Set the maximum value of the progress bar.
|
209
|
+
|
210
|
+
Args:
|
211
|
+
maximum (float): The maximum value.
|
212
|
+
"""
|
213
|
+
self._user_maximum = maximum
|
214
|
+
self.set_value(self._user_value) # Update the value to fit the new range
|
215
|
+
self.update()
|
216
|
+
|
217
|
+
@Slot(float)
|
218
|
+
def set_minimum(self, minimum: float):
|
219
|
+
"""
|
220
|
+
Set the minimum value of the progress bar.
|
221
|
+
|
222
|
+
Args:
|
223
|
+
minimum (float): The minimum value.
|
224
|
+
"""
|
225
|
+
self._user_minimum = minimum
|
226
|
+
self.set_value(self._user_value) # Update the value to fit the new range
|
227
|
+
self.update()
|
228
|
+
|
229
|
+
def map_value(self, value: float):
|
230
|
+
"""
|
231
|
+
Map the user value to the range [0, 100*self._oversampling_factor] for the progress
|
232
|
+
"""
|
233
|
+
return (
|
234
|
+
(value - self._user_minimum) / (self._user_maximum - self._user_minimum) * self._maximum
|
235
|
+
)
|
236
|
+
|
237
|
+
|
238
|
+
if __name__ == "__main__": # pragma: no cover
|
239
|
+
app = QApplication(sys.argv)
|
240
|
+
|
241
|
+
progressBar = BECProgressBar()
|
242
|
+
progressBar.show()
|
243
|
+
progressBar.set_minimum(-100)
|
244
|
+
progressBar.set_maximum(0)
|
245
|
+
|
246
|
+
# Example of setting values
|
247
|
+
def update_progress():
|
248
|
+
value = progressBar._user_value + 2.5
|
249
|
+
if value > progressBar._user_maximum:
|
250
|
+
value = -100 # progressBar._maximum / progressBar._upsampling_factor
|
251
|
+
progressBar.set_value(value)
|
252
|
+
|
253
|
+
timer = QTimer()
|
254
|
+
timer.timeout.connect(update_progress)
|
255
|
+
timer.start(200) # Update every half second
|
256
|
+
|
257
|
+
sys.exit(app.exec())
|
@@ -0,0 +1,15 @@
|
|
1
|
+
def main(): # pragma: no cover
|
2
|
+
from qtpy import PYSIDE6
|
3
|
+
|
4
|
+
if not PYSIDE6:
|
5
|
+
print("PYSIDE6 is not available in the environment. Cannot patch designer.")
|
6
|
+
return
|
7
|
+
from PySide6.QtDesigner import QPyDesignerCustomWidgetCollection
|
8
|
+
|
9
|
+
from bec_widgets.widgets.bec_progressbar.bec_progress_bar_plugin import BECProgressBarPlugin
|
10
|
+
|
11
|
+
QPyDesignerCustomWidgetCollection.addCustomWidget(BECProgressBarPlugin())
|
12
|
+
|
13
|
+
|
14
|
+
if __name__ == "__main__": # pragma: no cover
|
15
|
+
main()
|
@@ -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=
|
5
|
+
CHANGELOG.md,sha256=apWeMcUSqInZhgc5D8Hr58kcnMt6hA1Ybx3ouRbOhZk,7244
|
6
6
|
LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
7
|
-
PKG-INFO,sha256=
|
7
|
+
PKG-INFO,sha256=BGf3jlAjgMTSAg0eeqjTNolgh8gfWwzSsOdWxL-e8FY,1334
|
8
8
|
README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
|
9
|
-
pyproject.toml,sha256=
|
9
|
+
pyproject.toml,sha256=6_DDd-tPxZvvy7p-Wk0HRZV6gbxqb39tEpIBh1yo9R0,2544
|
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
|
@@ -22,12 +22,12 @@ bec_widgets/assets/status_icons/running.svg,sha256=nlc6rKh_f-uOxQSk0BkBNyWnPAJU5
|
|
22
22
|
bec_widgets/assets/status_icons/warning.svg,sha256=CNx88p9kbDG51s9ztKf-cfYan4JdDBbk3-IFKfOOFlI,364
|
23
23
|
bec_widgets/cli/__init__.py,sha256=d0Q6Fn44e7wFfLabDOBxpcJ1DPKWlFunGYDUBmO-4hA,22
|
24
24
|
bec_widgets/cli/auto_updates.py,sha256=DwzRChcFIWPH2kCYvp8H7dXvyYSKGYv6LwCmK2sDR2E,5676
|
25
|
-
bec_widgets/cli/client.py,sha256=
|
25
|
+
bec_widgets/cli/client.py,sha256=aG1m5xXbIsn0Cq7isrUgyA_l4yLFgbKsmmiXye6yPp8,81550
|
26
26
|
bec_widgets/cli/client_utils.py,sha256=EdDfo3uuYAWtZiDGGu3_GPnl94FSLkNG2N_4I9FNfMc,11809
|
27
|
-
bec_widgets/cli/generate_cli.py,sha256=
|
27
|
+
bec_widgets/cli/generate_cli.py,sha256=zRhhcErjHqnNymoxu9oqeUZUfwLX84De1RIeGiZGUyY,6602
|
28
28
|
bec_widgets/cli/rpc_register.py,sha256=QxXUZu5XNg00Yf5O3UHWOXg3-f_pzKjjoZYMOa-MOJc,2216
|
29
29
|
bec_widgets/cli/rpc_wigdet_handler.py,sha256=6kQng2DyS6rhLJqSJ7xa0kdgSxp-35A2upcf833dJRE,1483
|
30
|
-
bec_widgets/cli/server.py,sha256=
|
30
|
+
bec_widgets/cli/server.py,sha256=KfZ0W2OKb1UeqkR0buXrdVF4MpznzyLw9EQtGzEBkvI,8833
|
31
31
|
bec_widgets/examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
32
|
bec_widgets/examples/general_app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
33
|
bec_widgets/examples/general_app/general_app.py,sha256=PoFCTuA_1yqrpgthASpYFgH7JDUZTcXAPZ5h0e3XZfc,3053
|
@@ -73,6 +73,11 @@ bec_widgets/utils/plugin_templates/register.template,sha256=XyL3OZPT_FTArLAM8tHd
|
|
73
73
|
bec_widgets/widgets/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
74
74
|
bec_widgets/widgets/base_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
75
75
|
bec_widgets/widgets/base_classes/device_input_base.py,sha256=thCOHOa9Z0b3-vlNFWK6PT_DdPTANnfj0_DLES_K-eE,3902
|
76
|
+
bec_widgets/widgets/bec_progressbar/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
|
+
bec_widgets/widgets/bec_progressbar/bec_progress_bar.pyproject,sha256=Pb3n9seM95_8myKJ0pv_9IcfJDNJJNOFBskuRdEVzhU,33
|
78
|
+
bec_widgets/widgets/bec_progressbar/bec_progress_bar_plugin.py,sha256=b0b0F37HrwFAtizF4VC9udOe1eKbpDkrUE1pM7fI_f0,1352
|
79
|
+
bec_widgets/widgets/bec_progressbar/bec_progressbar.py,sha256=-poyvjmRSccVR7GNbiDoYfetfaBwDy2mimzMDGNyAU8,7949
|
80
|
+
bec_widgets/widgets/bec_progressbar/register_bec_progress_bar.py,sha256=ZcGLPYEwkrbSOpxQeuZJRRVV3yXvcFh133hnlKIQGKw,488
|
76
81
|
bec_widgets/widgets/bec_queue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
82
|
bec_widgets/widgets/bec_queue/bec_queue.py,sha256=8gayhWyIB3_gdpeongGTDQxHs37Waf3H5TDjySCctho,7998
|
78
83
|
bec_widgets/widgets/bec_queue/bec_queue.pyproject,sha256=VhoNmAv1DQUl9dg7dELyf5i4pZ5k65N3GnqOYiSwbQo,27
|
@@ -250,8 +255,8 @@ bec_widgets/widgets/website/register_website_widget.py,sha256=LIQJpV9uqcBiPR9cEA
|
|
250
255
|
bec_widgets/widgets/website/website.py,sha256=42pncCc_zI2eqeMArIurVmPUukRo5bTxa2h1Skah-io,3012
|
251
256
|
bec_widgets/widgets/website/website_widget.pyproject,sha256=scOiV3cV1_BjbzpPzy2N8rIJL5P2qIZz8ObTJ-Uvdtg,25
|
252
257
|
bec_widgets/widgets/website/website_widget_plugin.py,sha256=pz38_C2cZ0yvPPS02wdIPcmhFo_yiwUhflsASocAPQQ,1341
|
253
|
-
bec_widgets-0.
|
254
|
-
bec_widgets-0.
|
255
|
-
bec_widgets-0.
|
256
|
-
bec_widgets-0.
|
257
|
-
bec_widgets-0.
|
258
|
+
bec_widgets-0.108.0.dist-info/METADATA,sha256=BGf3jlAjgMTSAg0eeqjTNolgh8gfWwzSsOdWxL-e8FY,1334
|
259
|
+
bec_widgets-0.108.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
260
|
+
bec_widgets-0.108.0.dist-info/entry_points.txt,sha256=3otEkCdDB9LZJuBLzG4pFLK5Di0CVybN_12IsZrQ-58,166
|
261
|
+
bec_widgets-0.108.0.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
|
262
|
+
bec_widgets-0.108.0.dist-info/RECORD,,
|
pyproject.toml
CHANGED
File without changes
|
File without changes
|
File without changes
|