MeVisLab Scripting Reference
ModelIndexWrapper Class Reference

#include <mlAbstractItemModelWrapper.h>

Inherits QObject.

Public Slots

bool isValid () const
 

Detailed Description

This class represents an abstract index into an item model (pointing at an item in model). It is used by AbstractItemModelWrapper and StandardItemModelWrapper.

Please don't store objects of this class for a longer time, since they get invalid when their model item gets removed.

Member Function Documentation

◆ isValid

bool ModelIndexWrapper::isValid ( ) const
inlineslot

Returns false if the index got invalid through some operation