FilterableTreeModelSortFilterProxyModel Class Reference

Model of the FilterableTreeView. More...

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/filterabletreemodelsortfilterproxymodel.h>

+ Inheritance diagram for FilterableTreeModelSortFilterProxyModel:

Public Member Functions

QVariant data (const QModelIndex &proxy_index, int role) const override
 Returns the data stored at the specified location, based on the given role. More...
 
 FilterableTreeModelSortFilterProxyModel ()
 Constructor that registers the used meta-types. More...
 
bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 Returns whether the filter accepts a row. More...
 

Detailed Description

Model of the FilterableTreeView.

Definition at line 41 of file filterabletreemodelsortfilterproxymodel.h.

Constructor & Destructor Documentation

◆ FilterableTreeModelSortFilterProxyModel()

Constructor that registers the used meta-types.

Definition at line 34 of file filterabletreemodelsortfilterproxymodel.cpp.

Member Function Documentation

◆ data()

QVariant data ( const QModelIndex &  proxy_index,
int  role 
) const
override

Returns the data stored at the specified location, based on the given role.

Parameters
proxy_indexModel-Index of the item
roledescribes what kind of data is requested

Definition at line 42 of file filterabletreemodelsortfilterproxymodel.cpp.

◆ filterAcceptsRow()

bool filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
override

Returns whether the filter accepts a row.

Parameters
sourceRowindex of the row
sourceParentindex of the parent

Definition at line 68 of file filterabletreemodelsortfilterproxymodel.cpp.


The documentation for this class was generated from the following files: