QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
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. More... | |
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 281 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 223 of file qgssvgselectorwidget.cpp.