Skip to content

Class QfFeatureListExtentController

ClassList > QfFeatureListExtentController

Inherits the following classes: QObject

Public Slots

Type Name
slot QgsPoint getCentroidFromSelected
slot void zoomToAllFeatures
Zoom to the combined extent of all features in the model.
slot void zoomToSelected (bool skipIfIntersects=false)

Public Properties

Type Name
property bool autoZoom
property bool keepScale
property QgsQuickMapSettings * mapSettings
property QfMultiFeatureListModel * model
property QfFeatureListModelSelection * 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
QfFeatureListExtentController (QObject * parent=nullptr)
QfMultiFeatureListModel * model () const
Returns the feature list model.
void requestFeatureFormState ()
This will emit a signal to request a state change in the feature form.
QfFeatureListModelSelection * selection () const
Returns the selection of the feature list model.
~QfFeatureListExtentController ()

Public Properties Documentation

property autoZoom

bool QfFeatureListExtentController::autoZoom;

property keepScale

bool QfFeatureListExtentController::keepScale;

property mapSettings

QgsQuickMapSettings * QfFeatureListExtentController::mapSettings;

property model [1/2]

QfMultiFeatureListModel * QfFeatureListExtentController::model;

property selection [1/2]

QfFeatureListModelSelection * QfFeatureListExtentController::selection;

Public Slots Documentation

slot getCentroidFromSelected

QgsPoint QfFeatureListExtentController::getCentroidFromSelected;

slot zoomToAllFeatures

Zoom to the combined extent of all features in the model.

void QfFeatureListExtentController::zoomToAllFeatures;


slot zoomToSelected

void QfFeatureListExtentController::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 QfFeatureListExtentController::autoZoomChanged;

signal featureFormStateRequested

void QfFeatureListExtentController::featureFormStateRequested;

signal keepScaleChanged

void QfFeatureListExtentController::keepScaleChanged;

signal mapSettingsChanged

void QfFeatureListExtentController::mapSettingsChanged;

signal modelChanged

void QfFeatureListExtentController::modelChanged;

signal requestJumpToPoint

void QfFeatureListExtentController::requestJumpToPoint;

signal selectionChanged

void QfFeatureListExtentController::selectionChanged;

Public Functions Documentation

function QfFeatureListExtentController

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

function model [2/2]

Returns the feature list model.

QfMultiFeatureListModel * QfFeatureListExtentController::model () const


function requestFeatureFormState

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

void QfFeatureListExtentController::requestFeatureFormState () 


function selection [2/2]

Returns the selection of the feature list model.

QfFeatureListModelSelection * QfFeatureListExtentController::selection () const


function ~QfFeatureListExtentController

QfFeatureListExtentController::~QfFeatureListExtentController () 


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