happyscript 0.0.40__tar.gz → 0.0.42__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.
- {happyscript-0.0.40 → happyscript-0.0.42}/PKG-INFO +1 -1
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/__init__.py +2 -1
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_main.py +4 -4
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/formsbase.py +660 -660
- happyscript-0.0.42/happyscript/modulereader.py +129 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/panels/panelsbase.py +506 -506
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptartwork.py +2 -1
- happyscript-0.0.42/happyscript/scriptmanager.py +51 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptreader.py +0 -1
- happyscript-0.0.40/happyscript/scriptmanager.py → happyscript-0.0.42/happyscript/staticscriptmanager.py +24 -47
- happyscript-0.0.42/happyscript/testloghandler.py +31 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/userpanel/userpanel.py +190 -190
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/userpanel/userpanelvalue.py +50 -50
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript.egg-info/PKG-INFO +1 -1
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript.egg-info/SOURCES.txt +3 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/pyproject.toml +1 -1
- {happyscript-0.0.40 → happyscript-0.0.42}/README.md +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/__init__.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/chart.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/histogram_chart.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/histogram_series.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/matplotlib_chart.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/panel_charts.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/scatter_chart.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/scatter_series.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/time_chart.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/charts/time_series.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_askchoice.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_askimage.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_ontestfailure.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_serials.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/forms/form_stop.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/imglib.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/panels/panel_log.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/panels/panel_messages.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/panels/panel_scripts2.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/panels/panel_tests.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptcontrol.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptexceptions.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptgui.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptinfo.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptparams.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/scriptrunner.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/splashmenu/exit.png +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/splashmenu/forms.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/splashmenu/splashmenuform.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/splashmenu/splashmenumain.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/testlog/global_log_handler.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/testlog/log_to_text.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/testlog/logtoxml.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript/testlog/printredirect.py +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript.egg-info/dependency_links.txt +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript.egg-info/requires.txt +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/happyscript.egg-info/top_level.txt +0 -0
- {happyscript-0.0.40 → happyscript-0.0.42}/setup.cfg +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"""HappyScript - handy script launcher"""
|
|
2
2
|
|
|
3
|
-
__version__ = "0.0.
|
|
3
|
+
__version__ = "0.0.42"
|
|
4
4
|
|
|
5
5
|
# With these statements, after doing 'import happyscript' you can do 'xxx = happyscript.ScriptManager()'
|
|
6
6
|
#from .scriptmanager import ScriptManager
|
|
7
7
|
#from .pytestsupport import *
|
|
8
8
|
|
|
9
9
|
from .scriptmanager import ScriptManager
|
|
10
|
+
from .staticscriptmanager import StaticScriptManager
|
|
10
11
|
from .splashmenu.splashmenumain import SplashMenu
|
|
11
12
|
|
|
12
13
|
from .scriptcontrol import ScriptControl as Ctrl
|
|
@@ -151,7 +151,7 @@ class FormMain(FormMain_Base):
|
|
|
151
151
|
if user is None: # if no user given, take last user from ini-file
|
|
152
152
|
ini = configparser.ConfigParser()
|
|
153
153
|
ini.read( ["happyscript.ini"] )
|
|
154
|
-
user = ini.get("varia", "CurrentUser", fallback="
|
|
154
|
+
user = ini.get("varia", "CurrentUser", fallback="OPERATOR" )
|
|
155
155
|
if user not in self.VALID_OPERATORS:
|
|
156
156
|
user = "OPERATOR"
|
|
157
157
|
|
|
@@ -176,10 +176,10 @@ class FormMain(FormMain_Base):
|
|
|
176
176
|
center = self.msgArea
|
|
177
177
|
enable_buttons = list()
|
|
178
178
|
elif self.current_user=="TECHNICIAN":
|
|
179
|
-
hide_panels = [self.
|
|
179
|
+
hide_panels = [self._shell_window, self.chartsPane]
|
|
180
180
|
bitmap = ScriptArtwork.GetBitmap("user_technician")
|
|
181
|
-
center = self.
|
|
182
|
-
enable_buttons = [ self.m_btnControls ]
|
|
181
|
+
center = self.logPane
|
|
182
|
+
enable_buttons = [ self.m_btnControls, self.m_btnScripts, self.m_btnLogging, self.m_btnMessages]
|
|
183
183
|
elif self.current_user=="ENGINEER":
|
|
184
184
|
hide_panels = list()
|
|
185
185
|
bitmap = ScriptArtwork.GetBitmap("user_engineer")
|