QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
SymbolLayerItem Class Reference

Public Member Functions

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

Protected Attributes

bool mIsLayer
QgsSymbolLayerV2mLayer
QgsSymbolV2mSymbol

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.

SymbolLayerItem::SymbolLayerItem ( QgsSymbolV2 symbol)
inline

Definition at line 58 of file qgssymbolv2selectordialog.cpp.

Member Function Documentation

QVariant SymbolLayerItem::data ( int  role) const
inlineoverride

Definition at line 110 of file qgssymbolv2selectordialog.cpp.

bool SymbolLayerItem::isLayer ( )
inline

Definition at line 93 of file qgssymbolv2selectordialog.cpp.

QgsSymbolLayerV2* SymbolLayerItem::layer ( )
inline

Definition at line 103 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::setLayer ( QgsSymbolLayerV2 layer)
inline

Definition at line 63 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::setSymbol ( QgsSymbolV2 symbol)
inline

Definition at line 71 of file qgssymbolv2selectordialog.cpp.

QgsSymbolV2* SymbolLayerItem::symbol ( )
inline

Definition at line 96 of file qgssymbolv2selectordialog.cpp.

int SymbolLayerItem::type ( ) const
inlineoverride

Definition at line 92 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::updatePreview ( )
inline

Definition at line 79 of file qgssymbolv2selectordialog.cpp.

Member Data Documentation

bool SymbolLayerItem::mIsLayer
protected

Definition at line 137 of file qgssymbolv2selectordialog.cpp.

QgsSymbolLayerV2* SymbolLayerItem::mLayer
protected

Definition at line 135 of file qgssymbolv2selectordialog.cpp.

QgsSymbolV2* SymbolLayerItem::mSymbol
protected

Definition at line 136 of file qgssymbolv2selectordialog.cpp.


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