p3lib 1.1.111__tar.gz → 1.1.112__tar.gz
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.
- {p3lib-1.1.111 → p3lib-1.1.112}/PKG-INFO +1 -1
- {p3lib-1.1.111 → p3lib-1.1.112}/pyproject.toml +1 -1
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/ngt.py +23 -6
- {p3lib-1.1.111 → p3lib-1.1.112}/LICENSE +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/README.md +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/__init__.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/ate.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/bokeh_auth.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/bokeh_gui.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/boot_manager.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/conduit.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/database_if.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/file_io.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/gnome_desktop_app.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/helper.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/json_networking.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/login.html +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/mqtt_rpc.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/netif.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/netplotly.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/pconfig.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/ssh.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/table_plot.py +0 -0
- {p3lib-1.1.111 → p3lib-1.1.112}/src/p3lib/uio.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: p3lib
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.112
|
4
4
|
Summary: A group of python modules for networking, plotting data, config storage, automating boot scripts, ssh access and user input output.
|
5
5
|
Home-page: https://github.com/pjaos/test_equipment
|
6
6
|
License: MIT
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "p3lib"
|
3
|
-
version = "1.1.
|
3
|
+
version = "1.1.112"
|
4
4
|
description = "A group of python modules for networking, plotting data, config storage, automating boot scripts, ssh access and user input output."
|
5
5
|
authors = ["Paul Austen <pjaos@gmail.com>"]
|
6
6
|
license = "MIT License"
|
@@ -28,7 +28,8 @@ class TabbedNiceGui(object):
|
|
28
28
|
# than normal.
|
29
29
|
DESCRIP_STYLE = '<span style="font-size:1.2em;">'
|
30
30
|
ENABLE_BUTTONS = "ENABLE_BUTTONS"
|
31
|
-
|
31
|
+
NOTIFY_DIALOG_INFO = "NOTIFY_DIALOG_INFO"
|
32
|
+
NOTIFY_DIALOG_ERROR = "NOTIFY_DIALOG_ERROR"
|
32
33
|
UPDATE_SECONDS = "UPDATE_SECONDS"
|
33
34
|
INFO_MESSAGE = "INFO: "
|
34
35
|
WARN_MESSAGE = "WARN: "
|
@@ -168,11 +169,23 @@ class TabbedNiceGui(object):
|
|
168
169
|
msgDict = {TabbedNiceGui.ERROR_MESSAGE: str(msg)}
|
169
170
|
self.updateGUI(msgDict)
|
170
171
|
|
171
|
-
def infoDialog(self, msg):
|
172
|
+
def infoDialog(self, msg, addToMessageLog=True):
|
172
173
|
"""@brief Display an info level dialog.
|
173
|
-
@param msg The message dialog.
|
174
|
-
|
174
|
+
@param msg The message dialog.
|
175
|
+
@param addToMessageLog If True the message will also be added to the message log."""
|
176
|
+
msgDict = {TabbedNiceGui.NOTIFY_DIALOG_INFO: str(msg)}
|
175
177
|
self.updateGUI(msgDict)
|
178
|
+
if addToMessageLog:
|
179
|
+
self.info(msg)
|
180
|
+
|
181
|
+
def errorDialog(self, msg, addToMessageLog=True):
|
182
|
+
"""@brief Display an error level dialog.
|
183
|
+
@param msg The message dialog.
|
184
|
+
@param addToMessageLog If True the message will also be added to the message log."""
|
185
|
+
msgDict = {TabbedNiceGui.NOTIFY_DIALOG_ERROR: str(msg)}
|
186
|
+
self.updateGUI(msgDict)
|
187
|
+
if addToMessageLog:
|
188
|
+
self.error(msg)
|
176
189
|
|
177
190
|
def debug(self, msg):
|
178
191
|
"""@brief Send a debug message to be displayed in the GUI.
|
@@ -562,10 +575,14 @@ class TabbedNiceGui(object):
|
|
562
575
|
state = rxDict[TabbedNiceGui.ENABLE_BUTTONS]
|
563
576
|
self._enableAllButtons(state)
|
564
577
|
|
565
|
-
elif TabbedNiceGui.
|
566
|
-
message = rxDict[TabbedNiceGui.
|
578
|
+
elif TabbedNiceGui.NOTIFY_DIALOG_INFO in rxDict:
|
579
|
+
message = rxDict[TabbedNiceGui.NOTIFY_DIALOG_INFO]
|
567
580
|
ui.notify(message, close_button='OK', type="positive", position="center")
|
568
581
|
|
582
|
+
elif TabbedNiceGui.NOTIFY_DIALOG_ERROR in rxDict:
|
583
|
+
message = rxDict[TabbedNiceGui.NOTIFY_DIALOG_ERROR]
|
584
|
+
ui.notify(message, close_button='OK', type="negative", position="center")
|
585
|
+
|
569
586
|
else:
|
570
587
|
|
571
588
|
self._handleGUIUpdate(rxDict)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|