Device::NodeBasedItemModel Class Reference
Inheritance diagram for Device::NodeBasedItemModel:
TreeNodeBasedItemModel< Device::Node > TreeModel Explorer::DeviceExplorerModel

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)
 
- Public Member Functions inherited from TreeNodeBasedItemModel< Device::Node >
virtual Device::NoderootNode ()=0
 
virtual const Device::NoderootNode () const=0
 
Device::NodenodeFromModelIndex (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
 
- Public Member Functions inherited from TreeModel
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

- Public Types inherited from TreeNodeBasedItemModel< Device::Node >
using node_type = Device::Node
 

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