PyFoam.Applications.APoMaFoXiiQt module

Application-class that implements pyFoamAPoMaFoX.py (A Poor Man’s FoamX)

class PyFoam.Applications.APoMaFoXiiQt.APoMaFoXiiQt(args=None)[source]

Bases: PyFoam.Applications.PyFoamApplication.PyFoamApplication, PyFoam.Applications.CommonCaseBuilder.CommonCaseBuilder

__init__(args=None)[source]
Parameters:
  • description – description of the command
  • epilog – text to be printed after the options-help
  • examples – usage examples to be printed after the epilog
  • 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
  • subcommands – parse and use subcommands from the command line. Either True or a list with subcommands
  • inputApp – Application with input data. Used to allow a ‘pipe-like’ behaviour if the class is used from a Script
  • localConfigurationFile – Use this file (or list of files) as a local configuration
  • findLocalConfigurationFile – Method to find a configuration file BEFORE the actual parameters are parsed
  • allowCurses – This application can wrap the output in a curses-window
__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
addOptions()[source]

Add options to the parser

run()[source]

Run the real application

class PyFoam.Applications.APoMaFoXiiQt.CaseBuilderBrowser[source]

Bases: PyFoam.Applications.APoMaFoXiiQt.CaseBuilderQt

A browser of all the available descriptions

__init__()[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
selectPressed()[source]
class PyFoam.Applications.APoMaFoXiiQt.CaseBuilderDialog(fName, parent=None)[source]

Bases: PyFoam.Applications.APoMaFoXiiQt.CaseBuilderQt

A dialog for a CaswBuilder-dialog

__init__(fName, parent=None)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
generatePressed()[source]
class PyFoam.Applications.APoMaFoXiiQt.CaseBuilderQt(parent=None)[source]

Bases: PyQt4.QtGui.QDialog

The common denominator for the windows

__init__(parent=None)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
setStatus(text)[source]
class PyFoam.Applications.APoMaFoXiiQt.ComboWrapper[source]

Bases: PyQt4.QtGui.QComboBox

__init__()[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
text()[source]
class PyFoam.Applications.APoMaFoXiiQt.FilenameWrapper(parent=None)[source]

Bases: PyQt4.QtGui.QWidget

__init__(parent=None)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__module__ = 'PyFoam.Applications.APoMaFoXiiQt'
pushed()[source]
setText(txt)[source]
text()[source]