bec-widgets 2.9.2__py3-none-any.whl → 2.10.1__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.
- .github/workflows/end2end-conda.yml +9 -1
- CHANGELOG.md +34 -0
- PKG-INFO +1 -2
- bec_widgets/cli/client.py +42 -0
- bec_widgets/widgets/plots/waveform/waveform.py +192 -10
- {bec_widgets-2.9.2.dist-info → bec_widgets-2.10.1.dist-info}/METADATA +1 -2
- {bec_widgets-2.9.2.dist-info → bec_widgets-2.10.1.dist-info}/RECORD +11 -16
- pyproject.toml +1 -2
- bec_widgets/widgets/editors/console/__init__.py +0 -0
- bec_widgets/widgets/editors/console/console.py +0 -870
- bec_widgets/widgets/editors/console/console.pyproject +0 -1
- bec_widgets/widgets/editors/console/console_plugin.py +0 -58
- bec_widgets/widgets/editors/console/register_console.py +0 -15
- {bec_widgets-2.9.2.dist-info → bec_widgets-2.10.1.dist-info}/WHEEL +0 -0
- {bec_widgets-2.9.2.dist-info → bec_widgets-2.10.1.dist-info}/entry_points.txt +0 -0
- {bec_widgets-2.9.2.dist-info → bec_widgets-2.10.1.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{'files': ['console.py']}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# Copyright (C) 2022 The Qt Company Ltd.
|
2
|
-
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
3
|
-
import os
|
4
|
-
|
5
|
-
from qtpy.QtDesigner import QDesignerCustomWidgetInterface
|
6
|
-
|
7
|
-
import bec_widgets
|
8
|
-
from bec_widgets.utils.bec_designer import designer_material_icon
|
9
|
-
from bec_widgets.widgets.editors.console.console import BECConsole
|
10
|
-
|
11
|
-
DOM_XML = """
|
12
|
-
<ui language='c++'>
|
13
|
-
<widget class='BECConsole' name='bec_console'>
|
14
|
-
</widget>
|
15
|
-
</ui>
|
16
|
-
"""
|
17
|
-
|
18
|
-
MODULE_PATH = os.path.dirname(bec_widgets.__file__)
|
19
|
-
|
20
|
-
|
21
|
-
class BECConsolePlugin(QDesignerCustomWidgetInterface): # pragma: no cover
|
22
|
-
def __init__(self):
|
23
|
-
super().__init__()
|
24
|
-
self._form_editor = None
|
25
|
-
|
26
|
-
def createWidget(self, parent):
|
27
|
-
t = BECConsole(parent)
|
28
|
-
return t
|
29
|
-
|
30
|
-
def domXml(self):
|
31
|
-
return DOM_XML
|
32
|
-
|
33
|
-
def group(self):
|
34
|
-
return "BEC Console"
|
35
|
-
|
36
|
-
def icon(self):
|
37
|
-
return designer_material_icon(BECConsole.ICON_NAME)
|
38
|
-
|
39
|
-
def includeFile(self):
|
40
|
-
return "bec_console"
|
41
|
-
|
42
|
-
def initialize(self, form_editor):
|
43
|
-
self._form_editor = form_editor
|
44
|
-
|
45
|
-
def isContainer(self):
|
46
|
-
return False
|
47
|
-
|
48
|
-
def isInitialized(self):
|
49
|
-
return self._form_editor is not None
|
50
|
-
|
51
|
-
def name(self):
|
52
|
-
return "BECConsole"
|
53
|
-
|
54
|
-
def toolTip(self):
|
55
|
-
return "A terminal-like vt100 widget."
|
56
|
-
|
57
|
-
def whatsThis(self):
|
58
|
-
return self.toolTip()
|
@@ -1,15 +0,0 @@
|
|
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.editors.console.console_plugin import BECConsolePlugin
|
10
|
-
|
11
|
-
QPyDesignerCustomWidgetCollection.addCustomWidget(BECConsolePlugin())
|
12
|
-
|
13
|
-
|
14
|
-
if __name__ == "__main__": # pragma: no cover
|
15
|
-
main()
|
File without changes
|
File without changes
|
File without changes
|