MeVisLabToolboxReference
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

List of all members.

Public Member Functions

 ItemChildrenRequestEvent (const ModelIndex &parentIndex)
const ModelIndexparentIndex () const

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 151 of file mlStandardItemModel.h.


Constructor & Destructor Documentation

ml::ItemChildrenRequestEvent::ItemChildrenRequestEvent ( const ModelIndex parentIndex) [inline]

Definition at line 154 of file mlStandardItemModel.h.


Member Function Documentation

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

Definition at line 156 of file mlStandardItemModel.h.


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