QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
QgsSvgSelectorListModel Class Reference

#include <qgssvgselectorwidget.h>

Inheritance diagram for QgsSvgSelectorListModel:
Inheritance graph
[legend]
Collaboration diagram for QgsSvgSelectorListModel:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

QStringList mSvgFiles
 

Detailed Description

Definition at line 38 of file qgssvgselectorwidget.h.

Constructor & Destructor Documentation

QgsSvgSelectorListModel::QgsSvgSelectorListModel ( QObject *  parent)

Definition at line 38 of file qgssvgselectorwidget.cpp.

References QgsSymbolLayerV2Utils::listSvgFiles(), and mSvgFiles.

QgsSvgSelectorListModel::QgsSvgSelectorListModel ( QObject *  parent,
QString  path 
)

Definition at line 45 of file qgssvgselectorwidget.cpp.

References QgsSymbolLayerV2Utils::listSvgFilesAt(), and mSvgFiles.

Member Function Documentation

QVariant QgsSvgSelectorListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
int QgsSvgSelectorListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 51 of file qgssvgselectorwidget.cpp.

References mSvgFiles.

Member Data Documentation

QStringList QgsSvgSelectorListModel::mSvgFiles
protected

Definition at line 51 of file qgssvgselectorwidget.h.

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


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