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
QgsGraduatedSymbolRendererV2Model Class Reference

#include <qgsgraduatedsymbolrendererv2widget.h>

Inheritance diagram for QgsGraduatedSymbolRendererV2Model:
Inheritance graph
Collaboration diagram for QgsGraduatedSymbolRendererV2Model:
Collaboration graph


void rowsMoved ()

Public Member Functions

 QgsGraduatedSymbolRendererV2Model (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 (QgsGraduatedSymbolRendererV2 *renderer)
QgsRendererRangeV2 rendererRange (const QModelIndex &index)
void addClass (QgsSymbolV2 *symbol)
void addClass (QgsRendererRangeV2 range)
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 26 of file qgsgraduatedsymbolrendererv2widget.h.

Constructor & Destructor Documentation

QgsGraduatedSymbolRendererV2Model::QgsGraduatedSymbolRendererV2Model ( QObject *  parent = 0)

Definition at line 41 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsGraduatedSymbolRendererV2Model::addClass ( QgsSymbolV2 symbol)
void QgsGraduatedSymbolRendererV2Model::addClass ( QgsRendererRangeV2  range)
int QgsGraduatedSymbolRendererV2Model::columnCount ( const QModelIndex &  index = QModelIndex()) const

Definition at line 207 of file qgsgraduatedsymbolrendererv2widget.cpp.

QVariant QgsGraduatedSymbolRendererV2Model::data ( const QModelIndex &  index,
int  role 
) const
void QgsGraduatedSymbolRendererV2Model::deleteRows ( QList< int >  rows)
bool QgsGraduatedSymbolRendererV2Model::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
Qt::ItemFlags QgsGraduatedSymbolRendererV2Model::flags ( const QModelIndex &  index) const

Definition at line 94 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 188 of file qgsgraduatedsymbolrendererv2widget.cpp.

References tr.

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

Definition at line 213 of file qgsgraduatedsymbolrendererv2widget.cpp.

Referenced by mimeData().

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

Definition at line 235 of file qgsgraduatedsymbolrendererv2widget.cpp.

References index(), and mMimeFormat.

QStringList QgsGraduatedSymbolRendererV2Model::mimeTypes ( ) const

Definition at line 228 of file qgsgraduatedsymbolrendererv2widget.cpp.

References mMimeFormat.

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

Definition at line 222 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Model::removeAllRows ( )
QgsRendererRangeV2 QgsGraduatedSymbolRendererV2Model::rendererRange ( const QModelIndex &  index)
int QgsGraduatedSymbolRendererV2Model::rowCount ( const QModelIndex &  parent = QModelIndex()) const
void QgsGraduatedSymbolRendererV2Model::rowsMoved ( )

Referenced by dropMimeData().

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

Definition at line 111 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Data Documentation

QString QgsGraduatedSymbolRendererV2Model::mMimeFormat

Definition at line 58 of file qgsgraduatedsymbolrendererv2widget.h.

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

QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2Model::mRenderer

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