te::qt::af::ApplicationController Class Reference

The base API for TerraLib applications. More...

#include <ApplicationController.h>

Inheritance diagram for te::qt::af::ApplicationController:
QObject

Signals

void triggered (te::qt::af::evt::Event *)
 Send events in broadcast for all registered components. More...
 

Public Member Functions

void addListener (QObject *obj, const ListenerType &type=BOTH)
 Insert an application item that will listen to framework events. More...
 
 ApplicationController ()
 Constructor. More...
 
virtual void finalize ()
 Finalize the application framework. More...
 
virtual void finalizePlugins ()
 
const QString & getAboutLogo () const
 Returns the application project extension. More...
 
const QString & getAppIconName () const
 Returns the application icon. More...
 
const QString & getAppName () const
 Returns the application name. More...
 
const QString & getAppPluginsPath () const
 Returns the plugins file path of application. More...
 
const QString & getAppTitle () const
 Returns the application title. More...
 
const QString & getAppVersion () const
 Returns the application version. More...
 
int getDefaultSRID () const
 Returns the most recent project. More...
 
QWidgetgetMainWindow () const
 Returns main window. More...
 
QColor getSelectionColor () const
 Returns the application selection color. More...
 
QSettings & getSettings ()
 Return the QSettings of the application. This can be used to add settings from external sources. More...
 
const QString & getTlibLogo () const
 
const QString & getUserDataDir () const
 
virtual void initialize ()
 Initializes the application framework. More...
 
virtual void initializePlugins ()
 Load the plugin list and initialize the plugins enabled by the user. More...
 
void removeListener (QObject *obj)
 Remove the obj from the list of event listeners. More...
 
virtual void setConfigFile (const std::string &configFileName)
 Tells wich configuration file to be used by the controller during its initialization. More...
 
virtual void setMsgBoxParentWidget (QWidget *w)
 Tells the widget to be used as the parent of messages showned in a QMessageBox. More...
 
void setResetTerraLibFlag (const bool &status)
 
void setSelectionColor (const QColor &c)
 Sets the application selection color. More...
 
void trigger (te::qt::af::evt::Event *)
 
virtual ~ApplicationController ()
 Destructor. More...
 
Menus and Menubars Management.

Register and recover menus and menu bars.

The methods find will returns a valid object only if it exists in some menu, otherwise the return will be a NULL pointer. The methods get ALWAYS returns a valid pointer. If the requested menu or menubar does not exists these funtions will create, register and return the object.

Note
The identifiers of the menus are the texts presented by menus.
The search for menus will occurs in ALL OF THE REGISTERED menus and menu bars, including submenus. The correct sintaxe for searchies submenus may be found in the documentation of the findMenu(QString mnuText, QMenu* mnu) method.
void addToolBar (const QString &id, QToolBar *bar)
 Register the toolbar in the list of the known toolbars and dispatch an event. More...
 
void registerToolBar (const QString &id, QToolBar *bar)
 Register the toolbar in the list of the known toolbars. More...
 
QToolBar * getToolBar (const QString &id) const
 Return the toolbar identified by id or NULL if none is found. More...
 
std::vector< QToolBar * > getToolBars () const
 Return the list of registered toolbars. More...
 
void removeToolBar (const QString &id)
 Removes the toolbar identified by id. More...
 
void registerMenu (QMenu *mnu)
 Register the mnu. More...
 
QMenu * findMenu (const QString &id) const
 Returns the menu registered with key id. More...
 
QMenu * getMenu (const QString &id)
 Returns a menu registered with key id. More...
 
void registerMenuBar (QMenuBar *bar)
 Register the bar. More...
 
QMenuBar * findMenuBar (const QString &id) const
 Returns the menu bar registered with key id. More...
 
QMenuBar * getMenuBar (const QString &id) const
 Returns a menu bar registered with key id. More...
 
QAction * findAction (const QString &id) const
 Returns the action identified by id or NULL if there's not an action identified by id. More...
 
QActionGroup * findActionGroup (const QString &id) const
 Returns the action group identified by id or NULL if there's not an action group identified by id. More...
 

Protected Attributes

QString m_aboutLogo
 
std::string m_appConfigFile
 The application framework configuration file. More...
 
std::string m_appDatasourcesFile
 Name of the file containing datasources used. More...
 
QString m_appDefaultIconTheme
 Name of the icon theme to be used. More...
 
QString m_appHelpFile
 Name of the help file. More...
 
QString m_appIconName
 Icon used in the application. More...
 
QString m_appIconThemeDir
 Directory of the application icon theme. More...
 
std::set< QObject * > m_applicationItems
 The list of registered application items. More...
 
QString m_appName
 Application name. More...
 
QString m_appOrganization
 Organization name. More...
 
QString m_appPluginsPath
 Name of the plugins path. More...
 
QSettings m_appSettings
 
QString m_appTitle
 Application title. More...
 
QString m_appToolBarDefaultIconSize
 Size of the tool buttons. More...
 
std::string m_appUserSettingsFile
 Name of the user settings file. More...
 
QString m_appVersion
 The application version. More...
 
int m_defaultSRID
 Default SRID value. More...
 
bool m_initialized
 A flag indicating if the controller is initialized. More...
 
std::vector< QMenuBar * > m_menuBars
 Menu bars registered. More...
 
std::vector< QMenu * > m_menus
 Menus registered. More...
 
QWidgetm_msgBoxParentWidget
 Parent used to show message boxes. More...
 
bool m_resetTerralib
 
QColor m_selectionColor
 Default selection color. More...
 
QString m_tLibLogo
 
std::map< QString, QToolBar * > m_toolbars
 Toolbars registered. More...
 
QString m_userDataDir
 The data dir used to store data files. More...
 

Related Functions

(Note that these are not member functions.)

QMenu * findMenu
 

Detailed Description

The base API for TerraLib applications.

Note
Temporally this class is a singleton!

Definition at line 85 of file ApplicationController.h.

Constructor & Destructor Documentation

te::qt::af::ApplicationController::ApplicationController ( )

Constructor.

Parameters
parentThe parent object.

Definition at line 93 of file ApplicationController.cpp.

References ~ApplicationController().

te::qt::af::ApplicationController::~ApplicationController ( )
virtualdefault

Destructor.

Referenced by ApplicationController().

Member Function Documentation

void te::qt::af::ApplicationController::addListener ( QObject obj,
const ListenerType type = BOTH 
)

Insert an application item that will listen to framework events.

Parameters
objThe application item that will listen to framework events.
Note
The obj MUST HAVE AN IMPLEMENTATION of the slot onApplicationTriggered(Event*). If it hasn't, a warning will be sent at run-time.
If the obj was previously registered, nothing will be done.

Definition at line 269 of file ApplicationController.cpp.

References te::qt::af::BOTH, te::qt::af::RECEIVER, te::qt::af::SENDER, and triggered().

Referenced by TerraView::makeDialog(), te::qt::af::BaseApplication::makeDialog(), te::qt::af::BaseApplication::onChartDisplayCreated(), TerraView::onLayerHistogramTriggered(), TerraView::onLayerScatterTriggered(), and te::qt::af::BaseApplication::onLayerShowTableTriggered().

void te::qt::af::ApplicationController::addToolBar ( const QString &  id,
QToolBar *  bar 
)

Register the toolbar in the list of the known toolbars and dispatch an event.

Parameters
idThe toolbar identification string.
barThe toolbar to be registered. The controller will not take the bar ownership.

An event will be broadcasted to indicate that the toolbar was appended.

Exceptions
ExceptionIt throws an exception if a toolbar with the given id already exists.

Definition at line 114 of file ApplicationController.cpp.

References registerToolBar(), and triggered().

Referenced by te::qt::af::ToolbarsWidget::saveChanges().

void te::qt::af::ApplicationController::finalizePlugins ( )
virtual
QAction * te::qt::af::ApplicationController::findAction ( const QString &  id) const

Returns the action identified by id or NULL if there's not an action identified by id.

Parameters
idIdentifier if the action.
Returns
QAction identified or NULL if could not find one.
Note
There's a rule to determine id. The text of menus and submenus separated by '.' character.

Definition at line 227 of file ApplicationController.cpp.

References te::qt::widgets::FindAction(), m_menuBars, and m_menus.

Referenced by TerraView::addActions(), te::qt::af::ReadToolBarsFromSettings(), and TerraViewController::updateRecentProjects().

QActionGroup * te::qt::af::ApplicationController::findActionGroup ( const QString &  id) const

Returns the action group identified by id or NULL if there's not an action group identified by id.

Parameters
idIdentifier of the action group.
Returns
QActionGroup identified or NULL if could not find one.

Definition at line 248 of file ApplicationController.cpp.

References te::qt::widgets::FindActionGroup(), m_menuBars, and m_menus.

QMenu * te::qt::af::ApplicationController::findMenu ( const QString &  id) const

Returns the menu registered with key id.

Parameters
idIndentifier of the menu.
Returns
Menu registered or NULL with there is not one registered with the key id.

Definition at line 165 of file ApplicationController.cpp.

References te::qt::widgets::FindMenu(), m_menuBars, and m_menus.

Referenced by getMenu(), and te::qt::af::MapDisplay::MapDisplay().

QMenuBar * te::qt::af::ApplicationController::findMenuBar ( const QString &  id) const

Returns the menu bar registered with key id.

Parameters
idIndentifier of the menu bar.
Returns
Menu bar registered or NULL with there is not one registered with the key id.

Definition at line 215 of file ApplicationController.cpp.

const QString & te::qt::af::ApplicationController::getAboutLogo ( ) const

Returns the application project extension.

Returns
Application project extension.

Definition at line 763 of file ApplicationController.cpp.

References m_aboutLogo.

Referenced by TerraView::showAboutDialog().

const QString & te::qt::af::ApplicationController::getAppIconName ( ) const

Returns the application icon.

Returns
Application icon.

Definition at line 753 of file ApplicationController.cpp.

References m_appIconName.

Referenced by te::qt::af::BaseApplication::makeDialog().

const QString & te::qt::af::ApplicationController::getAppName ( ) const
const QString & te::qt::af::ApplicationController::getAppPluginsPath ( ) const

Returns the plugins file path of application.

Returns
A path of plugins file.

Definition at line 758 of file ApplicationController.cpp.

References m_appPluginsPath.

Referenced by te::qt::af::GetDefaultPluginsNames().

const QString & te::qt::af::ApplicationController::getAppTitle ( ) const

Returns the application title.

Returns
Application title.

Definition at line 743 of file ApplicationController.cpp.

References m_appTitle.

Referenced by GetWindowTitle(), TerraViewController::initializeProjectMenus(), te::qt::af::BaseApplication::makeDialog(), TerraView::onAddDataSetLayerTriggered(), TerraView::onAddFolderLayerTriggered(), TerraView::onAddQueryLayerTriggered(), TerraView::onAddTabularLayerTriggered(), te::qt::af::BaseApplication::onChartDisplayCreated(), TerraView::onDataSourceExplorerTriggered(), TerraView::onLayerChartTriggered(), TerraView::onLayerDuplicateLayerTriggered(), te::qt::af::BaseApplication::onLayerFitOnMapDisplayTriggered(), te::qt::af::BaseApplication::onLayerFitSelectedOnMapDisplayTriggered(), TerraView::onLayerGroupingTriggered(), TerraView::onLayerHistogramTriggered(), te::qt::af::BaseApplication::onLayerInvertSelectionTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), te::qt::af::BaseApplication::onLayerPropertiesTriggered(), te::qt::af::BaseApplication::onLayerRemoveSelectionTriggered(), te::qt::af::BaseApplication::onLayerRenameTriggered(), te::qt::af::BaseApplication::onLayerSaveSelectedObjectsTriggered(), TerraView::onLayerScatterTriggered(), te::qt::af::BaseApplication::onLayerShowTableTriggered(), te::qt::af::BaseApplication::onLayerSRSTriggered(), TerraView::onLinkTriggered(), TerraView::onOpenProjectTriggered(), TerraView::onPluginsManagerTriggered(), TerraView::onProjectPropertiesTriggered(), TerraView::onQueryLayerTriggered(), TerraView::onToolsCustomizeTriggered(), TerraView::onToolsDataExchangerDirectPopUpTriggered(), TerraView::onToolsDataExchangerDirectTriggered(), TerraView::onToolsDataExchangerTriggered(), TerraView::onToolsQueryDataSourceTriggered(), TerraView::onToolsRasterMultiResolutionTriggered(), TerraView::onUpdateLayerDataSourceTriggered(), and TerraView::openProject().

const QString & te::qt::af::ApplicationController::getAppVersion ( ) const

Returns the application version.

Returns
Application version.

Definition at line 748 of file ApplicationController.cpp.

References m_appVersion.

int te::qt::af::ApplicationController::getDefaultSRID ( ) const

Returns the most recent project.

Returns
Application most recent opened project.

Returns the application default SRID value.

Returns
Application default SRID value.

Definition at line 773 of file ApplicationController.cpp.

References m_defaultSRID.

Referenced by te::qt::af::MapDisplay::MapDisplay().

QWidget * te::qt::af::ApplicationController::getMainWindow ( ) const

Returns main window.

Returns
The main window pointer.

Definition at line 788 of file ApplicationController.cpp.

References m_msgBoxParentWidget.

Referenced by TerraViewController::initializeProjectMenus().

QMenu * te::qt::af::ApplicationController::getMenu ( const QString &  id)

Returns a menu registered with key id.

Parameters
idIdentifier of menu to be searched.
Returns
The menu registered with the id identifier.
Note
If the menu does not exists, then this function will create it.

Definition at line 192 of file ApplicationController.cpp.

References findMenu(), te::qt::widgets::GetMenu(), m_menuBars, and m_menus.

Referenced by TerraView::addActions(), TerraViewController::initializeProjectMenus(), and TerraViewController::updateRecentProjects().

QMenuBar * te::qt::af::ApplicationController::getMenuBar ( const QString &  id) const

Returns a menu bar registered with key id.

Parameters
idIdentifier of menu bar to be searched.
Returns
The menu bar registered with the id identifier.
Note
If the menu bar does not exists, then this function will create it.

Definition at line 221 of file ApplicationController.cpp.

References m_menuBars.

Referenced by SetActions().

QColor te::qt::af::ApplicationController::getSelectionColor ( ) const
QSettings & te::qt::af::ApplicationController::getSettings ( )

Return the QSettings of the application. This can be used to add settings from external sources.

Returns
QSettings being used.

Definition at line 733 of file ApplicationController.cpp.

References m_appSettings.

const QString & te::qt::af::ApplicationController::getTlibLogo ( ) const

Definition at line 768 of file ApplicationController.cpp.

References m_tLibLogo.

Referenced by TerraView::showAboutDialog().

QToolBar * te::qt::af::ApplicationController::getToolBar ( const QString &  id) const

Return the toolbar identified by id or NULL if none is found.

Parameters
idThe toolbar identification string.
Returns
A toolbar identified by id or NULL if none is found.

Definition at line 134 of file ApplicationController.cpp.

References m_toolbars.

Referenced by te::qt::af::AddActionToCustomToolbars(), and registerToolBar().

std::vector< QToolBar * > te::qt::af::ApplicationController::getToolBars ( ) const

Return the list of registered toolbars.

Returns
List of registered ToolBars.

Definition at line 141 of file ApplicationController.cpp.

References m_toolbars.

Referenced by TerraView::initToolbars(), SetToolbars(), and te::qt::af::UpdateToolBarsInTheSettings().

const QString & te::qt::af::ApplicationController::getUserDataDir ( ) const
void te::qt::af::ApplicationController::initialize ( )
virtual

Initializes the application framework.

The initialization will read the following configurations files (in order):

  • A main config file, generally called config.xml
  • A user settings file, generally called user_settings.xml<li>

It will start by initializing the available TerraLib modules. This means that applications that uses the application framework, does not need to call TerraLib initialization (TerraLib::getInstance().initialize()) and finalization methods (TerraLib::getInstance().finalize()).

Exceptions
ExceptionIt throws an exception if the initialization fails.
Note
Make sure that the application calls this method BEFORE it uses any TerraLib modules or functions.

Definition at line 284 of file ApplicationController.cpp.

References te::core::FileSystem::createDirectories(), te::core::FileSystem::exists(), te::core::FindInTerraLibPath(), te::qt::af::XMLFormatter::formatDataSourceInfos(), te::common::Singleton< SplashScreenManager >::getInstance(), te::common::Singleton< HelpManager >::getInstance(), te::common::Singleton< TerraLib >::getInstance(), te::common::Singleton< T >::getInstance(), te::qt::af::GetLastFormerVersionPath(), getUserDataDir(), TerraLib::initialize(), m_aboutLogo, m_appConfigFile, m_appDatasourcesFile, m_appDefaultIconTheme, m_appHelpFile, m_appIconName, m_appIconThemeDir, m_appName, m_appOrganization, m_appPluginsPath, m_appTitle, m_appVersion, m_defaultSRID, m_initialized, m_msgBoxParentWidget, m_resetTerralib, m_selectionColor, m_tLibLogo, m_userDataDir, te::serialize::xml::ReadDataSourceInfo(), TE_INIT_DEFAULT_LOGGER, and TERRALIB_APPLICATION_DATASOURCE_FILE_NAME.

Referenced by te::qt::af::BaseApplication::initFramework().

void te::qt::af::ApplicationController::initializePlugins ( )
virtual

Load the plugin list and initialize the plugins enabled by the user.

The plugin initialization will read a file containing a list of plugins with their addresses. This file is generally called application_plugins.xml.

Precondition
The application must assure that any resource needed by their plugins are ready for use. This means that initialize should be called before initializing the plugins.

Definition at line 542 of file ApplicationController.cpp.

References d, te::common::Singleton< SplashScreenManager >::getInstance(), te::common::Singleton< T >::getInstance(), GetPluginsDirectories(), te::core::PluginManager::insert(), te::core::PluginManager::instance(), te::core::PluginManager::load(), te::core::plugin::LoadAll(), m_appTitle, te::core::PluginFinder(), and te::core::plugin::TopologicalSort().

Referenced by te::qt::af::BaseApplication::init().

void te::qt::af::ApplicationController::registerMenu ( QMenu *  mnu)

Register the mnu.

Parameters
mnuPointer to the menu to be registered.

Definition at line 160 of file ApplicationController.cpp.

References m_menus.

void te::qt::af::ApplicationController::registerMenuBar ( QMenuBar *  bar)

Register the bar.

Parameters
barPointer to the menu bar to be registered.

Definition at line 210 of file ApplicationController.cpp.

References m_menuBars.

Referenced by te::qt::af::BaseApplication::initMenus().

void te::qt::af::ApplicationController::registerToolBar ( const QString &  id,
QToolBar *  bar 
)

Register the toolbar in the list of the known toolbars.

Parameters
idThe toolbar identification string.
barThe toolbar to be registered. The controller will not take the bar ownership.
Exceptions
ExceptionIt throws an exception if a toolbar with the given id already exists.

Definition at line 124 of file ApplicationController.cpp.

References b, getToolBar(), m_toolbars, and TE_TR.

Referenced by addToolBar(), and te::qt::af::BaseApplication::initToolbars().

void te::qt::af::ApplicationController::removeListener ( QObject obj)

Remove the obj from the list of event listeners.

Parameters
objThe application item to be removed.
Note
If the obj was not previously registered, nothing will be done.

Definition at line 279 of file ApplicationController.cpp.

Referenced by te::qt::af::BaseApplication::onLayerTableClose().

void te::qt::af::ApplicationController::removeToolBar ( const QString &  id)

Removes the toolbar identified by id.

Parameters
idIdentifier of the tool bar.

Definition at line 152 of file ApplicationController.cpp.

References m_toolbars.

Referenced by RemoveBars().

void te::qt::af::ApplicationController::setConfigFile ( const std::string &  configFileName)
virtual

Tells wich configuration file to be used by the controller during its initialization.

Parameters
configFileNameThe configuration file name with full path.

Definition at line 104 of file ApplicationController.cpp.

References m_appConfigFile.

Referenced by te::qt::af::BaseApplication::initFramework().

void te::qt::af::ApplicationController::setMsgBoxParentWidget ( QWidget w)
virtual

Tells the widget to be used as the parent of messages showned in a QMessageBox.

Parameters
wThe widget to be used as the parent of messages showned in a QMessageBox.

Definition at line 109 of file ApplicationController.cpp.

References m_msgBoxParentWidget.

void te::qt::af::ApplicationController::setResetTerraLibFlag ( const bool status)

Definition at line 793 of file ApplicationController.cpp.

References m_resetTerralib.

void te::qt::af::ApplicationController::setSelectionColor ( const QColor &  c)

Sets the application selection color.

Definition at line 783 of file ApplicationController.cpp.

References m_selectionColor.

Referenced by te::qt::af::GeneralConfigWidget::saveChanges().

void te::qt::af::ApplicationController::triggered ( te::qt::af::evt::Event )
signal

Send events in broadcast for all registered components.

Parameters
evtEvent to be sent.

Signal emmited to the aplication framework listeners.

Referenced by addListener(), addToolBar(), and trigger().

Friends And Related Function Documentation

QMenu * te::qt::widgets::findMenu ( const QString &  mnuText,
QMenuBar *  bar 
)
related

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

The difference for the above function is that this will search in all QMenu objects contained in the bar.

Member Data Documentation

QString te::qt::af::ApplicationController::m_aboutLogo
protected

Definition at line 440 of file ApplicationController.h.

Referenced by finalize(), getAboutLogo(), and initialize().

std::string te::qt::af::ApplicationController::m_appConfigFile
protected

The application framework configuration file.

Definition at line 433 of file ApplicationController.h.

Referenced by finalize(), initialize(), and setConfigFile().

std::string te::qt::af::ApplicationController::m_appDatasourcesFile
protected

Name of the file containing datasources used.

Definition at line 448 of file ApplicationController.h.

Referenced by finalize(), and initialize().

QString te::qt::af::ApplicationController::m_appDefaultIconTheme
protected

Name of the icon theme to be used.

Definition at line 446 of file ApplicationController.h.

Referenced by finalize(), and initialize().

QString te::qt::af::ApplicationController::m_appHelpFile
protected

Name of the help file.

Definition at line 444 of file ApplicationController.h.

Referenced by finalize(), and initialize().

QString te::qt::af::ApplicationController::m_appIconName
protected

Icon used in the application.

Definition at line 439 of file ApplicationController.h.

Referenced by finalize(), getAppIconName(), and initialize().

QString te::qt::af::ApplicationController::m_appIconThemeDir
protected

Directory of the application icon theme.

Definition at line 445 of file ApplicationController.h.

Referenced by finalize(), and initialize().

std::set<QObject*> te::qt::af::ApplicationController::m_applicationItems
protected

The list of registered application items.

Definition at line 431 of file ApplicationController.h.

Referenced by finalize().

QString te::qt::af::ApplicationController::m_appName
protected

Application name.

Definition at line 436 of file ApplicationController.h.

Referenced by finalize(), getAppName(), and initialize().

QString te::qt::af::ApplicationController::m_appOrganization
protected

Organization name.

Definition at line 435 of file ApplicationController.h.

Referenced by finalize(), and initialize().

QString te::qt::af::ApplicationController::m_appPluginsPath
protected

Name of the plugins path.

Definition at line 443 of file ApplicationController.h.

Referenced by finalize(), getAppPluginsPath(), and initialize().

QSettings te::qt::af::ApplicationController::m_appSettings
protected

Definition at line 454 of file ApplicationController.h.

Referenced by getSettings().

QString te::qt::af::ApplicationController::m_appTitle
protected

Application title.

Definition at line 437 of file ApplicationController.h.

Referenced by finalize(), getAppTitle(), initialize(), and initializePlugins().

QString te::qt::af::ApplicationController::m_appToolBarDefaultIconSize
protected

Size of the tool buttons.

Definition at line 447 of file ApplicationController.h.

Referenced by finalize().

std::string te::qt::af::ApplicationController::m_appUserSettingsFile
protected

Name of the user settings file.

Definition at line 442 of file ApplicationController.h.

Referenced by finalize().

QString te::qt::af::ApplicationController::m_appVersion
protected

The application version.

Definition at line 438 of file ApplicationController.h.

Referenced by getAppVersion(), and initialize().

int te::qt::af::ApplicationController::m_defaultSRID
protected

Default SRID value.

Definition at line 449 of file ApplicationController.h.

Referenced by finalize(), getDefaultSRID(), and initialize().

bool te::qt::af::ApplicationController::m_initialized
protected

A flag indicating if the controller is initialized.

Definition at line 452 of file ApplicationController.h.

Referenced by finalize(), and initialize().

std::vector<QMenuBar*> te::qt::af::ApplicationController::m_menuBars
protected

Menu bars registered.

Definition at line 430 of file ApplicationController.h.

Referenced by finalize(), findAction(), findActionGroup(), findMenu(), getMenu(), getMenuBar(), and registerMenuBar().

std::vector<QMenu*> te::qt::af::ApplicationController::m_menus
protected

Menus registered.

Definition at line 429 of file ApplicationController.h.

Referenced by finalize(), findAction(), findActionGroup(), findMenu(), getMenu(), and registerMenu().

QWidget* te::qt::af::ApplicationController::m_msgBoxParentWidget
protected

Parent used to show message boxes.

Definition at line 432 of file ApplicationController.h.

Referenced by finalize(), getMainWindow(), initialize(), and setMsgBoxParentWidget().

bool te::qt::af::ApplicationController::m_resetTerralib
protected

Definition at line 456 of file ApplicationController.h.

Referenced by finalize(), initialize(), and setResetTerraLibFlag().

QColor te::qt::af::ApplicationController::m_selectionColor
protected

Default selection color.

Definition at line 450 of file ApplicationController.h.

Referenced by finalize(), getSelectionColor(), initialize(), and setSelectionColor().

QString te::qt::af::ApplicationController::m_tLibLogo
protected

Definition at line 441 of file ApplicationController.h.

Referenced by finalize(), getTlibLogo(), and initialize().

std::map<QString, QToolBar*> te::qt::af::ApplicationController::m_toolbars
protected

Toolbars registered.

Definition at line 428 of file ApplicationController.h.

Referenced by finalize(), getToolBar(), getToolBars(), registerToolBar(), and removeToolBar().

QString te::qt::af::ApplicationController::m_userDataDir
protected

The data dir used to store data files.

Definition at line 434 of file ApplicationController.h.

Referenced by getUserDataDir(), and initialize().


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