|
QGIS API Documentation
master-59fd5e0
|
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 |
Definition at line 756 of file qgssymbollayerv2widget.cpp.
| 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] |
Definition at line 765 of file qgssymbollayerv2widget.cpp.
References QgsSymbolLayerV2Utils::listSvgFilesAt(), and mSvgFiles.
| QVariant QgsSvgListModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const [inline] |
Definition at line 776 of file qgssymbollayerv2widget.cpp.
References QgsSvgCache::containsParams(), fill, QgsSvgCache::instance(), mSvgFiles, outline, outlineWidth, and QgsSvgCache::svgAsImage().
| int QgsSvgListModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const [inline] |
Definition at line 770 of file qgssymbollayerv2widget.cpp.
References mSvgFiles.
QStringList QgsSvgListModel::mSvgFiles [protected] |
Definition at line 808 of file qgssymbollayerv2widget.cpp.
Referenced by data(), QgsSvgListModel(), and rowCount().