QGIS API Documentation  2.11.0-Master
Public Member Functions | Protected Attributes | List of all members
SymbolLayerItem Class Reference
Inheritance diagram for SymbolLayerItem:
Inheritance graph

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 ()
- Public Member Functions inherited from QStandardItem
 QStandardItem ()
 QStandardItem (const QString &text)
 QStandardItem (int rows, int columns)
 QStandardItem (const QIcon &icon, const QString &text)
virtual  ~QStandardItem ()
QString accessibleDescription () const
QString accessibleText () const
void appendColumn (const QList< QStandardItem * > &items)
void appendRow (const QList< QStandardItem * > &items)
void appendRow (QStandardItem *item)
void appendRows (const QList< QStandardItem * > &items)
QBrush background () const
Qt::CheckState checkState () const
QStandardItemchild (int row, int column) const
virtual QStandardItemclone () const
int column () const
int columnCount () const
Qt::ItemFlags flags () const
QFont font () const
QBrush foreground () const
bool hasChildren () const
QIcon icon () const
QModelIndex index () const
void insertColumn (int column, const QList< QStandardItem * > &items)
void insertColumns (int column, int count)
void insertRow (int row, QStandardItem *item)
void insertRow (int row, const QList< QStandardItem * > &items)
void insertRows (int row, const QList< QStandardItem * > &items)
void insertRows (int row, int count)
bool isCheckable () const
bool isDragEnabled () const
bool isDropEnabled () const
bool isEditable () const
bool isEnabled () const
bool isSelectable () const
bool isTristate () const
QStandardItemModelmodel () const
virtual bool operator< (const QStandardItem &other) const
QStandardItemparent () const
virtual void read (QDataStream &in)
void removeColumn (int column)
void removeColumns (int column, int count)
void removeRow (int row)
void removeRows (int row, int count)
int row () const
int rowCount () const
void setAccessibleDescription (const QString &accessibleDescription)
void setAccessibleText (const QString &accessibleText)
void setBackground (const QBrush &brush)
void setCheckable (bool checkable)
void setCheckState (Qt::CheckState state)
void setChild (int row, int column, QStandardItem *item)
void setChild (int row, QStandardItem *item)
void setColumnCount (int columns)
virtual void setData (const QVariant &value, int role)
void setDragEnabled (bool dragEnabled)
void setDropEnabled (bool dropEnabled)
void setEditable (bool editable)
void setEnabled (bool enabled)
void setFlags (QFlags< Qt::ItemFlag > flags)
void setFont (const QFont &font)
void setForeground (const QBrush &brush)
void setIcon (const QIcon &icon)
void setRowCount (int rows)
void setSelectable (bool selectable)
void setSizeHint (const QSize &size)
void setStatusTip (const QString &statusTip)
void setText (const QString &text)
void setTextAlignment (QFlags< Qt::AlignmentFlag > alignment)
void setToolTip (const QString &toolTip)
void setTristate (bool tristate)
void setWhatsThis (const QString &whatsThis)
QSize sizeHint () const
void sortChildren (int column, Qt::SortOrder order)
QString statusTip () const
QStandardItemtakeChild (int row, int column)
QList< QStandardItem * > takeColumn (int column)
QList< QStandardItem * > takeRow (int row)
QString text () const
Qt::Alignment textAlignment () const
QString toolTip () const
QString whatsThis () const
virtual void write (QDataStream &out) const

Protected Attributes

bool mIsLayer

Additional Inherited Members

- Protected Member Functions inherited from QStandardItem
 QStandardItem (const QStandardItem &other)
void emitDataChanged ()
QStandardItemoperator= (const QStandardItem &other)

Detailed Description

Definition at line 115 of file qgssymbolv2selectordialog.cpp.

Constructor & Destructor Documentation

SymbolLayerItem::SymbolLayerItem ( QgsSymbolLayerV2 layer)

Definition at line 118 of file qgssymbolv2selectordialog.cpp.

SymbolLayerItem::SymbolLayerItem ( QgsSymbolV2 symbol)

Definition at line 123 of file qgssymbolv2selectordialog.cpp.

Member Function Documentation

QVariant SymbolLayerItem::data ( int  role) const

Reimplemented from QStandardItem.

Definition at line 175 of file qgssymbolv2selectordialog.cpp.

bool SymbolLayerItem::isLayer ( )

Definition at line 158 of file qgssymbolv2selectordialog.cpp.

QgsSymbolLayerV2* SymbolLayerItem::layer ( )

Definition at line 168 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::setLayer ( QgsSymbolLayerV2 layer)

Definition at line 128 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::setSymbol ( QgsSymbolV2 symbol)

Definition at line 136 of file qgssymbolv2selectordialog.cpp.

QgsSymbolV2* SymbolLayerItem::symbol ( )

Definition at line 161 of file qgssymbolv2selectordialog.cpp.

int SymbolLayerItem::type ( ) const

Reimplemented from QStandardItem.

Definition at line 157 of file qgssymbolv2selectordialog.cpp.

void SymbolLayerItem::updatePreview ( )

Definition at line 144 of file qgssymbolv2selectordialog.cpp.

Member Data Documentation

bool SymbolLayerItem::mIsLayer

Definition at line 202 of file qgssymbolv2selectordialog.cpp.

QgsSymbolLayerV2* SymbolLayerItem::mLayer

Definition at line 200 of file qgssymbolv2selectordialog.cpp.

QgsSymbolV2* SymbolLayerItem::mSymbol

Definition at line 201 of file qgssymbolv2selectordialog.cpp.

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