Class: QgsLayoutViewToolSelect

Layout view tool for selecting items in the layout.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsLayoutViewToolSelect

Base classes

QgsLayoutViewTool

Abstract base class for all layout view tools.

QObject

class qgis.gui.QgsLayoutViewToolSelect[source]

Bases: QgsLayoutViewTool

__init__(view: QgsLayoutView | None)

Constructor for QgsLayoutViewToolSelect.

Parameters:

view (Optional[QgsLayoutView])

searchToleranceInLayoutUnits(self) float[source]

Compute the search tolerance in layout units from the view current scale

Added in version 3.34.

Return type:

float

setLayout(self, layout: QgsLayout | None)[source]

Sets the a layout.

Parameters:

layout (Optional[QgsLayout])