nodedge.utils

Utils module with some helper functions.

nodedge.utils.dumpException(e=None, file=None)

Print out an exception message with the traceback to the console.

Parameters
  • e (Exception) – Exception to print out

  • file (str) – optional, file where the exception is dumped

nodedge.utils.loadStyleSheet(fileName)

Load an qss stylesheet to current QApplication instance.

Parameters

fileName (str) – filename of qss stylesheet

nodedge.utils.loadStyleSheets(*args)

Load multiple qss stylesheets. It concatenates them together and applies the final stylesheet to current QApplication instance.

Parameters

args (str, str,…) – variable number of filenames of qss stylesheets

nodedge.utils.widgetsAt(pos)

Return ALL widgets at pos

Arguments:

pos (QPoint): Position at which to get widgets