Skip to content

Class FeatureListExtentController

ClassList > FeatureListExtentController

Inherits the following classes: QObject

Public Slots

Type Name
slot QgsPoint getCentroidFromSelected
slot void zoomToSelected (bool skipIfIntersects=false)

Public Properties

Type Name
property bool autoZoom
property bool keepScale
property QgsQuickMapSettings * mapSettings
property MultiFeatureListModel * model
property FeatureListModelSelection * selection

Public Signals

Type Name
signal void autoZoomChanged
signal void featureFormStateRequested
signal void keepScaleChanged
signal void mapSettingsChanged
signal void modelChanged
signal void requestJumpToPoint (const QgsPoint & center, const double & scale=-1.0, bool handleMargins=false)
signal void selectionChanged

Public Functions

Type Name
FeatureListExtentController (QObject * parent=nullptr)
MultiFeatureListModel * model () const
Returns the feature list model.
void requestFeatureFormState ()
This will emit a signal to request a state change in the feature form.
FeatureListModelSelection * selection () const
Returns the selection of the feature list model.
~FeatureListExtentController ()

Public Properties Documentation

property autoZoom

bool FeatureListExtentController::autoZoom;

property keepScale

bool FeatureListExtentController::keepScale;

property mapSettings

QgsQuickMapSettings * FeatureListExtentController::mapSettings;

property model [1/2]

MultiFeatureListModel * FeatureListExtentController::model;

property selection [1/2]

FeatureListModelSelection * FeatureListExtentController::selection;

Public Slots Documentation

slot getCentroidFromSelected

QgsPoint FeatureListExtentController::getCentroidFromSelected;

slot zoomToSelected

void FeatureListExtentController::zoomToSelected;

zoom to the selected features. If skipIfIntersects is true, no change will be applied if bounding box intersects with canvas extent


Public Signals Documentation

signal autoZoomChanged

void FeatureListExtentController::autoZoomChanged;

signal featureFormStateRequested

void FeatureListExtentController::featureFormStateRequested;

signal keepScaleChanged

void FeatureListExtentController::keepScaleChanged;

signal mapSettingsChanged

void FeatureListExtentController::mapSettingsChanged;

signal modelChanged

void FeatureListExtentController::modelChanged;

signal requestJumpToPoint

void FeatureListExtentController::requestJumpToPoint;

signal selectionChanged

void FeatureListExtentController::selectionChanged;

Public Functions Documentation

function FeatureListExtentController

explicit FeatureListExtentController::FeatureListExtentController (
    QObject * parent=nullptr
) 

function model [2/2]

Returns the feature list model.

MultiFeatureListModel * FeatureListExtentController::model () const

function requestFeatureFormState

This will emit a signal to request a state change in the feature form.

void FeatureListExtentController::requestFeatureFormState () 

function selection [2/2]

Returns the selection of the feature list model.

FeatureListModelSelection * FeatureListExtentController::selection () const

function ~FeatureListExtentController

FeatureListExtentController::~FeatureListExtentController () 


The documentation for this class was generated from the following file src/core/featurelistextentcontroller.h