Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SUIT_AbstractModel Class Referenceabstract

#include <SUIT_TreeModel.h>

Inheritance diagram for SUIT_AbstractModel:
Inheritance graph

Public Member Functions

 SUIT_AbstractModel ()
 
 operator const QAbstractItemModel * () const
 
 operator QAbstractItemModel * ()
 
 operator const QObject * () const
 
virtual SUIT_DataObjectroot () const =0
 
virtual void setRoot (SUIT_DataObject *)=0
 
virtual SUIT_DataObjectobject (const QModelIndex &=QModelIndex()) const =0
 
virtual QModelIndex index (const SUIT_DataObject *, int=0) const =0
 
virtual bool autoDeleteTree () const =0
 
virtual void setAutoDeleteTree (const bool)=0
 
virtual bool autoUpdate () const =0
 
virtual void setAutoUpdate (const bool)=0
 
virtual bool updateModified () const =0
 
virtual void setUpdateModified (const bool)=0
 
virtual QAbstractItemDelegate * delegate () const =0
 
virtual bool customSorting (const int) const =0
 
virtual bool lessThan (const QModelIndex &left, const QModelIndex &right) const =0
 
virtual void forgetObject (const SUIT_DataObject *)=0
 
virtual void updateTree (const QModelIndex &)=0
 
virtual void updateTree (SUIT_DataObject *=0)=0
 
virtual void registerColumn (const int group_id, const QString &name, const int custom_id)=0
 
virtual void unregisterColumn (const int group_id, const QString &name)=0
 
virtual void setColumnIcon (const QString &name, const QPixmap &icon)=0
 
virtual QPixmap columnIcon (const QString &name) const =0
 
virtual void setAppropriate (const QString &name, const Qtx::Appropriate appr)=0
 
virtual Qtx::Appropriate appropriate (const QString &name) const =0
 
virtual void setVisibilityState (const QString &id, Qtx::VisibilityState state, bool emitChanged=true)=0
 
virtual void setVisibilityStateForAll (Qtx::VisibilityState state)=0
 
virtual Qtx::VisibilityState visibilityState (const QString &id) const =0
 
virtual void setHeaderFlags (const QString &name, const Qtx::HeaderViewFlags flags)=0
 
virtual Qtx::HeaderViewFlags headerFlags (const QString &name) const =0
 
virtual void emitClicked (SUIT_DataObject *obj, const QModelIndex &index)=0
 
virtual SUIT_DataSearchersearcher () const
 
virtual void setSearcher (SUIT_DataSearcher *)
 

Private Attributes

SUIT_DataSearchermySearcher
 

Constructor & Destructor Documentation

SUIT_AbstractModel::SUIT_AbstractModel ( )

Member Function Documentation

virtual Qtx::Appropriate SUIT_AbstractModel::appropriate ( const QString &  name) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual bool SUIT_AbstractModel::autoDeleteTree ( ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual bool SUIT_AbstractModel::autoUpdate ( ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual QPixmap SUIT_AbstractModel::columnIcon ( const QString &  name) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual bool SUIT_AbstractModel::customSorting ( const int  ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual QAbstractItemDelegate* SUIT_AbstractModel::delegate ( ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::emitClicked ( SUIT_DataObject obj,
const QModelIndex &  index 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::forgetObject ( const SUIT_DataObject )
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual Qtx::HeaderViewFlags SUIT_AbstractModel::headerFlags ( const QString &  name) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual QModelIndex SUIT_AbstractModel::index ( const SUIT_DataObject ,
int  = 0 
) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual bool SUIT_AbstractModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual SUIT_DataObject* SUIT_AbstractModel::object ( const QModelIndex &  = QModelIndex()) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

SUIT_AbstractModel::operator const QAbstractItemModel * ( ) const
SUIT_AbstractModel::operator const QObject * ( ) const
SUIT_AbstractModel::operator QAbstractItemModel * ( )
virtual void SUIT_AbstractModel::registerColumn ( const int  group_id,
const QString &  name,
const int  custom_id 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual SUIT_DataObject* SUIT_AbstractModel::root ( ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

SUIT_DataSearcher * SUIT_AbstractModel::searcher ( ) const
virtual

Reimplemented in SUIT_ProxyModel.

References mySearcher.

virtual void SUIT_AbstractModel::setAppropriate ( const QString &  name,
const Qtx::Appropriate  appr 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setAutoDeleteTree ( const bool  )
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setAutoUpdate ( const bool  )
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setColumnIcon ( const QString &  name,
const QPixmap &  icon 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setHeaderFlags ( const QString &  name,
const Qtx::HeaderViewFlags  flags 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setRoot ( SUIT_DataObject )
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

void SUIT_AbstractModel::setSearcher ( SUIT_DataSearcher s)
virtual

Reimplemented in SUIT_ProxyModel.

References mySearcher, and s.

virtual void SUIT_AbstractModel::setUpdateModified ( const bool  )
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setVisibilityState ( const QString &  id,
Qtx::VisibilityState  state,
bool  emitChanged = true 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::setVisibilityStateForAll ( Qtx::VisibilityState  state)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::unregisterColumn ( const int  group_id,
const QString &  name 
)
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual bool SUIT_AbstractModel::updateModified ( ) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

virtual void SUIT_AbstractModel::updateTree ( const QModelIndex &  )
pure virtual
virtual void SUIT_AbstractModel::updateTree ( SUIT_DataObject = 0)
pure virtual
virtual Qtx::VisibilityState SUIT_AbstractModel::visibilityState ( const QString &  id) const
pure virtual

Implemented in SUIT_ProxyModel, and SUIT_TreeModel.

Member Data Documentation

SUIT_DataSearcher* SUIT_AbstractModel::mySearcher
private

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