QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
SymbolLayerItem Class Reference
Inheritance diagram for SymbolLayerItem:
Inheritance graph
[legend]

Public Member Functions

 SymbolLayerItem (QgsSymbolLayerV2 *layer)
 
 SymbolLayerItem (QgsSymbolV2 *symbol)
 
void setLayer (QgsSymbolLayerV2 *layer)
 
void setSymbol (QgsSymbolV2 *symbol)
 
void updatePreview ()
 
int type () const
 
bool isLayer ()
 
QgsSymbolV2symbol ()
 
QgsSymbolLayerV2layer ()
 
QVariant data (int role) const
 

Protected Attributes

QgsSymbolLayerV2mLayer
 
QgsSymbolV2mSymbol
 
bool mIsLayer
 

Constructor & Destructor Documentation

SymbolLayerItem::SymbolLayerItem ( QgsSymbolLayerV2 layer)
inline
SymbolLayerItem::SymbolLayerItem ( QgsSymbolV2 symbol)
inline

Member Function Documentation

QVariant SymbolLayerItem::data ( int  role) const
inline
bool SymbolLayerItem::isLayer ( )
inline
QgsSymbolLayerV2* SymbolLayerItem::layer ( )
inline
void SymbolLayerItem::setLayer ( QgsSymbolLayerV2 layer)
inline
void SymbolLayerItem::setSymbol ( QgsSymbolV2 symbol)
inline
QgsSymbolV2* SymbolLayerItem::symbol ( )
inline
int SymbolLayerItem::type ( ) const
inline
void SymbolLayerItem::updatePreview ( )
inline

Member Data Documentation

bool SymbolLayerItem::mIsLayer
protected
QgsSymbolLayerV2* SymbolLayerItem::mLayer
protected
QgsSymbolV2* SymbolLayerItem::mSymbol
protected

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