GammaRay API Documentation
3.2.0
|
A RecursiveFilterProxyModel for ObjectIds. More...
#include <objectidfilterproxymodel.h>
Public Member Functions | |
ObjectIdsFilterProxyModel (QObject *parent=nullptr) | |
GammaRay::ObjectIds | ids () const |
void | setIds (const GammaRay::ObjectIds &ids) |
void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override |
Protected Member Functions | |
bool | filterAcceptsObjectId (const GammaRay::ObjectId &id) const |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
A RecursiveFilterProxyModel for ObjectIds.
Filter in and sort according to the objects list.
|
explicit |
Constructor.
parent | is the parent object for this instance. |
|
protected |
|
overrideprotected |
Determines if the item in the specified row can be included in the model.
source_row | is a non-zero integer representing the row of the item. |
source_parent | is the parent QModelIndex for this model. |