QGIS API Documentation  master-6227475
QgsCategorizedSymbolRendererV2Model Class Reference

#include <qgscategorizedsymbolrendererv2widget.h>

+ Collaboration diagram for QgsCategorizedSymbolRendererV2Model:

List of all members.

Signals

void rowsMoved ()

Public Member Functions

 QgsCategorizedSymbolRendererV2Model (QObject *parent=0)
void addCategory (const QgsRendererCategoryV2 &cat)
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

Private Attributes

QString mMimeFormat
QgsCategorizedSymbolRendererV2mRenderer

Detailed Description

Definition at line 28 of file qgscategorizedsymbolrendererv2widget.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Definition at line 174 of file qgscategorizedsymbolrendererv2widget.cpp.

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

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

Definition at line 158 of file qgscategorizedsymbolrendererv2widget.cpp.

References tr.

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

Definition at line 180 of file qgscategorizedsymbolrendererv2widget.cpp.

Referenced by mimeData().

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

Definition at line 202 of file qgscategorizedsymbolrendererv2widget.cpp.

References index(), and mMimeFormat.

Definition at line 195 of file qgscategorizedsymbolrendererv2widget.cpp.

References mMimeFormat.

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

Definition at line 189 of file qgscategorizedsymbolrendererv2widget.cpp.

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

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines