te::qt::widgets::SymbologyPreview Class Reference

#include <SymbologyPreview.h>

Inheritance diagram for te::qt::widgets::SymbologyPreview:
te::common::Static

Static Public Member Functions

static QPixmap build (const te::se::Symbolizer *symb, const QSize &size)
 Generates the preview of given symbolizer element. More...
 
static QPixmap build (const std::vector< te::se::Symbolizer * > &symbs, const QSize &size)
 Generates the preview of a set of symbolizers elements. More...
 
static QPixmap build (const te::se::Rule *rule, const QSize &size)
 Generates the preview of a set of symbolizers elements included in the given rule. More...
 
static QPixmap build (const te::se::Symbolizer *symb, const te::gm::Geometry *geom, const QSize &size)
 Generates the preview of given symbolizer element. More...
 
static QPixmap build (const std::vector< te::se::Symbolizer * > &symbs, const te::gm::Geometry *geom, const QSize &size)
 Generates the preview of a set of symbolizers elements. More...
 
static QPixmap build (const te::se::Rule *rule, const te::gm::Geometry *geom, const QSize &size)
 Generates the preview of a set of symbolizers elements included in the given rule. More...
 
static QPixmap build (const Symbol *symbol, const te::gm::Geometry *geom, const QSize &size)
 Generates the preview of a symbol. More...
 
static QPixmap buildText (const te::se::Symbolizer *symb, const QSize &size)
 Generates the preview of given text symbolizer element. More...
 

Detailed Description

Definition at line 60 of file SymbologyPreview.h.

Member Function Documentation

static QPixmap te::qt::widgets::SymbologyPreview::build ( const te::se::Symbolizer symb,
const QSize &  size 
)
static

Generates the preview of given symbolizer element.

Parameters
symbA valid symbolizer element.
sizeThe preview size.
Returns
A pixmap that represents the result of symbolizer preview.
Note
A default geometry will be created based on symbolizer type and will be used to draw the preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const std::vector< te::se::Symbolizer * > &  symbs,
const QSize &  size 
)
static

Generates the preview of a set of symbolizers elements.

Parameters
symbsA set of symbolizers elements.
sizeThe preview size.
Returns
A pixmap that represents the composite result of symbolizers preview.
Note
Default geometry will be created based on symbolizers type and will be used to draw the preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const te::se::Rule rule,
const QSize &  size 
)
static

Generates the preview of a set of symbolizers elements included in the given rule.

Parameters
ruleA valid rule element that will be used to get the set of symbolizers.
sizeThe preview size.
Returns
A pixmap that represents the composite result of rule's symbolizers preview.
Note
Default geometries will be created based on symbolizers type and will be used to draw the preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const te::se::Symbolizer symb,
const te::gm::Geometry geom,
const QSize &  size 
)
static

Generates the preview of given symbolizer element.

Parameters
symbA valid symbolizer element.
geomThe geometry that will be used to draw the preview.
sizeThe preview size.
Returns
A pixmap that represents the result of symbolizer preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const std::vector< te::se::Symbolizer * > &  symbs,
const te::gm::Geometry geom,
const QSize &  size 
)
static

Generates the preview of a set of symbolizers elements.

Parameters
symbsA set of symbolizers elements.
geomThe geometry that will be used to draw the preview.
sizeThe preview size.
Returns
A pixmap that represents the composite result of symbolizers preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const te::se::Rule rule,
const te::gm::Geometry geom,
const QSize &  size 
)
static

Generates the preview of a set of symbolizers elements included in the given rule.

Parameters
ruleA valid rule element that will be used to get the set of symbolizers.
geomThe geometry that will be used to draw the preview.
sizeThe preview size.
Returns
A pixmap that represents the composite result of rule's symbolizers preview.
static QPixmap te::qt::widgets::SymbologyPreview::build ( const Symbol symbol,
const te::gm::Geometry geom,
const QSize &  size 
)
static

Generates the preview of a symbol.

Parameters
symbolA valid symbol.
geomThe geometry that will be used to draw the preview.
sizeThe preview size.
Returns
A pixmap that represents the symbol preview.
static QPixmap te::qt::widgets::SymbologyPreview::buildText ( const te::se::Symbolizer symb,
const QSize &  size 
)
static

Generates the preview of given text symbolizer element.

Parameters
symbA valid symbolizer element.
sizeThe preview size.
Returns
A pixmap that represents the result of symbolizer preview.

The documentation for this class was generated from the following file: