26 #ifndef __TERRALIB_QT_AF_INTERNAL_UTILS_H
27 #define __TERRALIB_QT_AF_INTERNAL_UTILS_H
30 #include "../../common/Exception.h"
34 #include <QtCore/QString>
35 #include <QtGui/QColor>
254 #endif // __TERRALIB_QT_AF_INTERNAL_UTILS_H
TEQTAFEXPORT void AddToolBarToSettings(QToolBar *bar)
Update settings with a new tool bar.
TEQTAFEXPORT bool GetAlternateRowColorsFromSettings()
This class models a XML reader object.
TEQTAFEXPORT void RemoveToolBarFromSettings(QToolBar *bar)
Removes a tool bar from the settings.
TEQTAFEXPORT void UpdateToolBarsInTheSettings()
Update the existing tool bars.
TEQTAFEXPORT QString UnsavedStar(const QString windowTitle, bool isUnsaved)
Unsaved star.
TEQTAFEXPORT void SaveProjectInformationsOnSettings(const QString &defaultAuthor, const int &maxSaved)
TEQTAFEXPORT Project * ReadProject(const std::string &uri)
Reads and return a te::qt::af::Project from the file.
TEQTAFEXPORT void SaveDataSourcesFile()
Saves data sources file.
TEQTAFEXPORT QColor GetDefaultDisplayColorFromSettings()
TEQTAFEXPORT void SaveState(QMainWindow *mainWindow)
TEQTAFEXPORT void RestoreState(QMainWindow *mainWindow)
TEQTAFEXPORT void SaveLastDatasourceOnSettings(const QString &dsType)
TEQTAFEXPORT QString GetStyleSheetFromColors(QColor primaryColor, QColor secondaryColor)
TEQTAFEXPORT void UpdateUserSettings(const QStringList &prjFiles, const QStringList &prjTitles, const std::string &userConfigFile)
Updates user settings file section about information of the projects.
Configuration flags for the TerraLib Application Framework.
TEQTAFEXPORT void CreateDefaultSettings()
Creates a default QSettings.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
TEQTAFEXPORT bool GetOpenLastProjectFromSettings()
TEQTAFEXPORT void Save(const Project &project, const std::string &uri)
Saves the informations of the project in the uri file.
TEQTAFEXPORT QString GetStyleSheetFromSettings()
TEQTAFEXPORT QString GetLastDatasourceFromSettings()
TEQTAFEXPORT void UpdateApplicationPlugins()
Update plugins file.
TEQTAFEXPORT void SaveOpenLastProjectOnSettings(bool openLast)
TEQTAFEXPORT std::vector< QToolBar * > ReadToolBarsFromSettings(QWidget *barsParent=0)
Returns a vector of tool bars registered in the QSettings.
TEQTAFEXPORT void GetProjectInformationsFromSettings(QString &defaultAuthor, int &maxSaved)
TEQTAFEXPORT void AddActionToCustomToolbars(QAction *act)
Check QSettings for existance of act and adds it if necessary.
This class models a XML writer object.