Utils.h File Reference

This file contains utility functions for dealing with Symbology Enconding and Qt concepts. More...

#include "../Config.h"
#include <string>
#include <QStringList>

Go to the source code of this file.

Namespaces

 te
 TerraLib.
 
 te::qt
 Namespace for the Qt module of TerraLib.
 
 te::qt::widgets
 Namespace for the Qt Widgets module of TerraLib.
 
 te::se
 Namespace for the Symbology Encoding module of TerraLib.
 
 te::xml
 Namespace for the XML module of TerraLib.
 

Functions

TEQTWIDGETSEXPORT void te::qt::widgets::BuildGroupTreeInsideLibrary (te::xml::Reader &reader, SymbolLibrary *library)
 Serializes the SymbolLibrary into a buffer. More...
 
TEQTWIDGETSEXPORT void te::qt::widgets::Config (QBrush &brush, const te::se::Fill *fill)
 It configs the given brush based on Symbology Enconding Fill element. More...
 
TEQTWIDGETSEXPORT void te::qt::widgets::Config (QPen &pen, const te::se::Stroke *stroke)
 It configs the given pen based on Symbology Enconding Stroke element. More...
 
TEQTWIDGETSEXPORT QFont te::qt::widgets::Convert2Qt (const te::se::Font *font)
 It converts a TerraLib Font to Qt Font. More...
 
TEQTWIDGETSEXPORT te::se::Fontte::qt::widgets::Convert2TerraLib (const QFont &font)
 It converts a Qt Font to TerraLib Font. More...
 
TEQTWIDGETSEXPORT SymbolNode * te::qt::widgets::ReadGroup (te::xml::Reader &reader)
 It reads a symbol using the given reader. More...
 
TEQTWIDGETSEXPORT Symbol * te::qt::widgets::ReadSymbol (te::xml::Reader &reader)
 It reads a symbol using the given reader. More...
 
TEQTWIDGETSEXPORT void te::qt::widgets::ReadSymbolLibrary (const std::string &path)
 It reads a symbol library file and put the result on SymbolLibraryManager. More...
 
TEQTWIDGETSEXPORT void te::qt::widgets::ReadSymbolLibraryFromBuffer (const std::string &buffer)
 
TEQTWIDGETSEXPORT void te::qt::widgets::SerializeSymbolLibrary (te::xml::AbstractWriter &writer)
 
TEQTWIDGETSEXPORT std::string te::qt::widgets::SerializeSymbolLibraryToBuffer ()
 
TEQTWIDGETSEXPORT void te::qt::widgets::WriteElement (te::qt::widgets::Symbol *symbol, te::xml::AbstractWriter &writer)
 
TEQTWIDGETSEXPORT void te::qt::widgets::WriteElement (te::qt::widgets::SymbolNode *group, te::xml::AbstractWriter &writer)
 
TEQTWIDGETSEXPORT void te::qt::widgets::WriteElement (te::se::Symbolizer *symbolizer, te::xml::AbstractWriter &writer)
 
TEQTWIDGETSEXPORT void te::qt::widgets::WriteElements (te::xml::AbstractWriter &writer, te::qt::widgets::SymbolNode *root)
 
TEQTWIDGETSEXPORT void te::qt::widgets::WriteSymbolLibrary (const std::string &path)
 It reads a symbol using the given reader. More...
 

Detailed Description

This file contains utility functions for dealing with Symbology Enconding and Qt concepts.

Definition in file Utils.h.