Utility routines for the TerraLib Application Framework module. More...
Go to the source code of this file.
Namespaces | |
te | |
URI C++ Library. | |
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 (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 void | te::qt::af::CreateDefaultSettings () |
Creates a default QSettings. 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 () |
TEQTAFEXPORT QString | te::qt::af::GetExtensionFilter () |
Return extension filter string. More... | |
TEQTAFEXPORT QString | te::qt::af::GetGenerationDate () |
Returns the date and time of generated binary. More... | |
TEQTAFEXPORT QString | te::qt::af::GetLastDatasourceFromSettings () |
TEQTAFEXPORT bool | te::qt::af::GetOpenLastProjectFromSettings () |
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 void | te::qt::af::GetProjectInformationsFromSettings (QString &defaultAuthor, int &maxSaved) |
TEQTAFEXPORT QString | te::qt::af::GetStyleSheetFromColors (QColor primaryColor, QColor secondaryColor) |
TEQTAFEXPORT QString | te::qt::af::GetStyleSheetFromSettings () |
TEQTAFEXPORT QString | te::qt::af::GetWindowTitle (const Project &project) |
Return a QString with the new window title based on the project informations. More... | |
TEQTAFEXPORT Project * | te::qt::af::ReadProject (const std::string &uri) |
Reads and return a te::qt::af::Project from the file. More... | |
TEQTAFEXPORT Project * | te::qt::af::ReadProject (te::xml::Reader &reader) |
Reads and return a te::qt::af::Project using reader XML reader. More... | |
TEQTAFEXPORT std::vector< QToolBar * > | te::qt::af::ReadToolBarsFromSettings (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::Save (const Project &project, const std::string &uri) |
Saves the informations of the project in the uri file. More... | |
TEQTAFEXPORT void | te::qt::af::Save (const Project &project, te::xml::AbstractWriter &writer) |
Saves the informations of the te::qt::af::Project using writer XML writer. More... | |
TEQTAFEXPORT void | te::qt::af::SaveDataSourcesFile () |
Saves data sources file. More... | |
TEQTAFEXPORT void | te::qt::af::SaveLastDatasourceOnSettings (const QString &dsType) |
TEQTAFEXPORT void | te::qt::af::SaveOpenLastProjectOnSettings (bool openLast) |
TEQTAFEXPORT void | te::qt::af::SaveProjectInformationsOnSettings (const QString &defaultAuthor, const int &maxSaved) |
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 () |
Update plugins file. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateUserSettings (const QStringList &prjFiles, const QStringList &prjTitles, const std::string &userConfigFile) |
Updates user settings file section about information of the projects. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateUserSettingsFile (const QString &fileName, const bool &removeOlder=true) |
Changes the user settings file location. More... | |
TEQTAFEXPORT void | te::qt::af::WriteDefaultProjectFile (const QString &fileName) |
Writes the configuration file. It updates the application settings. More... | |