Quantum GIS API Documentation  1.8
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
QgsSymbolLayerV2 Class Reference

#include <qgssymbollayerv2.h>

Inheritance diagram for QgsSymbolLayerV2:
Inheritance graph

List of all members.

Public Member Functions

virtual void setColor (const QColor &color)
virtual QColor color () const
virtual ~QgsSymbolLayerV2 ()
virtual QString layerType () const =0
virtual void startRender (QgsSymbolV2RenderContext &context)=0
virtual void stopRender (QgsSymbolV2RenderContext &context)=0
virtual QgsSymbolLayerV2clone () const =0
virtual void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const
virtual QgsStringMap properties () const =0
virtual void drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size)=0
virtual QgsSymbolV2subSymbol ()
virtual bool setSubSymbol (QgsSymbolV2 *symbol)
QgsSymbolV2::SymbolType type () const
void setLocked (bool locked)
bool isLocked () const
void setRenderingPass (int renderingPass)
int renderingPass () const
virtual QSet< QString > usedAttributes () const

Protected Member Functions

 QgsSymbolLayerV2 (QgsSymbolV2::SymbolType type, bool locked=false)

Protected Attributes

QgsSymbolV2::SymbolType mType
bool mLocked
QColor mColor
int mRenderingPass

Static Protected Attributes

static const bool selectionIsOpaque = true
static const bool selectFillBorder = false
static const bool selectFillStyle = false

Detailed Description

Definition at line 37 of file qgssymbollayerv2.h.

Constructor & Destructor Documentation

virtual QgsSymbolLayerV2::~QgsSymbolLayerV2 ( ) [inline, virtual]

Definition at line 45 of file qgssymbollayerv2.h.

QgsSymbolLayerV2::QgsSymbolLayerV2 ( QgsSymbolV2::SymbolType  type,
bool  locked = false 
) [inline, protected]

Definition at line 78 of file qgssymbollayerv2.h.

Member Function Documentation

virtual QgsSymbolLayerV2* QgsSymbolLayerV2::clone ( ) const [pure virtual]
virtual QColor QgsSymbolLayerV2::color ( void  ) const [inline, virtual]
virtual void QgsSymbolLayerV2::drawPreviewIcon ( QgsSymbolV2RenderContext context,
QSize  size 
) [pure virtual]
bool QgsSymbolLayerV2::isLocked ( ) const [inline]

Definition at line 68 of file qgssymbollayerv2.h.

Referenced by QgsSymbolLayerV2Utils::saveSymbol().

virtual QString QgsSymbolLayerV2::layerType ( ) const [pure virtual]
virtual QgsStringMap QgsSymbolLayerV2::properties ( ) const [pure virtual]
int QgsSymbolLayerV2::renderingPass ( ) const [inline]
virtual void QgsSymbolLayerV2::setColor ( const QColor &  color) [inline, virtual]
void QgsSymbolLayerV2::setLocked ( bool  locked) [inline]
void QgsSymbolLayerV2::setRenderingPass ( int  renderingPass) [inline]
virtual bool QgsSymbolLayerV2::setSubSymbol ( QgsSymbolV2 symbol) [inline, virtual]
virtual void QgsSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context) [pure virtual]
virtual void QgsSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context) [pure virtual]
virtual QgsSymbolV2* QgsSymbolLayerV2::subSymbol ( ) [inline, virtual]
virtual void QgsSymbolLayerV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const [inline, virtual]
virtual QSet<QString> QgsSymbolLayerV2::usedAttributes ( ) const [inline, virtual]

Reimplemented in QgsEllipseSymbolLayerV2, and QgsVectorFieldSymbolLayer.

Definition at line 75 of file qgssymbollayerv2.h.

Member Data Documentation

QColor QgsSymbolLayerV2::mColor [protected]
bool QgsSymbolLayerV2::mLocked [protected]

Definition at line 82 of file qgssymbollayerv2.h.

Definition at line 84 of file qgssymbollayerv2.h.

Definition at line 81 of file qgssymbollayerv2.h.

const bool QgsSymbolLayerV2::selectFillBorder = false [static, protected]

Definition at line 88 of file qgssymbollayerv2.h.

Referenced by QgsImageFillSymbolLayer::renderPolygon().

const bool QgsSymbolLayerV2::selectFillStyle = false [static, protected]

Definition at line 89 of file qgssymbollayerv2.h.

Referenced by QgsSimpleFillSymbolLayerV2::startRender().

const bool QgsSymbolLayerV2::selectionIsOpaque = true [static, protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines