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

Detailed Description

Definition at line 50 of file qgssymbolv2selectordialog.cpp.

Constructor & Destructor Documentation

SymbolLayerItem::SymbolLayerItem ( QgsSymbolLayerV2 layer)
inline

Definition at line 53 of file qgssymbolv2selectordialog.cpp.

References setLayer().

SymbolLayerItem::SymbolLayerItem ( QgsSymbolV2 symbol)
inline

Definition at line 58 of file qgssymbolv2selectordialog.cpp.

References setSymbol().

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

Definition at line 71 of file qgssymbolv2selectordialog.cpp.

References mIsLayer, mLayer, mSymbol, symbol(), and updatePreview().

Referenced by SymbolLayerItem().

QgsSymbolV2* SymbolLayerItem::symbol ( )
inline
int SymbolLayerItem::type ( ) const
inline

Definition at line 92 of file qgssymbolv2selectordialog.cpp.

References SymbolLayerItemType.

void SymbolLayerItem::updatePreview ( )
inline

Member Data Documentation

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

Definition at line 135 of file qgssymbolv2selectordialog.cpp.

Referenced by data(), layer(), setLayer(), setSymbol(), and updatePreview().

QgsSymbolV2* SymbolLayerItem::mSymbol
protected

Definition at line 136 of file qgssymbolv2selectordialog.cpp.

Referenced by data(), setLayer(), setSymbol(), symbol(), and updatePreview().


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