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

#include <qgscategorizedsymbolrendererv2widget.h>

Inheritance diagram for QgsCategorizedSymbolRendererV2Model:
Inheritance graph
Collaboration diagram for QgsCategorizedSymbolRendererV2Model:
Collaboration graph


void rowsMoved ()

Public Member Functions

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

Private Attributes

QString mMimeFormat

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)
QgsRendererCategoryV2 QgsCategorizedSymbolRendererV2Model::category ( const QModelIndex &  index)
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
void QgsCategorizedSymbolRendererV2Model::deleteRows ( QList< int >  rows)
bool QgsCategorizedSymbolRendererV2Model::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
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.

References tr.

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

Definition at line 221 of file qgscategorizedsymbolrendererv2widget.cpp.

Referenced by mimeData().

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

Definition at line 243 of file qgscategorizedsymbolrendererv2widget.cpp.

References index(), and mMimeFormat.

QStringList QgsCategorizedSymbolRendererV2Model::mimeTypes ( ) const

Definition at line 236 of file qgscategorizedsymbolrendererv2widget.cpp.

References mMimeFormat.

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

Definition at line 230 of file qgscategorizedsymbolrendererv2widget.cpp.

void QgsCategorizedSymbolRendererV2Model::removeAllRows ( )
int QgsCategorizedSymbolRendererV2Model::rowCount ( const QModelIndex &  parent = QModelIndex()) const
void QgsCategorizedSymbolRendererV2Model::rowsMoved ( )

Referenced by dropMimeData().

bool QgsCategorizedSymbolRendererV2Model::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
void QgsCategorizedSymbolRendererV2Model::setRenderer ( QgsCategorizedSymbolRendererV2 renderer)
void QgsCategorizedSymbolRendererV2Model::sort ( int  column,
Qt::SortOrder  order = Qt::AscendingOrder 
Qt::DropActions QgsCategorizedSymbolRendererV2Model::supportedDropActions ( ) const

Definition at line 103 of file qgscategorizedsymbolrendererv2widget.cpp.

Member Data Documentation

QString QgsCategorizedSymbolRendererV2Model::mMimeFormat

Definition at line 59 of file qgscategorizedsymbolrendererv2widget.h.

Referenced by dropMimeData(), mimeData(), and mimeTypes().

QgsCategorizedSymbolRendererV2* QgsCategorizedSymbolRendererV2Model::mRenderer

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