27 #include "../../../geometry/Line.h" 
   28 #include "../../../geometry/LinearRing.h" 
   29 #include "../../../geometry/Point.h" 
   30 #include "../../../geometry/Polygon.h" 
   31 #include "../../../maptools/CanvasConfigurer.h" 
   32 #include "../canvas/Canvas.h" 
   38 #include <QtGui/QGridLayout> 
   39 #include <QtGui/QLabel> 
   54   QGridLayout* layout = 
new QGridLayout(
this);
 
   55   layout->setContentsMargins(0, 0, 0, 0);
 
   56   layout->setSizeConstraint(QLayout::SetFixedSize);
 
static QPixmap build(const te::se::Symbolizer *symb, const QSize &size)
Generates the preview of given symbolizer element. 
 
A widget used to preview symbol elements. 
 
SymbolPreviewWidget(const QSize &size, QWidget *parent=0)
Constructs a symbol preview widget with fixed size, which is a child of parent, with widget flags set...
 
A Symbolizer describes how a feature is to appear on a map. 
 
This class represents a symbol. TODO: More description! 
 
~SymbolPreviewWidget()
Destructor. 
 
QSize m_size
Preview size. 
 
QLabel * m_previewLabel
Qt element that will be used to visualize preview result. 
 
Static class used to generate preview of Symbology elements. 
 
This class represents a symbol. 
 
void updatePreview(Symbol *symbol)
Preview a symbol element. 
 
const std::vector< te::se::Symbolizer * > & getSymbolizers() const 
It returns the list of Symbolizers that compose the symbol.