QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Signals | Public Member Functions | List of all members
QgsCategorizedSymbolRendererV2Model Class Reference

#include <qgscategorizedsymbolrendererv2widget.h>

Inheritance diagram for QgsCategorizedSymbolRendererV2Model:
Inheritance graph
[legend]

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
 
QVariant data (const QModelIndex &index, int role) const
 
void deleteRows (QList< int > rows)
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QMimeData * mimeData (const QModelIndexList &indexes) const
 
QStringList mimeTypes () const
 
QModelIndex parent (const QModelIndex &index) const
 
void removeAllRows ()
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role)
 
void setRenderer (QgsCategorizedSymbolRendererV2 *renderer)
 
void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
 
Qt::DropActions supportedDropActions () const
 
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

Definition at line 215 of file qgscategorizedsymbolrendererv2widget.cpp.

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

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 
)

Definition at line 262 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 88 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 196 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 221 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Definition at line 243 of file qgscategorizedsymbolrendererv2widget.cpp.

QStringList QgsCategorizedSymbolRendererV2Model::mimeTypes ( ) const

Definition at line 236 of file qgscategorizedsymbolrendererv2widget.cpp.

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

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

Definition at line 206 of file qgscategorizedsymbolrendererv2widget.cpp.

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

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 
)

Definition at line 322 of file qgscategorizedsymbolrendererv2widget.cpp.

Qt::DropActions QgsCategorizedSymbolRendererV2Model::supportedDropActions ( ) const

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: