Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Member Functions | Protected Member Functions
qSlicerCommandOptions Class Reference

#include <Base/QTGUI/qSlicerCommandOptions.h>

Inheritance diagram for qSlicerCommandOptions:
Inheritance graph
[legend]
Collaboration diagram for qSlicerCommandOptions:
Collaboration graph
[legend]

Public Types

typedef qSlicerCoreCommandOptions Superclass
 
- Public Types inherited from qSlicerCoreCommandOptions
typedef ctkCommandLineParser Superclass
 

Properties

bool disableToolTips
 
bool enableQtTesting
 
bool exitAfterStartup
 
bool noMainWindow
 
bool noSplash
 
bool showPythonInteractor
 
- Properties inherited from qSlicerCoreCommandOptions
QStringList additionalModulePaths
 
bool disableBuiltInCLIModules
 
bool disableBuiltInLoadableModules
 
bool disableBuiltInScriptedLoadableModules
 
bool disableCLIModules
 
bool disableLoadableModules
 
bool disableMessageHandlers
 
bool disableScriptedLoadableModules
 
bool displayApplicationInformation
 
bool displayHelpAndExit
 
bool displayHomePathAndExit
 
bool displayMessageAndExit
 
bool displayProgramPathAndExit
 
bool displaySettingsPathAndExit
 
bool displayTemporaryPathAndExit
 
bool displayVersionAndExit
 
QString extraPythonScript
 
bool ignoreSlicerRC
 
QStringList modulesToIgnore
 
QString pythonCode
 
QString pythonScript
 
bool runPythonAndExit
 
bool testingEnabled
 
bool verboseModuleDiscovery
 

Public Member Functions

bool disableToolTips () const
 
bool enableQtTesting () const
 
bool exitAfterStartup () const
 
bool noMainWindow () const
 
bool noSplash () const
 
 qSlicerCommandOptions ()
 
bool showPythonInteractor () const
 
virtual ~qSlicerCommandOptions ()
 
- Public Member Functions inherited from qSlicerCoreCommandOptions
QStringList additionalModulePaths () const
 Return list of additional module path that should be considered when searching for modules to load. More...
 
bool disableBuiltInCLIModules () const
 Return True if the loading of built-in Command Line Modules should be disabled. More...
 
bool disableBuiltInLoadableModules () const
 Return True if the loading of built-in Loadable Modules should be disabled. More...
 
bool disableBuiltInModules () const
 Return True if the loading of all built-in modules should be disabled. More...
 
bool disableBuiltInScriptedLoadableModules () const
 Return True if the loading of built-in Scripted Loadable Modules should be disabled. More...
 
bool disableCLIModules () const
 Return True if the loading of any Command Line Modules should be disabled. More...
 
bool disableLoadableModules () const
 Return True if the loading of any Loadable Modules should be disabled. More...
 
bool disableMessageHandlers () const
 Return True if slicer shouldn't catch messages printed to the terminal. More...
 
bool disableModules () const
 Return True if the loading of any modules should be disabled. More...
 
bool disableScriptedLoadableModules () const
 Return True if the loading of any Scripted Loadable Modules should be disabled. More...
 
bool disableTerminalOutputs () const
 
bool displayApplicationInformation () const
 Return True if slicer should display application information in the terminal. More...
 
bool displayHelpAndExit () const
 Return True if slicer should display help and exit. More...
 
bool displayHomePathAndExit () const
 Return True if slicer should display home path and exit. More...
 
virtual bool displayMessageAndExit () const
 
bool displayProgramPathAndExit () const
 Return True if slicer should display program path and exit. More...
 
bool displaySettingsPathAndExit () const
 Return True if slicer should display settings path and exit. More...
 
bool displayTemporaryPathAndExit () const
 Return True if slicer should display temporary path and exit. More...
 
bool displayVersionAndExit () const
 Return True if slicer should display version and exit. More...
 
QString extraPythonScript () const
 Return extra python script. More...
 
bool ignoreRest () const
 Return True if the ignore rest argument has been passed. More...
 
bool ignoreSlicerRC () const
 Return True if the loading of SlicerRC should be skipped. More...
 
bool isTestingEnabled () const
 
bool keepTemporarySettings () const
 
QStringList modulesToIgnore () const
 Return list of modules that should not be loaded. More...
 
bool parse (const QStringList &arguments)
 Convenient method allowing to parse arguments. More...
 
QString pythonCode () const
 Return python code snippet to execute after slicer is loaded. More...
 
QString pythonScript () const
 Return path of the python script to execute after slicer is loaded. More...
 
 qSlicerCoreCommandOptions ()
 
bool runPythonAndExit () const
 Return True if Slicer should execute python code or script and exit. More...
 
void setExtraPythonScript (const QString &newExtraPythonScript)
 Set extra python script to be executed after slicer is loaded. More...
 
void setRunPythonAndExit (bool value)
 
bool settingsDisabled () const
 
bool verbose () const
 Return True if slicer should display information at startup. More...
 
bool verboseModuleDiscovery () const
 Return True if slicer should display details regarding the module discovery process. More...
 
virtual ~qSlicerCoreCommandOptions ()
 

Protected Member Functions

virtual void addArguments ()
 
- Protected Member Functions inherited from qSlicerCoreCommandOptions
QHash< QString, QVariant > parsedArgs () const
 

Additional Inherited Members

- Protected Attributes inherited from qSlicerCoreCommandOptions
QScopedPointer< qSlicerCoreCommandOptionsPrivate > d_ptr
 

Detailed Description

Definition at line 31 of file qSlicerCommandOptions.h.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file qSlicerCommandOptions.h.

Property Documentation

◆ disableToolTips

bool qSlicerCommandOptions::disableToolTips
read

Definition at line 35 of file qSlicerCommandOptions.h.

◆ enableQtTesting

bool qSlicerCommandOptions::enableQtTesting
read

Definition at line 38 of file qSlicerCommandOptions.h.

◆ exitAfterStartup

bool qSlicerCommandOptions::exitAfterStartup
read

Definition at line 39 of file qSlicerCommandOptions.h.

◆ noMainWindow

bool qSlicerCommandOptions::noMainWindow
read

Definition at line 36 of file qSlicerCommandOptions.h.

◆ noSplash

bool qSlicerCommandOptions::noSplash
read

Definition at line 34 of file qSlicerCommandOptions.h.

◆ showPythonInteractor

bool qSlicerCommandOptions::showPythonInteractor
read

Definition at line 37 of file qSlicerCommandOptions.h.

Constructor & Destructor Documentation

◆ qSlicerCommandOptions()

qSlicerCommandOptions::qSlicerCommandOptions ( )

◆ ~qSlicerCommandOptions()

virtual qSlicerCommandOptions::~qSlicerCommandOptions ( )
inlinevirtual

Definition at line 43 of file qSlicerCommandOptions.h.

Member Function Documentation

◆ addArguments()

virtual void qSlicerCommandOptions::addArguments ( )
protectedvirtual

Add arguments - Called from parse() method

See also
parse(const QStringList&)

Reimplemented from qSlicerCoreCommandOptions.

◆ disableToolTips()

bool qSlicerCommandOptions::disableToolTips ( ) const

◆ enableQtTesting()

bool qSlicerCommandOptions::enableQtTesting ( ) const

◆ exitAfterStartup()

bool qSlicerCommandOptions::exitAfterStartup ( ) const

◆ noMainWindow()

bool qSlicerCommandOptions::noMainWindow ( ) const

◆ noSplash()

bool qSlicerCommandOptions::noSplash ( ) const

◆ showPythonInteractor()

bool qSlicerCommandOptions::showPythonInteractor ( ) const

The documentation for this class was generated from the following file: