MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
ml::ItemChildrenRequestEvent Class Reference

This BaseEvent informs that the children of an item are requested for the first time. More...

#include <mlStandardItemModel.h>

Inheritance diagram for ml::ItemChildrenRequestEvent:
ml::ItemModelEvent ml::BaseEvent

Public Member Functions

 ItemChildrenRequestEvent (const ModelIndex &parentIndexArg)
 
const ModelIndex & parentIndex () const
 
- Public Member Functions inherited from ml::ItemModelEvent
 ItemModelEvent ()
 
AbstractItemModel * model () const
 
- Public Member Functions inherited from ml::BaseEvent
 BaseEvent ()
 
virtual ~BaseEvent ()
 
EventSource * source () const
 Returns the Base object emitting this event.
 

Detailed Description

This BaseEvent informs that the children of an item are requested for the first time.

This can be used to add the direct children of items dynamically when requested. The insertItems call will generate no notification for the parent given in this event (since its children haven't been requested up to now).

Definition at line 178 of file mlStandardItemModel.h.

Constructor & Destructor Documentation

◆ ItemChildrenRequestEvent()

ml::ItemChildrenRequestEvent::ItemChildrenRequestEvent ( const ModelIndex & parentIndexArg)
inline

Definition at line 181 of file mlStandardItemModel.h.

Member Function Documentation

◆ parentIndex()

const ModelIndex & ml::ItemChildrenRequestEvent::parentIndex ( ) const
inline

Definition at line 185 of file mlStandardItemModel.h.


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