Loading...
Searching...
No Matches
Device::NodeBasedItemModel Class Reference
Inheritance diagram for Device::NodeBasedItemModel:

Public Member Functions | |
QModelIndex | modelIndexFromNode (node_type &n, int column) const |
void | insertNode (node_type &parentNode, const node_type &other, int row) |
auto | removeNode (node_type::const_iterator node) |
![]() | |
virtual Device::Node & | rootNode ()=0 |
virtual const Device::Node & | rootNode () const=0 |
Device::Node & | nodeFromModelIndex (const QModelIndex &index) const |
QModelIndex | parent (const QModelIndex &index) const final override |
QModelIndex | index (int row, int column, const QModelIndex &parent) const final override |
int | rowCount (const QModelIndex &parent) const final override |
bool | hasChildren (const QModelIndex &parent) const final override |
![]() | |
template<typename F > | |
void | iterate (const QModelIndex &idx, const F &f) |
idx: should be the root index of the view | |
QModelIndex | convertPathToIndex (const TreePath &path) const |
Additional Inherited Members | |
![]() | |
using | node_type = Device::Node |
The documentation for this class was generated from the following files:
- NodeBasedItemModel.hpp
- NodeBasedItemModel.cpp