QXRD
0.11.16
|
#include <qcepdatasetmodel.h>
Public Slots | |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QModelIndex | index (const QcepDataObjectPtr &obj) const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QcepDataObjectPtr | indexedObject (const QModelIndex &index) const |
QStringList | mimeTypes () const |
QMimeData * | mimeData (const QModelIndexList &indexes) const |
bool | insertRows (int row, int count, const QModelIndex &parent) |
bool | moveRows (const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) |
bool | removeRows (int row, int count, const QModelIndex &parent) |
QcepDataObjectPtr | item (const QModelIndex &index) |
QcepDataObjectPtr | item (QString path) |
QcepDataObjectPtr | item (int n) |
QcepDataGroupPtr | group (const QModelIndex &index) |
QcepDataGroupPtr | group (QString path) |
QcepDataGroupPtr | group (int n) |
QcepDataGroupPtr | newGroup (QString path) |
QcepDataArrayPtr | array (const QModelIndex &index) |
QcepDataArrayPtr | array (QString path) |
QcepDataArrayPtr | array (int n) |
QcepDataArrayPtr | newArray (QString path, QVector< int > dims=QVector< int >()) |
QcepDataColumnPtr | column (const QModelIndex &index) |
QcepDataColumnPtr | column (QString path) |
QcepDataColumnPtr | column (int n) |
QcepDataColumnPtr | newColumn (QString path, int nRows=0) |
QcepDataColumnScanPtr | columnScan (const QModelIndex &index) |
QcepDataColumnScanPtr | columnScan (QString path) |
QcepDataColumnScanPtr | columnScan (int n) |
QcepDataColumnScanPtr | newColumnScan (QString path, int nRows=0, QStringList cols=QStringList()) |
QcepDoubleImageDataPtr | image (const QModelIndex &index) |
QcepDoubleImageDataPtr | image (QString path) |
QcepDoubleImageDataPtr | image (int n) |
QcepDoubleImageDataPtr | newImage (QString path, int width=0, int height=0) |
QcepIntegratedDataPtr | integratedData (const QModelIndex &index) |
QcepIntegratedDataPtr | integratedData (QString path) |
QcepIntegratedDataPtr | integratedData (int n) |
QcepIntegratedDataPtr | newIntegratedData (QString path, int sz) |
void | append (const QModelIndex &index, QcepDataObjectPtr obj) |
void | append (QString path, QcepDataObjectPtr obj) |
void | remove (QcepDataObjectPtr obj) |
void | remove (const QModelIndex &index) |
void | remove (QString path) |
void | insertGroup (int atRow, QString name) |
Public Member Functions | |
QcepDatasetModel (QcepDatasetWPtr ds) | |
Private Slots | |
void | onDataObjectChanged () |
Private Member Functions | |
QString | indexDescription (const QModelIndex &index) const |
QString | groupName (QString path) |
QString | objectName (QString path) |
Private Attributes | |
QcepDatasetWPtr | m_Dataset |
Definition at line 22 of file qcepdatasetmodel.h.
QcepDatasetModel::QcepDatasetModel | ( | QcepDatasetWPtr | ds | ) |
Definition at line 11 of file qcepdatasetmodel.cpp.
References onDataObjectChanged().
|
slot |
Definition at line 751 of file qcepdatasetmodel.cpp.
Referenced by newArray(), newColumn(), newColumnScan(), newImage(), and newIntegratedData().
|
slot |
Definition at line 755 of file qcepdatasetmodel.cpp.
|
slot |
Definition at line 458 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newArray().
|
slot |
|
slot |
|
slot |
Definition at line 514 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newColumn().
|
slot |
Definition at line 519 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 530 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 166 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), indexedObject(), and qcepDebug().
Referenced by onDataObjectChanged().
|
slot |
Definition at line 570 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newColumnScan().
|
slot |
Definition at line 575 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 586 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 210 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), indexedObject(), and qcepDebug().
Referenced by mimeData().
|
slot |
Definition at line 243 of file qcepdatasetmodel.cpp.
|
slot |
Definition at line 392 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newGroup().
|
slot |
|
slot |
|
private |
Definition at line 347 of file qcepdatasetmodel.cpp.
Referenced by newArray(), newColumn(), newColumnScan(), newGroup(), newImage(), and newIntegratedData().
|
slot |
Definition at line 190 of file qcepdatasetmodel.cpp.
|
slot |
Definition at line 626 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newImage().
|
slot |
Definition at line 631 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 642 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 49 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), indexedObject(), m_Dataset, and qcepDebug().
Referenced by mimeData(), newArray(), newColumn(), newColumnScan(), newGroup(), newImage(), newIntegratedData(), onDataObjectChanged(), and remove().
|
slot |
Definition at line 83 of file qcepdatasetmodel.cpp.
References m_Dataset, and parent().
|
private |
Definition at line 287 of file qcepdatasetmodel.cpp.
References QcepObject::get_Name(), and m_Dataset.
Referenced by columnCount(), data(), index(), indexedObject(), insertRows(), moveRows(), parent(), removeRows(), and rowCount().
|
slot |
Definition at line 17 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), and qcepDebug().
Referenced by array(), column(), columnCount(), columnScan(), data(), group(), image(), index(), integratedData(), item(), parent(), remove(), and rowCount().
|
slot |
Definition at line 738 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 312 of file qcepdatasetmodel.cpp.
References indexDescription().
|
slot |
Definition at line 682 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newIntegratedData().
|
slot |
Definition at line 687 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 698 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 365 of file qcepdatasetmodel.cpp.
References indexedObject().
Referenced by newArray(), newColumn(), newColumnScan(), newGroup(), newImage(), newIntegratedData(), and remove().
|
slot |
Definition at line 370 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 381 of file qcepdatasetmodel.cpp.
References m_Dataset.
|
slot |
Definition at line 266 of file qcepdatasetmodel.cpp.
References data(), DEBUG_DRAGDROP, index(), and qcepDebug().
|
slot |
Definition at line 254 of file qcepdatasetmodel.cpp.
|
slot |
Definition at line 320 of file qcepdatasetmodel.cpp.
References indexDescription().
|
slot |
Definition at line 485 of file qcepdatasetmodel.cpp.
References append(), array(), groupName(), index(), item(), m_Dataset, newGroup(), and objectName().
|
slot |
Definition at line 541 of file qcepdatasetmodel.cpp.
References append(), column(), groupName(), index(), item(), m_Dataset, newGroup(), and objectName().
|
slot |
Definition at line 597 of file qcepdatasetmodel.cpp.
References append(), columnScan(), groupName(), index(), item(), m_Dataset, QcepDataColumnScan::newDataColumnScan(), newGroup(), and objectName().
|
slot |
Definition at line 419 of file qcepdatasetmodel.cpp.
References group(), groupName(), index(), item(), m_Dataset, and objectName().
Referenced by newArray(), newColumn(), newColumnScan(), newImage(), and newIntegratedData().
|
slot |
Definition at line 653 of file qcepdatasetmodel.cpp.
References append(), groupName(), image(), index(), item(), m_Dataset, newGroup(), QcepImageData< T >::newImage(), and objectName().
|
slot |
Definition at line 709 of file qcepdatasetmodel.cpp.
References append(), groupName(), index(), integratedData(), item(), m_Dataset, newGroup(), QcepIntegratedData::newIntegratedData(), and objectName().
|
private |
Definition at line 358 of file qcepdatasetmodel.cpp.
Referenced by newArray(), newColumn(), newColumnScan(), newGroup(), newImage(), and newIntegratedData().
|
privateslot |
Definition at line 339 of file qcepdatasetmodel.cpp.
References columnCount(), index(), and rowCount().
Referenced by QcepDatasetModel().
|
slot |
Definition at line 102 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), indexedObject(), m_Dataset, and qcepDebug().
Referenced by index().
|
slot |
Definition at line 759 of file qcepdatasetmodel.cpp.
References index().
|
slot |
Definition at line 773 of file qcepdatasetmodel.cpp.
References indexedObject().
|
slot |
Definition at line 780 of file qcepdatasetmodel.cpp.
References item().
|
slot |
Definition at line 332 of file qcepdatasetmodel.cpp.
References indexDescription().
|
slot |
Definition at line 134 of file qcepdatasetmodel.cpp.
References DEBUG_DATABROWSER, indexDescription(), indexedObject(), m_Dataset, and qcepDebug().
Referenced by onDataObjectChanged().
|
private |
Definition at line 102 of file qcepdatasetmodel.h.
Referenced by array(), column(), columnScan(), group(), image(), index(), indexDescription(), insertGroup(), integratedData(), item(), newArray(), newColumn(), newColumnScan(), newGroup(), newImage(), newIntegratedData(), parent(), and rowCount().