MeVisLab Toolbox Reference
ml::ItemChangedEvent Class Reference

This event tells us that the children of the item have changed completely (for an invalid ModelIndex this would mean everything has changed) More...

#include <mlAbstractItemModel.h>

Inheritance diagram for ml::ItemChangedEvent:
ml::TwoPhaseItemModelEvent ml::ItemModelEvent ml::BaseEvent

Public Member Functions

 ItemChangedEvent (const ModelIndex &index, bool after)
 
const ModelIndexindex () const
 
- Public Member Functions inherited from ml::TwoPhaseItemModelEvent
 TwoPhaseItemModelEvent (bool afterArg=false)
 
bool after () const
 
- Public Member Functions inherited from ml::ItemModelEvent
 ItemModelEvent ()
 
AbstractItemModelmodel () const
 
- Public Member Functions inherited from ml::BaseEvent
 BaseEvent ()
 
virtual ~BaseEvent ()
 
EventSourcesource () const
 get the Base object emitting this event More...
 

Detailed Description

This event tells us that the children of the item have changed completely (for an invalid ModelIndex this would mean everything has changed)

Definition at line 311 of file mlAbstractItemModel.h.

Constructor & Destructor Documentation

◆ ItemChangedEvent()

ml::ItemChangedEvent::ItemChangedEvent ( const ModelIndex index,
bool  after 
)

Member Function Documentation

◆ index()

const ModelIndex& ml::ItemChangedEvent::index ( ) const
inline

Definition at line 316 of file mlAbstractItemModel.h.


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