LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::SelectionProxyModel< Id > Class Template Reference

#include "selectionproxymodel.h"

+ Inheritance diagram for LC::Util::SelectionProxyModel< Id >:
+ Collaboration diagram for LC::Util::SelectionProxyModel< Id >:

Classes

struct  Config
 

Public Member Functions

 SelectionProxyModel (QAbstractItemModel &source, const Config &config, QObject *parent=nullptr)
 
int GetIsSelectedRole () const
 
void SetSelections (const QSet< Id > &selections)
 
QVariant data (const QModelIndex &index, int role) const override
 

Detailed Description

template<typename Id>
class LC::Util::SelectionProxyModel< Id >

Definition at line 16 of file selectionproxymodel.h.

Constructor & Destructor Documentation

◆ SelectionProxyModel()

template<typename Id>
LC::Util::SelectionProxyModel< Id >::SelectionProxyModel ( QAbstractItemModel & source,
const Config & config,
QObject * parent = nullptr )
inlineexplicit

Definition at line 30 of file selectionproxymodel.h.

Member Function Documentation

◆ data()

template<typename Id>
QVariant LC::Util::SelectionProxyModel< Id >::data ( const QModelIndex & index,
int role ) const
inlineoverride

Definition at line 52 of file selectionproxymodel.h.

◆ GetIsSelectedRole()

template<typename Id>
int LC::Util::SelectionProxyModel< Id >::GetIsSelectedRole ( ) const
inline

Definition at line 37 of file selectionproxymodel.h.

◆ SetSelections()

template<typename Id>
void LC::Util::SelectionProxyModel< Id >::SetSelections ( const QSet< Id > & selections)
inline

Definition at line 42 of file selectionproxymodel.h.


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