Skip to content

Class QfFeatureListModelSelection

ClassList > QfFeatureListModelSelection

Inherits the following classes: QObject

Public Properties

Type Name
property QgsFeature focusedFeature
property QgsGeometry focusedGeometry
property int focusedItem
property QgsVectorLayer * focusedLayer
property QfMultiFeatureListModel * model

Public Signals

Type Name
signal void focusedItemChanged
signal void modelChanged
signal void selectedFeaturesChanged

Public Functions

Type Name
QfFeatureListModelSelection (QObject * parent=nullptr)
Q_INVOKABLE void clear ()
QgsFeature focusedFeature () const
QgsGeometry focusedGeometry () const
int focusedItem () const
QgsVectorLayer * focusedLayer () const
QfMultiFeatureListModel * model () const
void setFocusedItem (int item)
void setModel (QfMultiFeatureListModel * model)
Q_INVOKABLE void toggleSelectedItem (int item)

Public Properties Documentation

property focusedFeature [1/2]

QgsFeature QfFeatureListModelSelection::focusedFeature;

property focusedGeometry [1/2]

QgsGeometry QfFeatureListModelSelection::focusedGeometry;

property focusedItem [1/2]

int QfFeatureListModelSelection::focusedItem;

property focusedLayer [1/2]

QgsVectorLayer * QfFeatureListModelSelection::focusedLayer;

property model [1/2]

QfMultiFeatureListModel * QfFeatureListModelSelection::model;

Public Signals Documentation

signal focusedItemChanged

void QfFeatureListModelSelection::focusedItemChanged;

signal modelChanged

void QfFeatureListModelSelection::modelChanged;

signal selectedFeaturesChanged

void QfFeatureListModelSelection::selectedFeaturesChanged;

Public Functions Documentation

function QfFeatureListModelSelection

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

function clear

Q_INVOKABLE void QfFeatureListModelSelection::clear () 

function focusedFeature [2/2]

QgsFeature QfFeatureListModelSelection::focusedFeature () const

function focusedGeometry [2/2]

QgsGeometry QfFeatureListModelSelection::focusedGeometry () const

function focusedItem [2/2]

int QfFeatureListModelSelection::focusedItem () const

function focusedLayer [2/2]

QgsVectorLayer * QfFeatureListModelSelection::focusedLayer () const

function model [2/2]

QfMultiFeatureListModel * QfFeatureListModelSelection::model () const

function setFocusedItem

void QfFeatureListModelSelection::setFocusedItem (
    int item
) 

function setModel

void QfFeatureListModelSelection::setModel (
    QfMultiFeatureListModel * model
) 

function toggleSelectedItem

Q_INVOKABLE void QfFeatureListModelSelection::toggleSelectedItem (
    int item
) 


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