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. Layout view tools are user interactive tools for manipulating and adding items to QgsLayoutView widgets.

QObject

Methods

searchToleranceInLayoutUnits

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

setLayout

Sets the a layout.

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])