Module contains the ViewerApplication class

class tuiview.viewerapplication.ViewerApplication[source]

Main class for application


Plugins need to be able to save an instance of their signal handling object so it doesn’t get cleaned up by Python’s garbage collection. There are a number of ways to address this, but this seems the cleanest.

Get an instance of this ViewerApplication class in the plugin by using the:
app = QApplication.instance()



Get commandline arguments[source]

Call this function to instantiate an instance of ViewerApplication and have the command line parameters inspected etc and app run