![]() |
LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
|
#include "flatitemsmodel.h"
Inheritance diagram for LC::Util::FlatItemsModel< T >:
Collaboration diagram for LC::Util::FlatItemsModel< T >:Protected Member Functions | |
| QVariant | GetData (int row, int col, int role) const override |
Protected Member Functions inherited from LC::Util::FlatItemsModelTypedBase< T > | |
| int | GetItemsCount () const override |
Additional Inherited Members | |
Public Member Functions inherited from LC::Util::FlatItemsModelTypedBase< T > | |
| void | SetItems (QVector< T > items) |
| const QVector< T > & | GetItems () const |
| void | AddItem (const T &item) |
| void | SetItem (int idx, const T &item) |
| template<typename F > | |
| void | EditItem (int idx, F &&editor) |
| void | RemoveItem (int idx) |
| FlatItemsModelBase (QStringList headers, QObject *=nullptr) | |
Public Member Functions inherited from LC::Util::FlatItemsModelBase | |
| FlatItemsModelBase (QStringList headers, QObject *=nullptr) | |
| int | columnCount (const QModelIndex &index={}) const override |
| QVariant | data (const QModelIndex &index, int role) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| QModelIndex | index (int row, int col, const QModelIndex &parent={}) const override |
| QModelIndex | parent (const QModelIndex &) const override |
| int | rowCount (const QModelIndex &parent={}) const override |
Static Public Attributes inherited from LC::Util::FlatItemsModelBase | |
| static constexpr auto | DataRole = Qt::UserRole |
Protected Attributes inherited from LC::Util::FlatItemsModelTypedBase< T > | |
| QVector< T > | Items_ |
Definition at line 164 of file flatitemsmodel.h.
|
inlineoverrideprotectedvirtual |
Implements LC::Util::FlatItemsModelBase.
Definition at line 169 of file flatitemsmodel.h.
References LC::Util::FlatItemsModelBase::DataRole, LC::Util::detail::GetField(), and LC::Util::FlatItemsModelTypedBase< T >::Items_.
Here is the call graph for this function: