Utility routines for the TerraLib Application Framework module. More...
Go to the source code of this file.
Namespaces | |
te | |
TerraLib. | |
te::qt | |
Namespace for the Qt module of TerraLib. | |
te::qt::af | |
Namespace for the Qt Application Framework module of TerraLib. | |
te::xml | |
Namespace for the XML module of TerraLib. | |
Functions | |
TEQTAFEXPORT void | te::qt::af::AddActionToCustomToolbars (te::qt::af::ApplicationController *appController, QAction *act) |
Check QSettings for existance of act and adds it if necessary. More... | |
TEQTAFEXPORT void | te::qt::af::AddToolBarToSettings (QToolBar *bar) |
Update settings with a new tool bar. More... | |
TEQTAFEXPORT bool | te::qt::af::GetAlternateRowColorsFromSettings () |
TEQTAFEXPORT QString | te::qt::af::GetDateTime () |
TEQTAFEXPORT QString | te::qt::af::GetDefaultConfigFileOutputDir () |
Returns the default path for output of configuration file. More... | |
TEQTAFEXPORT QColor | te::qt::af::GetDefaultDisplayColorFromSettings () |
TEQTAFEXPORT std::vector< std::string > | te::qt::af::GetDefaultPluginsNames (te::qt::af::ApplicationController *appController) |
TEQTAFEXPORT bool | te::qt::af::GetDisplayAutoRedrawFromSettings () |
Get the auto-redraw state. More... | |
TEQTAFEXPORT void | te::qt::af::GetDPIValuesFromSettings (int &dpiX, int &dpiY) |
Load setted dpi X and Y. If there is no configuration to load, it fills dpiX and dpiY with -1. More... | |
TEQTAFEXPORT QString | te::qt::af::GetGenerationDate () |
Writes the configuration file. It updates the application settings. More... | |
TEQTAFEXPORT QString | te::qt::af::GetLastDatasourceFromSettings () |
TEQTAFEXPORT std::string | te::qt::af::GetLastFormerVersionPath (te::qt::af::ApplicationController *appController) |
TEQTAFEXPORT std::vector< std::string > | te::qt::af::GetPluginsFiles () |
TEQTAFEXPORT std::vector< std::string > | te::qt::af::GetPluginsNames (const std::vector< std::string > &plgFiles) |
TEQTAFEXPORT QString | te::qt::af::GetStyleSheetFromColors (QColor primaryColor, QColor secondaryColor) |
TEQTAFEXPORT QString | te::qt::af::GetStyleSheetFromSettings () |
TEQTAFEXPORT bool | te::qt::af::IsLowerVersion (const std::string &version1, const std::string &version2) |
It compares two strings in the context of sistem version. More... | |
TEQTAFEXPORT std::vector< QToolBar * > | te::qt::af::ReadToolBarsFromSettings (te::qt::af::ApplicationController *appController, QWidget *barsParent=0) |
Returns a vector of tool bars registered in the QSettings. More... | |
TEQTAFEXPORT void | te::qt::af::RemoveToolBarFromSettings (QToolBar *bar) |
Removes a tool bar from the settings. More... | |
TEQTAFEXPORT void | te::qt::af::RestoreState (QMainWindow *mainWindow) |
TEQTAFEXPORT void | te::qt::af::SaveDataSourcesFile (te::qt::af::ApplicationController *appController) |
Saves data sources file. More... | |
TEQTAFEXPORT void | te::qt::af::SaveLastDatasourceOnSettings (const QString &dsType) |
TEQTAFEXPORT void | te::qt::af::SaveState (QMainWindow *mainWindow) |
TEQTAFEXPORT void | te::qt::af::SetConfigFileName (const QString &fileName) |
Returns the complete path of the configuration file or an empty value if it not exists. More... | |
TEQTAFEXPORT void | te::qt::af::SetDateTime (const QString &dateTime) |
TEQTAFEXPORT QString | te::qt::af::UnsavedStar (const QString windowTitle, bool isUnsaved) |
Unsaved star. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateAppPluginsFile (const QString &fileName, const bool &removeOlder=true) |
Changes the application plugins file location. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateToolBarsInTheSettings (te::qt::af::ApplicationController *appController) |
Update plugins file. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateUserSettings () |
Reads and return a te::qt::af::Project from the file. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateUserSettingsFile (const QString &fileName, const bool &removeOlder=true) |
Changes the user settings file location. More... | |