Relacs  0.9.8
Public Slots | Public Member Functions | List of all members
DataOverviewModel Class Reference

#include <databrowser.h>

Inheritance diagram for DataOverviewModel:
Inheritance graph
[legend]
Collaboration diagram for DataOverviewModel:
Collaboration graph
[legend]

Public Slots

void setDescription (const QModelIndex &index)
 
void setDescription (const QModelIndex &currrent, const QModelIndex &previous)
 

Public Member Functions

 DataOverviewModel (QObject *parent=0)
 
void setDataIndex (DataIndex *data)
 
void setTreeView (QTreeView *view)
 
void setBrowser (DataBrowser *browser)
 
QVariant data (const QModelIndex &index, int role) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &index) const
 
bool hasChildren (const QModelIndex &parent=QModelIndex()) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
bool canFetchMore (const QModelIndex &parent) const
 
void fetchMore (const QModelIndex &parent)
 
void beginAddChild (DataIndex::DataItem *parent)
 
void endAddChild (DataIndex::DataItem *parent)
 
void endAddChild (void)
 
void beginPopChild (DataIndex::DataItem *parent)
 
void endPopChild (DataIndex::DataItem *parent)
 

Detailed Description

The model for viewing an overview of the data of an DataIndex.

Author
Jan Benda

Constructor & Destructor Documentation

DataOverviewModel ( QObject *  parent = 0)

Member Function Documentation

void setDataIndex ( DataIndex data)
void setTreeView ( QTreeView *  view)
void setBrowser ( DataBrowser browser)
QVariant data ( const QModelIndex &  index,
int  role 
) const
Qt::ItemFlags flags ( const QModelIndex &  index) const
QVariant headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
QModelIndex parent ( const QModelIndex &  index) const
bool hasChildren ( const QModelIndex &  parent = QModelIndex()) const
int rowCount ( const QModelIndex &  parent = QModelIndex()) const
int columnCount ( const QModelIndex &  parent = QModelIndex()) const
bool canFetchMore ( const QModelIndex &  parent) const
void fetchMore ( const QModelIndex &  parent)
void beginAddChild ( DataIndex::DataItem parent)
void endAddChild ( DataIndex::DataItem parent)
void endAddChild ( void  )
void beginPopChild ( DataIndex::DataItem parent)
void endPopChild ( DataIndex::DataItem parent)
void setDescription ( const QModelIndex &  index)
slot
void setDescription ( const QModelIndex &  currrent,
const QModelIndex &  previous 
)
slot

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