NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TreeItemModel Class Reference

#include <cxTreeItemModel.h>

Inheritance diagram for cx::TreeItemModel:

Public Slots

void update ()
 

Signals

void loaded ()
 
void currentItemChanged ()
 

Public Member Functions

 TreeItemModel (XmlOptionFile options, VisServicesPtr services, QObject *parent=0)
 
virtual ~TreeItemModel ()
 
void setSelectionModel (QItemSelectionModel *selectionModel)
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role)
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
virtual QModelIndex parent (const QModelIndex &index) const
 
TreeNodePtr getCurrentItem ()
 
TreeNodePtr getNodeFromIndex (const QModelIndex &index)
 
TreeRepositoryPtr repo ()
 
StringListPropertyPtr getShowColumnsProperty ()
 

Detailed Description

Definition at line 28 of file cxTreeItemModel.h.

Constructor & Destructor Documentation

cx::TreeItemModel::TreeItemModel ( XmlOptionFile  options,
VisServicesPtr  services,
QObject *  parent = 0 
)

Definition at line 24 of file cxTreeItemModel.cpp.

cx::TreeItemModel::~TreeItemModel ( )
virtual

Definition at line 122 of file cxTreeItemModel.cpp.

Member Function Documentation

int cx::TreeItemModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 157 of file cxTreeItemModel.cpp.

void cx::TreeItemModel::currentItemChanged ( )
signal
QVariant cx::TreeItemModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 172 of file cxTreeItemModel.cpp.

Qt::ItemFlags cx::TreeItemModel::flags ( const QModelIndex &  index) const
virtual

Definition at line 255 of file cxTreeItemModel.cpp.

TreeNodePtr cx::TreeItemModel::getCurrentItem ( )

Definition at line 135 of file cxTreeItemModel.cpp.

TreeNodePtr cx::TreeItemModel::getNodeFromIndex ( const QModelIndex &  index)

Definition at line 141 of file cxTreeItemModel.cpp.

StringListPropertyPtr cx::TreeItemModel::getShowColumnsProperty ( )
inline

Definition at line 50 of file cxTreeItemModel.h.

QVariant cx::TreeItemModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 275 of file cxTreeItemModel.cpp.

QModelIndex cx::TreeItemModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Definition at line 289 of file cxTreeItemModel.cpp.

void cx::TreeItemModel::loaded ( )
signal
QModelIndex cx::TreeItemModel::parent ( const QModelIndex &  index) const
virtual

Definition at line 303 of file cxTreeItemModel.cpp.

TreeRepositoryPtr cx::TreeItemModel::repo ( )
inline

Definition at line 49 of file cxTreeItemModel.h.

int cx::TreeItemModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 164 of file cxTreeItemModel.cpp.

bool cx::TreeItemModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
virtual

Definition at line 241 of file cxTreeItemModel.cpp.

void cx::TreeItemModel::setSelectionModel ( QItemSelectionModel *  selectionModel)

Definition at line 115 of file cxTreeItemModel.cpp.

void cx::TreeItemModel::update ( )
slot

Definition at line 50 of file cxTreeItemModel.cpp.


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