QGIS API Documentation  master-59fd5e0
QgsSvgListModel Class Reference

List of all members.

Public Member Functions

 QgsSvgListModel (QObject *parent)
 QgsSvgListModel (QObject *parent, QString path)
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
int rowCount (const QModelIndex &parent=QModelIndex()) const

Protected Attributes

QStringList mSvgFiles

Detailed Description

Definition at line 756 of file qgssymbollayerv2widget.cpp.


Constructor & Destructor Documentation

QgsSvgListModel::QgsSvgListModel ( QObject *  parent) [inline]

Definition at line 759 of file qgssymbollayerv2widget.cpp.

References QgsSymbolLayerV2Utils::listSvgFiles(), and mSvgFiles.

QgsSvgListModel::QgsSvgListModel ( QObject *  parent,
QString  path 
) [inline]

Member Function Documentation

QVariant QgsSvgListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [inline]
int QgsSvgListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const [inline]

Definition at line 770 of file qgssymbollayerv2widget.cpp.

References mSvgFiles.


Member Data Documentation

QStringList QgsSvgListModel::mSvgFiles [protected]

Definition at line 808 of file qgssymbollayerv2widget.cpp.

Referenced by data(), QgsSvgListModel(), and rowCount().


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