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

#include <qgscategorizedsymbolrendererv2widget.h>

Signals

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 41 of file qgscategorizedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsCategorizedSymbolRendererV2Model::addCategory ( const QgsRendererCategoryV2 cat)

Definition at line 63 of file qgscategorizedsymbolrendererv2widget.cpp.

QgsRendererCategoryV2 QgsCategorizedSymbolRendererV2Model::category ( const QModelIndex &  index)

Definition at line 72 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 215 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 108 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 305 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 262 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 88 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 196 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 221 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 243 of file qgscategorizedsymbolrendererv2widget.cpp.

QStringList QgsCategorizedSymbolRendererV2Model::mimeTypes ( ) const
override

Definition at line 236 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 230 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::removeAllRows ( )

Definition at line 315 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 206 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 149 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::setRenderer ( QgsCategorizedSymbolRendererV2 renderer)

Definition at line 47 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 322 of file qgscategorizedsymbolrendererv2widget.cpp.

Qt::DropActions QgsCategorizedSymbolRendererV2Model::supportedDropActions ( ) const
override

Definition at line 103 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::updateSymbology ( )

Definition at line 341 of file qgscategorizedsymbolrendererv2widget.cpp.


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