QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsSvgSelectorFilterModel Class Reference

A model for displaying SVG files with a preview icon which can be filtered by file name. More...

#include <qgssvgselectorwidget.h>

Inheritance diagram for QgsSvgSelectorFilterModel:
Inheritance graph
[legend]

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.
 

Detailed Description

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.

Since
QGIS 3.20

Definition at line 279 of file qgssvgselectorwidget.h.

Constructor & Destructor Documentation

◆ QgsSvgSelectorFilterModel()

QgsSvgSelectorFilterModel::QgsSvgSelectorFilterModel ( QObject *  parent,
const QString &  path = QString(),
int  iconSize = 30 
)

Constructor for creating a model for SVG files in a specific path.

Parameters
parentparent object
pathinitial path, which is recursively searched
iconSizedesired size of SVG icons to create

Definition at line 224 of file qgssvgselectorwidget.cpp.


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