QGIS API Documentation  2.9.0-Master
Signals | Public Member Functions | List of all members
QgsCategorizedSymbolRendererV2Model Class Reference

#include <qgscategorizedsymbolrendererv2widget.h>

Inheritance diagram for QgsCategorizedSymbolRendererV2Model:
Inheritance graph


void rowsMoved ()

Public Member Functions

 QgsCategorizedSymbolRendererV2Model (QObject *parent=0)
void addCategory (const QgsRendererCategoryV2 &cat)
QgsRendererCategoryV2 category (const QModelIndex &index)
int columnCount (const QModelIndex &=QModelIndex()) const override
QVariant data (const QModelIndex &index, int role) const override
void deleteRows (QList< int > rows)
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
Qt::ItemFlags flags (const QModelIndex &index) const override
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
QMimeData * mimeData (const QModelIndexList &indexes) const override
QStringList mimeTypes () const override
QModelIndex parent (const QModelIndex &index) const override
void removeAllRows ()
int rowCount (const QModelIndex &parent=QModelIndex()) const override
bool setData (const QModelIndex &index, const QVariant &value, int role) override
void setRenderer (QgsCategorizedSymbolRendererV2 *renderer)
void sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override
Qt::DropActions supportedDropActions () const override
void updateSymbology ()

Detailed Description

Definition at line 28 of file qgscategorizedsymbolrendererv2widget.h.

Constructor & Destructor Documentation

QgsCategorizedSymbolRendererV2Model::QgsCategorizedSymbolRendererV2Model ( QObject *  parent = 0)

Definition at line 42 of file qgscategorizedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsCategorizedSymbolRendererV2Model::addCategory ( const QgsRendererCategoryV2 cat)

Definition at line 64 of file qgscategorizedsymbolrendererv2widget.cpp.

QgsRendererCategoryV2 QgsCategorizedSymbolRendererV2Model::category ( const QModelIndex &  index)

Definition at line 73 of file qgscategorizedsymbolrendererv2widget.cpp.

int QgsCategorizedSymbolRendererV2Model::columnCount ( const QModelIndex &  index = QModelIndex()) const

Definition at line 216 of file qgscategorizedsymbolrendererv2widget.cpp.

QVariant QgsCategorizedSymbolRendererV2Model::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 109 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::deleteRows ( QList< int >  rows)

Definition at line 306 of file qgscategorizedsymbolrendererv2widget.cpp.

bool QgsCategorizedSymbolRendererV2Model::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 

Definition at line 263 of file qgscategorizedsymbolrendererv2widget.cpp.

Qt::ItemFlags QgsCategorizedSymbolRendererV2Model::flags ( const QModelIndex &  index) const

Definition at line 89 of file qgscategorizedsymbolrendererv2widget.cpp.

QVariant QgsCategorizedSymbolRendererV2Model::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const

Definition at line 197 of file qgscategorizedsymbolrendererv2widget.cpp.

QModelIndex QgsCategorizedSymbolRendererV2Model::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 222 of file qgscategorizedsymbolrendererv2widget.cpp.

QMimeData * QgsCategorizedSymbolRendererV2Model::mimeData ( const QModelIndexList &  indexes) const

Definition at line 244 of file qgscategorizedsymbolrendererv2widget.cpp.

QStringList QgsCategorizedSymbolRendererV2Model::mimeTypes ( ) const

Definition at line 237 of file qgscategorizedsymbolrendererv2widget.cpp.

QModelIndex QgsCategorizedSymbolRendererV2Model::parent ( const QModelIndex &  index) const

Definition at line 231 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::removeAllRows ( )

Definition at line 316 of file qgscategorizedsymbolrendererv2widget.cpp.

int QgsCategorizedSymbolRendererV2Model::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 207 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::rowsMoved ( )
bool QgsCategorizedSymbolRendererV2Model::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 

Definition at line 150 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::setRenderer ( QgsCategorizedSymbolRendererV2 renderer)

Definition at line 48 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::sort ( int  column,
Qt::SortOrder  order = Qt::AscendingOrder 

Definition at line 323 of file qgscategorizedsymbolrendererv2widget.cpp.

Qt::DropActions QgsCategorizedSymbolRendererV2Model::supportedDropActions ( ) const

Definition at line 104 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::updateSymbology ( )

Definition at line 342 of file qgscategorizedsymbolrendererv2widget.cpp.

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