Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
QgsSymbolLayerV2 Class Referenceabstract

#include <qgssymbollayerv2.h>

Inheritance diagram for QgsSymbolLayerV2:
Inheritance graph
[legend]

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 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
 

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 21 of file qgssymbollayerv2.h.

Constructor & Destructor Documentation

virtual QgsSymbolLayerV2::~QgsSymbolLayerV2 ( )
inlinevirtual

Definition at line 29 of file qgssymbollayerv2.h.

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

Definition at line 56 of file qgssymbollayerv2.h.

Member Function Documentation

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

Definition at line 49 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)
inlinevirtual

Reimplemented in QgsCentroidFillSymbolLayerV2, and QgsMarkerLineSymbolLayerV2.

Definition at line 26 of file qgssymbollayerv2.h.

void QgsSymbolLayerV2::setLocked ( bool  locked)
inline
void QgsSymbolLayerV2::setRenderingPass ( int  renderingPass)
inline
virtual bool QgsSymbolLayerV2::setSubSymbol ( QgsSymbolV2 symbol)
inlinevirtual
virtual void QgsSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context)
pure virtual
virtual void QgsSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context)
pure virtual
virtual QgsSymbolV2* QgsSymbolLayerV2::subSymbol ( )
inlinevirtual
QgsSymbolV2::SymbolType QgsSymbolLayerV2::type ( ) const
inline

Member Data Documentation

QColor QgsSymbolLayerV2::mColor
protected
bool QgsSymbolLayerV2::mLocked
protected

Definition at line 60 of file qgssymbollayerv2.h.

int QgsSymbolLayerV2::mRenderingPass
protected

Definition at line 62 of file qgssymbollayerv2.h.

QgsSymbolV2::SymbolType QgsSymbolLayerV2::mType
protected

Definition at line 59 of file qgssymbollayerv2.h.

const bool QgsSymbolLayerV2::selectFillBorder = false
staticprotected

Definition at line 66 of file qgssymbollayerv2.h.

Referenced by QgsSVGFillSymbolLayer::renderPolygon().

const bool QgsSymbolLayerV2::selectFillStyle = false
staticprotected

Definition at line 67 of file qgssymbollayerv2.h.

Referenced by QgsSimpleFillSymbolLayerV2::startRender().

const bool QgsSymbolLayerV2::selectionIsOpaque = true
staticprotected

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