![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
The generic/default application. More...
#include <Application.h>
Inherits QApplication.
Inherited by ActionStateMachine.
Public Types | |
enum | TargetPositionningMethods { SAME_TRANSFORMATION, NO_TRANSFORMATION, SUBFRAME } |
Public Member Functions | |
Application (QString name, int &argc, char **argv, bool autoloadExtension=true, bool registerFileExtension=false) | |
Initializes the window system and constructs a CamiTK application object with argc command line arguments in argv. More... | |
virtual | ~Application () |
destructor More... | |
Static Public Member Functions | |
Application specific | |
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... | |
Selection management | |
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... | |
Action instances management | |
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... | |
Application resources management | |
static QString | getSelectedLanguage () |
Returns for the current CamiTK application, the selected language (stored in its .ini configuration file) More... | |
Frame management | |
}@ | |
static TargetPositionningMethods | getDefaultTargetPositionningMethod () |
Get the default target positionning method. More... | |
static void | setDefaultTargetPositionningMethod (TargetPositionningMethods method) |
Set the default target positionning method. More... | |
Private Slots | |
void | quitting () |
Private Member Functions | |
void | initResources () |
Init the application resources by loading the language associated .qm file. More... | |
Static Private Member Functions | |
Components management | |
static ComponentList & | getTopLevelComponentList () |
get the current application wide list of instanciated top-level Components. More... | |
static ComponentList & | getAllComponentList () |
get the current application wide list of all Components. More... | |
static ComponentList & | getSelectedComponentList () |
get the currently selected Components. More... | |
static void | setSelected (Component *component, bool isSelected) |
insert/remove one specific Component to the selection (at the end). More... | |
static void | addComponent (Component *) |
register a new component either in the full component list, or in the full list and in the top-level list. More... | |
static void | removeComponent (Component *) |
unregister a Component. More... | |
Actions management | |
static QMap< QString, Action * > & | getActionMap () |
all the registered actions, this is a QMap as actions are mainly sort/compared/process by name (key). More... | |
static ActionList | sort (ActionSet) |
sort an ActionSet by action's name More... | |
Private Attributes | |
int | argc |
argc given from command line More... | |
char ** | argv |
argv given from command line More... | |
Static Private Attributes | |
static MainWindow * | mainWindow = NULL |
the main window of the CamiTK application More... | |
static QString | name = Core::version |
name of the CamiTK application (used to differentiate settings between CamiTK applications) More... | |
static QSettings | settings |
global settings for CamiTK application More... | |
Component instances management | |
class | Component |
Only the class Component can access to the private members addComponent(..) and removeComponent(..) 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... | |
Main Window management | |
void | setMainWindow (MainWindow *mw) |
set the main window. 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... | |
Actions pipeline history | |
get the history of actions stored.
| |
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... | |
static QStack< HistoryItem > & | getHistory () |
get the singleton stack of actions stored in a pipeline This is the private (intern) method. More... | |
Property management | |
Property * | defaultTargetedComponentProperty |
The CamiTK property for selecting the frame policy. More... | |
Property * | autoloadLastOpenedComponentsProperty |
The CamiTK property to open the last components the application opened during its last session. More... | |
PropertyObject * | propertyObject |
A simple QObject that holds the CamiTK level properties of the application. More... | |
PropertyObject * | getPropertyObject () |
Get the property object of the application. More... | |
Property * | getAutoloadLastOpenedComponentsProperty () |
Get the CamiTK property associated with auto loading last opened component when the application starts. More... | |
Property * | getDefaultTargetedComponentProperty () |
Get the CamiTK property associated with the new component frame policy. More... | |
void | createProperties () |
Create all the application properties and add them to the qApp. More... | |
Recent document management | |
list of all the remembered recent documents (last opened is last inserted!) | |
static QList< QFileInfo > | recentDocuments |
static QDir | lastUsedDirectory |
last used directory More... | |
static int | maxRecentDocuments = 0 |
max number of recent document (default 10) More... | |
QTranslator * | translator |
Provide internationalization support for text output. More... | |
The generic/default application.
Once this class is intanciated in the main, everything is setup. The constructor can take the command line arguments. It can also be asked not to load the extensions automatically,see Application().
If you do not have a specific MainWindow extension, then the default CamiTK MainWindow is used, see setMainWindow()
camitk::Application::Application | ( | QString | name, |
int & | argc, | ||
char ** | argv, | ||
bool | autoloadExtension = true , |
||
bool | registerFileExtension = false |
||
) |
Initializes the window system and constructs a CamiTK application object with argc command line arguments in argv.
The first parameter is the name of the application (used as a identifier in the settings, for example)
The second and third parameters comes from the command line (see QApplication API documentation). This constructor inits all the CamiTK context:
name | the name of the application, it will be used to save specific configuration for example. |
argc | the number of command line arguments |
argv | the values of the command line arguments |
autoloadExtension | if true, all the plugins are loaded |
registerFileExtension | if true, the application will prompt the user at first run if he wants to register file formats handled by loaded components with this application for opening. Works only (at the moment) on Windows platform. |
References argc, argv, camitk::ExtensionManager::autoload(), createProperties(), camitk::ExtensionManager::getFileExtensions(), camitk::Core::getTestDataDir(), initIcons(), initResources(), lastUsedDirectory, mainWindow, maxRecentDocuments, name, camitk::Log::openLogFile(), camitk::ExtensionManager::promptRegisterFileExtensions(), quitting(), recentDocuments, camitk::ExtensionManager::registerFileExtension(), and settings.
|
virtual |
destructor
References propertyObject, and translator.
|
staticprivate |
register a new component either in the full component list, or in the full list and in the top-level list.
References getAllComponentList(), camitk::Component::getParentComponent(), and getTopLevelComponentList().
Referenced by camitk::Component::init().
|
static |
Add the history item to the application history.
The item is added to the history stack of actions used in a pipeline
item | the item to add to the history |
References getHistory().
Referenced by camitk::Action::postProcess().
|
static |
Add a document to the list of recent documents (e.g.
when a document was opened) and update lastUsedDirectory
References lastUsedDirectory, maxRecentDocuments, name, recentDocuments, and settings.
Referenced by open().
|
static |
clear all the selection, i.e call setSelected(false) for all the previously selected components and clear the list.
References getSelectedComponentList(), and camitk::Component::setSelected().
Referenced by camitk::Viewer::clearSelection(), and camitk::Explorer::selectionChanged().
|
static |
Close a Component: if it has been changed, ask the user for more information, then if everything is ok, delete it.
component | the Component to close. |
References camitk::Component::getModified(), camitk::Component::getName(), refresh(), save(), and showStatusBarMessage().
|
private |
Create all the application properties and add them to the qApp.
References camitk::PropertyObject::addProperty(), autoloadLastOpenedComponentsProperty, defaultTargetedComponentProperty, getName(), propertyObject, SAME_TRANSFORMATION, camitk::Property::setAttribute(), and camitk::Property::setEnumTypeName().
Referenced by Application().
|
static |
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()).
It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets.
Generally, no user interaction can take place before calling exec(). As a special case, modal widgets like QMessageBox can be used before calling exec(), because modal widgets call exec() to start a local event loop.
To make your application perform idle processing, i.e., executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents().
References camitk::MainWindow::aboutToShow(), mainWindow, setMainWindow(), and camitk::MainWindow::show().
Referenced by main().
|
static |
get a registered action given its name
References getActionMap().
Referenced by camitk::ActionViewer::changeName(), camitk::MainWindow::closeEvent(), camitk::MedicalImageViewer::getMenu(), camitk::InteractiveViewer::initActions(), camitk::SettingsDialog::on_actionExtensionList_cellClicked(), registerAllActions(), save(), saveHistoryAsSXML(), ActionStateMachine::setCamiTKAction(), and MMLComponent::setSelected().
|
staticprivate |
all the registered actions, this is a QMap as actions are mainly sort/compared/process by name (key).
This is the private (intern) method. The component extension map is updated by loadExtension, unloadExtension and autoloadExtensions. This method follows the "construct on first use" idiom/design-pattern. It therefore avoids the infamous "static initialization order fiasco", see http://www.parashift.com/c++-faq/ctors.html
Referenced by getAction(), getActions(), registerAllActions(), and unregisterAllActions().
|
static |
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)
References getActionMap().
Referenced by camitk::Component::getActionMenu(), getActions(), camitk::SettingsDialog::updateActionExtensionList(), and camitk::ActionViewer::updateActionViewer().
|
static |
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)
References getActions(), camitk::Action::getComponent(), camitk::Component::getHierarchy(), and sort().
|
static |
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)
References getActions(), and sort().
|
static |
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)
References camitk::actionLessThan(), getActions(), and camitk::Action::getTag().
|
staticprivate |
get the current application wide list of all Components.
This is the private (intern) method. This holds all the components at any level (full component list), top-level or under. This method follows the "construct on first use" idiom/design-pattern. It therefore avoids the infamous "static initialization order fiasco", see http://www.parashift.com/c++-faq/ctors.html
Referenced by addComponent(), getAllComponents(), and removeComponent().
|
static |
get the current application wide list of all Components.
This is the public method (return a const, the component list is private and cannot be modified externally).
References getAllComponentList().
Referenced by camitk::FrameExplorer::add(), camitk::FrameExplorer::getNewItem(), isAlive(), camitk::Action::postProcessInPipeline(), camitk::Action::preProcessInPipeline(), camitk::FrameExplorer::refresh(), camitk::InteractiveViewer::refresh(), and camitk::MainWindow::removeViewer().
|
inline |
Get the CamiTK property associated with auto loading last opened component when the application starts.
|
inline |
Get the CamiTK property associated with the new component frame policy.
|
static |
Get the default target positionning method.
References getPropertyObject().
Referenced by camitk::Action::applyTargetPosition().
|
staticprivate |
get the singleton stack of actions stored in a pipeline This is the private (intern) method.
This history is updated (push(), pop()) by addHistoryItem() and removeHistoryItem() This method follows the "construct on first use" idiom/design-pattern. It therefore avoids the infamous "static initialization order fiasco", see http://www.parashift.com/c++-faq/ctors.html
Referenced by addHistoryItem(), removeLastHistoryItem(), and saveHistoryAsSXML().
|
static |
Get the last used directory (e.g.
the directory of the last opened document)
References lastUsedDirectory.
|
static |
get the main window
References mainWindow, and setMainWindow().
Referenced by LoadsManager::LoadsManager(), main(), and LoadsManager::~LoadsManager().
|
static |
get the maximal number of recent documents stored
References maxRecentDocuments.
|
static |
get the application name
References name.
Referenced by camitk::InteractiveViewer::cameraOrientationChanged(), camitk::MainWindow::closeEvent(), createProperties(), camitk::InteractiveViewer::eventFilter(), camitk::Core::getGlobalInstallDir(), getSelectedLanguage(), initResources(), camitk::MainWindow::initSettings(), camitk::InteractiveViewer::initSettings(), and camitk::InteractiveViewer::setHighlightMode().
PropertyObject * camitk::Application::getPropertyObject | ( | ) |
Get the property object of the application.
References propertyObject.
Referenced by getDefaultTargetPositionningMethod(), and setDefaultTargetPositionningMethod().
|
static |
Get the list of recent documents.
References recentDocuments.
|
staticprivate |
get the currently selected Components.
This is the private (intern) method. the current selection (selected Components can at any level). This method follows the "construct on first use" idiom/design-pattern. It therefore avoids the infamous "static initialization order fiasco", see http://www.parashift.com/c++-faq/ctors.html
Referenced by clearSelectedComponents(), getSelectedComponents(), removeComponent(), and setSelected().
|
static |
get the currently selected Components.
This is the public method (return a const, the selected component list is private and cannot be modified externally).
References getSelectedComponentList().
Referenced by LoadsManager::addLoad(), camitk::MeshComponent::changeSelectedSelection(), camitk::ActionViewer::embedActionWidget(), camitk::Explorer::getMenu(), camitk::InteractiveViewer::keyPressEvent(), camitk::Explorer::refresh(), camitk::PropertyExplorer::refresh(), camitk::InteractiveViewer::refresh(), camitk::InteractiveViewer::renderingActorsChanged(), camitk::InteractiveViewer::setGlyph(), camitk::InteractiveViewer::setLabel(), camitk::Action::trigger(), camitk::InteractiveViewer::updateActions(), camitk::ActionViewer::updateActionViewer(), and camitk::PropertyExplorer::updateTabIndexToDisplay().
|
static |
Returns for the current CamiTK application, the selected language (stored in its .ini configuration file)
References getName(), getSettings(), and settings.
Referenced by camitk::ActionExtension::initResources(), camitk::ComponentExtension::initResources(), and initResources().
|
static |
Get the Core wide settings.
This is the preferred methods for accessing and writing the settings for your specific needs, although you can use any kind of settings you like, using this allow you to store all settings in one place for all Core needs. This settings are stored in the user scope, using the INI format (i.e. no registers !), the organisation name is TIMC-IMAG and the application name is equal to Core::version. Check the QSettings API documentation to know exactly where is the settings file or call Application::getSettings().fileName()
The recommanded method is to use one section for each Core area. Use the beginGroup("my area")/endGroup() to define specific settings area.
References settings.
Referenced by camitk::ExtensionManager::autoload(), camitk::InteractiveViewer::cameraOrientationChanged(), camitk::MainWindow::closeEvent(), camitk::PropertyExplorer::createProperties(), camitk::PropertyExplorer::eventFilter(), camitk::InteractiveViewer::eventFilter(), getSelectedLanguage(), camitk::Core::getUserInstallDir(), camitk::PropertyExplorer::getWidget(), camitk::MainWindow::initSettings(), camitk::InteractiveViewer::initSettings(), camitk::SettingsDialog::on_resetConfigurationButton_released(), camitk::SettingsDialog::readUserExtensions(), camitk::InteractiveViewer::setHighlightMode(), and camitk::SettingsDialog::writeUserExtensions().
|
staticprivate |
get the current application wide list of instanciated top-level Components.
This is the private (intern) method. The top-level component list is updated by the Component class top-level constructor. This method follows the "construct on first use" idiom/design-pattern. It therefore avoids the infamous "static initialization order fiasco", see http://www.parashift.com/c++-faq/ctors.html
Referenced by addComponent(), getTopLevelComponents(), removeComponent(), and camitk::Component::setParent().
|
static |
get the current application wide list of instanciated top-level Components.
This is the public method (return a const, the top-level component list is private and cannot be modified externally).
References getTopLevelComponentList().
Referenced by hasModified(), camitk::Action::postProcess(), camitk::Action::preProcess(), camitk::Explorer::refresh(), camitk::MedicalImageViewer::refresh(), and camitk::InteractiveViewer::refresh().
|
static |
Return true if at least one of the opened components has been modified, false otherwise.
References getTopLevelComponents().
|
private |
Init the application resources by loading the language associated .qm file.
References CAMITK_WARNING, getName(), getSelectedLanguage(), and translator.
Referenced by Application().
|
static |
does this Component still exists?
References getAllComponents().
Referenced by camitk::PropertyExplorer::clear(), camitk::Component::deleteChildren(), camitk::InteractiveViewer::refresh(), and camitk::Explorer::remove().
|
static |
load the filename and returns the corresponding top level Component (return NULL if an error occurs)
References addRecentDocument(), CAMITK_WARNING, camitk::ComponentExtension::getName(), camitk::Component::isTopLevel(), camitk::ComponentExtension::open(), refresh(), resetProgressBar(), showStatusBarMessage(), and camitk::AbortException::what().
Referenced by camitk::MainWindow::dropEvent(), and main().
|
static |
load a directory and returns the corresponding Component (return NULL if an error occurs)
dirName | the name of the directory to open |
pluginName | the name of the plugin to use |
References camitk::Core::getComponentDirectories(), camitk::ComponentExtension::getName(), camitk::ComponentExtension::open(), refresh(), resetProgressBar(), showStatusBarMessage(), and camitk::AbortException::what().
|
privateslot |
References camitk::Log::closeLogFile(), and camitk::ExtensionManager::unloadAllActionExtensions().
Referenced by Application().
|
static |
refresh the main window (this will call the refresh method of all viewers)
References mainWindow, and camitk::MainWindow::refresh().
Referenced by close(), open(), and openDirectory().
|
static |
register all actions from the given ActionExtension
References CAMITK_ERROR, getAction(), getActionMap(), camitk::ActionExtension::getActions(), camitk::Action::getDescription(), camitk::Action::getExtensionName(), camitk::Action::getFamily(), and camitk::Action::getName().
Referenced by camitk::ExtensionManager::loadExtension().
|
staticprivate |
unregister a Component.
This method remove top-level component and other level component
References getAllComponentList(), getSelectedComponentList(), and getTopLevelComponentList().
Referenced by camitk::Component::~Component().
|
static |
Remove the last pushed actions in the history of the current pipeline.
References getHistory().
|
static |
Resets the progress bar if it exists.
See example of use for ProgressFunction for more detailed explanation.
References camitk::MainWindow::getProgressBar(), and mainWindow.
Referenced by PMComponentExtension::open(), PMLComponentExtension::open(), open(), and openDirectory().
|
static |
save a component to its file (as given by component->getFileName()).
This method look for the proper loaded ComponentExtension, and call its save(Component*) method
References camitk::Action::apply(), getAction(), camitk::Core::getComponentDirectories(), camitk::Component::getFileName(), camitk::Component::getName(), camitk::ComponentExtension::save(), setLastUsedDirectory(), showStatusBarMessage(), and camitk::Action::SUCCESS.
Referenced by close().
|
static |
Save the history as an SCXML file, stored using.
References getAction(), camitk::Core::getCurrentWorkingDir(), camitk::Action::getDescription(), getHistory(), camitk::HistoryItem::getInputHistoryComponents(), camitk::HistoryItem::getName(), camitk::HistoryComponent::getName(), camitk::Action::getName(), camitk::HistoryItem::getOutputHistoryComponents(), camitk::HistoryComponent::getType(), camitk::HistoryComponent::IMAGE_COMPONENT, camitk::HistoryComponent::MESH_COMPONENT, and camitk::HistoryComponent::OTHER.
|
static |
Set the default target positionning method.
References getPropertyObject().
|
static |
void camitk::Application::setMainWindow | ( | MainWindow * | mw | ) |
set the main window.
You need to call this method in order to use a customized CamiTK MainWindow instead of the default one. This method has to be called after init().
It allows you to set the main window using your application extension instance.
mw | The instance of main window you want to use for your application (if NULL a new instance of the MainWindow class is created) |
References CAMITK_ERROR, mainWindow, name, and camitk::MainWindow::redirectToConsole().
Referenced by exec(), getMainWindow(), and main().
|
static |
set the progress bar value, value should be in [0..100].
Attempting to change the current value to one outside the minimum-maximum range has no effect on the current value.
Consider using vtkProgressFunction()
References camitk::MainWindow::getProgressBar(), and mainWindow.
Referenced by camitk::ItkProgressObserver::Execute(), camitk::ItkProgressObserver::ItkProgressObserver(), and camitk::ItkProgressObserver::Reset().
|
staticprivate |
insert/remove one specific Component to the selection (at the end).
The selected component list is a QList, because the selection order is important (QList is order, QSet is not). But it does not make any sense to have two times the same Component instance so if isSelected is true we have to "manually" check that it is not already in the list
component | the component to insert/remove from the selection |
isSelected | if true then insert if not already in the selection, otherwise remove |
References getSelectedComponentList().
Referenced by camitk::Component::setSelected().
|
static |
Set a message to the status bar.
By default there is no timeout (default), i.e. the given message remains displayed until this method is called again (or the status bar is cleared otherwise).
msg | the message to display in the status bar. |
timeout | number of milli-seconds (timeout) before the status bar is cleared (default = 0, i.e. until next call) |
References CAMITK_INFO, and mainWindow.
Referenced by close(), camitk::SettingsDialog::on_addActionExtensionButton_released(), camitk::SettingsDialog::on_addComponentExtensionButton_released(), PMComponentExtension::open(), PMLComponentExtension::open(), open(), openDirectory(), camitk::InteractiveViewer::picked(), PMLComponent::PMLComponent(), save(), StructuralComponentDCProperties::updateProperties(), and CellDCProperties::updateProperties().
|
staticprivate |
|
static |
unregister all actions from the given ActionExtension
References getActionMap(), camitk::ActionExtension::getActions(), and camitk::Action::getName().
Referenced by camitk::ExtensionManager::unloadActionExtension().
|
static |
Observer function to be called by vtkFilters and to update progress bar Example of use:
References camitk::MainWindow::getProgressBar(), and mainWindow.
|
friend |
Only the class Component can access to the private members addComponent(..) and removeComponent(..)
|
private |
argc given from command line
Referenced by Application().
|
private |
argv given from command line
Referenced by Application().
|
private |
The CamiTK property to open the last components the application opened during its last session.
Referenced by createProperties().
|
private |
The CamiTK property for selecting the frame policy.
Referenced by createProperties().
|
staticprivate |
last used directory
Referenced by addRecentDocument(), Application(), getLastUsedDirectory(), initIcons(), and setLastUsedDirectory().
|
staticprivate |
the main window of the CamiTK application
Referenced by Application(), exec(), getMainWindow(), initIcons(), refresh(), resetProgressBar(), setMainWindow(), setProgressBarValue(), showStatusBarMessage(), and vtkProgressFunction().
|
staticprivate |
max number of recent document (default 10)
Referenced by addRecentDocument(), Application(), getMaxRecentDocuments(), and initIcons().
|
staticprivate |
name of the CamiTK application (used to differentiate settings between CamiTK applications)
Referenced by addRecentDocument(), Application(), getName(), initIcons(), and setMainWindow().
|
private |
A simple QObject that holds the CamiTK level properties of the application.
Referenced by createProperties(), getPropertyObject(), and ~Application().
|
staticprivate |
Referenced by addRecentDocument(), Application(), getRecentDocuments(), and initIcons().
|
staticprivate |
global settings for CamiTK application
Referenced by addRecentDocument(), Application(), getSelectedLanguage(), getSettings(), and initIcons().
|
private |
Provide internationalization support for text output.
Referenced by initResources(), and ~Application().