QGIS API Documentation  master-59fd5e0
QgsGraduatedSymbolRendererV2Model Class Reference

#include <qgsgraduatedsymbolrendererv2widget.h>

+ Collaboration diagram for QgsGraduatedSymbolRendererV2Model:

List of all members.

Signals

void rowsMoved ()

Public Member Functions

 QgsGraduatedSymbolRendererV2Model (QObject *parent=0)
void addClass (QgsSymbolV2 *symbol)
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 (QgsGraduatedSymbolRendererV2 *renderer)
void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
Qt::DropActions supportedDropActions () const

Private Attributes

QString mMimeFormat
QgsGraduatedSymbolRendererV2mRenderer

Detailed Description

Definition at line 26 of file qgsgraduatedsymbolrendererv2widget.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Definition at line 161 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

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

Definition at line 145 of file qgsgraduatedsymbolrendererv2widget.cpp.

References tr.

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

Definition at line 167 of file qgsgraduatedsymbolrendererv2widget.cpp.

Referenced by mimeData().

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

Definition at line 189 of file qgsgraduatedsymbolrendererv2widget.cpp.

References index(), and mMimeFormat.

Definition at line 182 of file qgsgraduatedsymbolrendererv2widget.cpp.

References mMimeFormat.

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

Definition at line 176 of file qgsgraduatedsymbolrendererv2widget.cpp.

int QgsGraduatedSymbolRendererV2Model::rowCount ( const QModelIndex &  parent = QModelIndex()) const
bool QgsGraduatedSymbolRendererV2Model::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)

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