Utility routines for the TerraLib Application Framework module. More...
#include "../../common/Exception.h"
#include "Config.h"
#include <QtCore/QString>
#include <QtGui/QColor>
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 QColor | te::qt::af::GetDefaultDisplayColorFromSettings () |
TEQTAFEXPORT QString | te::qt::af::GetLastDatasourceFromSettings () |
TEQTAFEXPORT bool | te::qt::af::GetOpenLastProjectFromSettings () |
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 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::Writer &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 QString | te::qt::af::UnsavedStar (const QString windowTitle, bool isUnsaved) |
Unsaved star. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateApplicationPlugins () |
Update plugins file. More... | |
TEQTAFEXPORT void | te::qt::af::UpdateToolBarsInTheSettings () |
Update the existing tool bars. 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... | |