We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc3029d commit e0efd16Copy full SHA for e0efd16
1 file changed
lib/python/qtvcp/qt_pstat.py
@@ -420,6 +420,12 @@ def find_vismach_files(self):
420
421
return tmp
422
423
+ def modnamefromFilename(self, fname):
424
+ panel = os.path.splitext(os.path.basename(os.path.basename(fname)))[0]
425
+ base = panel.replace('_handler','')
426
+ module = "{}.{}".format(base,panel)
427
+ return module
428
+
429
# tempararily adds the screen directory to path
430
# so the handler can be imported to be used for subclassing
431
def importDefaultHandler(self, module=None):
0 commit comments