Class: QgsFindFilesByPatternWidget

A reusable widget for finding files (recursively) by file pattern.

Added in version 3.8.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsFindFilesByPatternWidget

Base classes

QWidget

QObject

QPaintDevice

Methods

files

Returns the list of files found by the dialog.

Signals

findComplete

Emitted after files are found in the dialog.

class qgis.gui.QgsFindFilesByPatternWidget[source]

Bases: QWidget

__init__(parent: QWidget | None = None)

Constructor for QgsFindFilesByPatternWidget, with the specified parent widget.

Parameters:

parent (Optional[QWidget] = None)

files(self) List[str][source]

Returns the list of files found by the dialog. This may be empty if no matching files were found.

See also

findComplete()

Return type:

List[str]

signal findComplete(files: List[str])[source]

Emitted after files are found in the dialog.

The files argument contains a list of all matching files found. This may be empty if no matching files were found.

See also

files()

Parameters:

files (List[str])