|
enum | TargetPositionningMethods { SAME_TRANSFORMATION,
NO_TRANSFORMATION,
SUBFRAME
} |
|
static QString | getName () |
| get the application name More...
|
|
static QSettings & | getSettings () |
| Get the Core wide settings. More...
|
|
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()). More...
|
|
static const QDir | getLastUsedDirectory () |
| Get the last used directory (e.g. More...
|
|
static void | setLastUsedDirectory (QDir) |
| set (force) the last used directory More...
|
|
static void | addRecentDocument (QFileInfo) |
| Add a document to the list of recent documents (e.g. More...
|
|
static const QList< QFileInfo > | getRecentDocuments () |
| Get the list of recent documents. More...
|
|
static const int | getMaxRecentDocuments () |
| get the maximal number of recent documents stored More...
|
|
static const ComponentList & | getSelectedComponents () |
| get the currently selected Components. More...
|
|
static void | clearSelectedComponents () |
| clear all the selection, i.e call setSelected(false) for all the previously selected components and clear the list. More...
|
|
static Action * | getAction (QString) |
| get a registered action given its name More...
|
|
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) More...
|
|
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) More...
|
|
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) More...
|
|
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) More...
|
|
static int | registerAllActions (ActionExtension *) |
| register all actions from the given ActionExtension More...
|
|
static int | unregisterAllActions (ActionExtension *) |
| unregister all actions from the given ActionExtension More...
|
|
static QString | getSelectedLanguage () |
| Returns for the current CamiTK application, the selected language (stored in its .ini configuration file) More...
|
|
static TargetPositionningMethods | getDefaultTargetPositionningMethod () |
| Get the default target positionning method. More...
|
|
static void | setDefaultTargetPositionningMethod (TargetPositionningMethods method) |
| Set the default target positionning method. More...
|
|
static Component * | open (const QString &) |
| load the filename and returns the corresponding top level Component (return NULL if an error occurs) More...
|
|
static Component * | openDirectory (const QString &dirName, const QString &pluginName) |
| load a directory and returns the corresponding Component (return NULL if an error occurs) More...
|
|
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. More...
|
|
static bool | save (Component *component) |
| save a component to its file (as given by component->getFileName()). More...
|
|
static const ComponentList & | getTopLevelComponents () |
| get the current application wide list of instanciated top-level Components. More...
|
|
static const ComponentList & | getAllComponents () |
| get the current application wide list of all Components. More...
|
|
static bool | isAlive (Component *) |
| does this Component still exists? More...
|
|
static bool | hasModified () |
| Return true if at least one of the opened components has been modified, false otherwise. More...
|
|
static MainWindow * | getMainWindow () |
| get the main window More...
|
|
static void | refresh () |
| refresh the main window (this will call the refresh method of all viewers) More...
|
|
static void | showStatusBarMessage (QString msg, int timeout=0) |
| Set a message to the status bar. More...
|
|
static void | resetProgressBar () |
| Resets the progress bar if it exists. More...
|
|
static void | setProgressBarValue (int) |
| set the progress bar value, value should be in [0..100]. More...
|
|
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: More...
|
|
static void | addHistoryItem (HistoryItem item) |
| Add the history item to the application history. More...
|
|
static HistoryItem | removeLastHistoryItem () |
| Remove the last pushed actions in the history of the current pipeline. More...
|
|
static void | saveHistoryAsSXML () |
| Save the history as an SCXML file, stored using. More...
|
|
This Class describes ActionStateMachine MainWindow extension.
This application use a modified version of SCXML that describes a pipeline of CamiTK actions.