Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkXnatTreeModel Class Reference

#include <QmitkXnatTreeModel.h>

Inheritance diagram for QmitkXnatTreeModel:
Collaboration diagram for QmitkXnatTreeModel:

Signals

void Error (const QModelIndex &idx)
 
void ResourceDropped (const QList< mitk::DataNode * > &, ctkXnatObject *, const QModelIndex &)
 

Public Member Functions

 QmitkXnatTreeModel ()
 
virtual QVariant data (const QModelIndex &index, int role) const
 
virtual bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
virtual Qt::DropActions supportedDropActions ()
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
ctkXnatObject * GetXnatObjectFromUrl (const QString &)
 
void fetchMore (const QModelIndex &index) override
 
QModelIndexList match (const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags) const override
 

Detailed Description

Definition at line 31 of file QmitkXnatTreeModel.h.

Constructor & Destructor Documentation

QmitkXnatTreeModel::QmitkXnatTreeModel ( )

Definition at line 37 of file QmitkXnatTreeModel.cpp.

Member Function Documentation

QVariant QmitkXnatTreeModel::data ( const QModelIndex &  index,
int  role 
) const
virtual

Definition at line 132 of file QmitkXnatTreeModel.cpp.

Referenced by match().

bool QmitkXnatTreeModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
virtual
void QmitkXnatTreeModel::Error ( const QModelIndex &  idx)
signal

Referenced by fetchMore().

void QmitkXnatTreeModel::fetchMore ( const QModelIndex &  index)
override
Qt::ItemFlags QmitkXnatTreeModel::flags ( const QModelIndex &  index) const
virtual

Definition at line 209 of file QmitkXnatTreeModel.cpp.

ctkXnatObject * QmitkXnatTreeModel::GetXnatObjectFromUrl ( const QString &  url)
QModelIndexList QmitkXnatTreeModel::match ( const QModelIndex &  start,
int  role,
const QVariant &  value,
int  hits,
Qt::MatchFlags  flags 
) const
override

Definition at line 41 of file QmitkXnatTreeModel.cpp.

References data().

void QmitkXnatTreeModel::ResourceDropped ( const QList< mitk::DataNode * > &  ,
ctkXnatObject *  ,
const QModelIndex &   
)
signal

Referenced by dropMimeData().

Qt::DropActions QmitkXnatTreeModel::supportedDropActions ( )
virtual

Definition at line 204 of file QmitkXnatTreeModel.cpp.


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