QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A model for displaying SVG files with a preview icon which can be filtered by file name. More...
#include <qgssvgselectorwidget.h>
Public Member Functions | |
QgsSvgSelectorFilterModel (QObject *parent, const QString &path=QString(), int iconSize=30) | |
Constructor for creating a model for SVG files in a specific path. | |
A model for displaying SVG files with a preview icon which can be filtered by file name.
Population of the model is performed in a background thread to ensure that initial creation of the model is responsive and does not block the GUI.
Definition at line 279 of file qgssvgselectorwidget.h.
QgsSvgSelectorFilterModel::QgsSvgSelectorFilterModel | ( | QObject * | parent, |
const QString & | path = QString() , |
||
int | iconSize = 30 |
||
) |
Constructor for creating a model for SVG files in a specific path.
parent | parent object |
path | initial path, which is recursively searched |
iconSize | desired size of SVG icons to create |
Definition at line 224 of file qgssvgselectorwidget.cpp.