PyFoam.Applications.PyFoamApplicationQt4 module

Base class for pyFoam-applications that have a QT4-GUI

class PyFoam.Applications.PyFoamApplicationQt4.PyFoamApplicationQt4(args=None, description=None, usage=None, interspersed=False, nr=None, changeVersion=True, exactNr=True)[source]

Bases: PyFoam.Applications.PyFoamApplication.PyFoamApplication

__init__(args=None, description=None, usage=None, interspersed=False, nr=None, changeVersion=True, exactNr=True)[source]
Parameters:
  • description – description of the command
  • usage – Usage
  • interspersed – Is the command line allowed to be interspersed (options after the arguments)
  • args – Command line arguments when using the Application as a ‘class’ from a script
  • nr – Number of required arguments
  • changeVersion – May this application change the version of OF used?
  • exactNr – Must not have more than the required number of arguments
__module__ = 'PyFoam.Applications.PyFoamApplicationQt4'
run()[source]

Setup user interface and start QT

setupGUI()[source]

Set up the graphical user interface