Class: QgsSvgSelectorDialog

A dialog for selection of an SVG file.

QgsSvgSelectorDialog

QgsSvgSelectorDialog

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSvgSelectorDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

svgSelector

Returns pointer to the embedded SVG selector widget

class qgis.gui.QgsSvgSelectorDialog[source]

Bases: QDialog

__init__(parent: QWidget | None = None, fl: Qt.WindowFlags | Qt.WindowType = QgsGuiUtils.ModalDialogFlags, buttons: QDialogButtonBox.StandardButtons | QDialogButtonBox.StandardButton = QDialogButtonBox.Close | QDialogButtonBox.Ok, orientation: Qt.Orientation = Qt.Horizontal)

Constructor for QgsSvgSelectorDialog.

Parameters:
  • parent (Optional[QWidget] = None)

  • fl (Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags)

  • buttons (Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton] = QDialogButtonBox.Close|QDialogButtonBox.Ok)

  • orientation (Qt.Orientation = Qt.Horizontal)

svgSelector(self) QgsSvgSelectorWidget | None[source]

Returns pointer to the embedded SVG selector widget

Return type:

Optional[QgsSvgSelectorWidget]