Additional Inherited Members |
static QString | getName () |
| get the application name
|
static QSettings & | getSettings () |
| Get the Core wide settings.
|
static int | exec () |
| Overriden from QApplication: Enters the main event loop and waits until exit() is called, then returns the value that was set to exit() (which is 0 if exit() is called via quit()).
|
static const QDir | getLastUsedDirectory () |
| Get the last used directory (e.g.
|
static void | setLastUsedDirectory (QDir) |
| set (force) the last used directory
|
static void | addRecentDocument (QFileInfo) |
| Add a document to the list of recent documents (e.g.
|
static const QList< QFileInfo > | getRecentDocuments () |
| Get the list of recent documents.
|
static const int | getMaxRecentDocuments () |
| get the maximal number of recent documents stored
|
static const ComponentList & | getSelectedComponents () |
| get the currently selected Components.
|
static void | clearSelectedComponents () |
| clear all the selection, i.e call setSelected(false) for all the previously selected components and clear the list.
|
static Action * | getAction (QString) |
| get a registered action given its name
|
static const ActionList | getActions () |
| get all the actions registered in the application (note: the returned ActionList is garanteed to be sorted by action name and to contain no duplicates)
|
static ActionList | getActions (Component *) |
| get all the actions that can be applied on a given component (note: the returned ActionList is garanteed to be sorted by action name and to contain no duplicates)
|
static ActionList | getActions (ComponentList) |
| Get all the actions that can be applied on any components of the given list of components (note: the returned ActionList is garanteed to be sorted by action name and to contain no duplicates)
|
static ActionList | getActions (ComponentList, QString) |
| get all the actions that of a given tag (note: the returned ActionList is guaranteed to be sorted by action name and to contain no duplicates)
|
static int | registerAllActions (ActionExtension *) |
| register all actions from the given ActionExtension
|
static Component * | open (const QString &) |
| load the filename and returns the corresponding Component (return NULL if an error occurs)
|
static Component * | openDirectory (const QString &dirName, const QString &pluginName) |
| load a directory and returns the corresponding Component (return NULL if an error occurs)
|
static bool | close (Component *component) |
| Close a Component: if it has been changed, ask the user for more information, then if everything is ok, delete it.
|
static bool | save (Component *component) |
| save a component to its file (as given by component->getFileName()).
|
static const ComponentList & | getTopLevelComponents () |
| get the current application wide list of instanciated top-level Components.
|
static const ComponentList & | getAllComponents () |
| get the current application wide list of all Components.
|
static bool | isAlive (Component *) |
| does this Component still exists?
|
static bool | hasModified () |
| Return true if at least one of the opened components has been modified, false otherwise.
|
static MainWindow * | getMainWindow () |
| get the main window
|
static void | refresh () |
| refresh the main window (this will call the refresh method of all viewers)
|
static void | showStatusBarMessage (QString msg, int timeout=0) |
| Set a message to the status bar.
|
static void | resetProgressBar () |
| Resets the progress bar if it exists.
|
static void | setProgressBarValue (int) |
| set the progress bar value, value should be in [0..100].
|
static void | vtkProgressFunction (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| Observer function to be called by vtkFilters and to update progress bar Example of use:
|