QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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 223 of file qgssvgselectorwidget.cpp.


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