ctkDICOMModel Class Reference

#include <Libs/DICOM/Core/ctkDICOMModel.h>

List of all members.

Public Member Functions

virtual bool canFetchMore (const QModelIndex &parent) const
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 ctkDICOMModel (QObject *parent=0)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual void fetchMore (const QModelIndex &parent)
virtual Qt::ItemFlags flags (const QModelIndex &index) const
virtual bool hasChildren (const QModelIndex &parent=QModelIndex()) 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
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
void setDatabase (const QSqlDatabase &dataBase)
virtual bool setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole)
virtual void sort (int column, Qt::SortOrder order=Qt::AscendingOrder)
virtual ~ctkDICOMModel ()

Private Member Functions


Detailed Description

Definition at line 34 of file ctkDICOMModel.h.

Constructor & Destructor Documentation

ctkDICOMModel::ctkDICOMModel ( QObject *  parent = 0  )  [explicit]

Definition at line 351 of file ctkDICOMModel.cpp.

ctkDICOMModel::~ctkDICOMModel (  )  [virtual]

Definition at line 358 of file ctkDICOMModel.cpp.

Member Function Documentation

bool ctkDICOMModel::canFetchMore ( const QModelIndex &  parent  )  const [virtual]

Definition at line 363 of file ctkDICOMModel.cpp.

int ctkDICOMModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 371 of file ctkDICOMModel.cpp.

ctkDICOMModel::CTK_DECLARE_PRIVATE ( ctkDICOMModel   )  [private]
QVariant ctkDICOMModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 379 of file ctkDICOMModel.cpp.

void ctkDICOMModel::fetchMore ( const QModelIndex &  parent  )  [virtual]

Definition at line 409 of file ctkDICOMModel.cpp.

Qt::ItemFlags ctkDICOMModel::flags ( const QModelIndex &  index  )  const [virtual]

Definition at line 417 of file ctkDICOMModel.cpp.

bool ctkDICOMModel::hasChildren ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 423 of file ctkDICOMModel.cpp.

QVariant ctkDICOMModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 444 of file ctkDICOMModel.cpp.

QModelIndex ctkDICOMModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const [virtual]

Definition at line 462 of file ctkDICOMModel.cpp.

QModelIndex ctkDICOMModel::parent ( const QModelIndex &  index  )  const [virtual]

Definition at line 489 of file ctkDICOMModel.cpp.

int ctkDICOMModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 522 of file ctkDICOMModel.cpp.

void ctkDICOMModel::setDatabase ( const QSqlDatabase &  dataBase  ) 

Definition at line 539 of file ctkDICOMModel.cpp.

bool ctkDICOMModel::setHeaderData ( int  section,
Qt::Orientation  orientation,
const QVariant &  value,
int  role = Qt::EditRole 
) [virtual]

Definition at line 604 of file ctkDICOMModel.cpp.

void ctkDICOMModel::sort ( int  column,
Qt::SortOrder  order = Qt::AscendingOrder 
) [virtual]

Definition at line 574 of file ctkDICOMModel.cpp.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1