#include <omgexperimentitemmodel.h>
Inheritance diagram for OmgExperimentItemModel:
Definition at line 37 of file omgexperimentitemmodel.h.
Public Member Functions | |
OmgExperimentItemModel () | |
~OmgExperimentItemModel () | |
void | setExperiment (OmgExperiment *const thepExperiment) |
QModelIndex | parent (const QModelIndex &) const |
QModelIndex | index (int theRow, int theColumn, const QModelIndex &theParent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QVariant | headerData (int theSection, Qt::Orientation theOrientation, int theRole) const |
Private Attributes | |
QPointer< OmgExperiment > | mpExperiment |
|
Definition at line 25 of file omgexperimentitemmodel.cpp. |
|
Definition at line 29 of file omgexperimentitemmodel.cpp. |
|
Returns the number of columns for the children of the given parent. Definition at line 75 of file omgexperimentitemmodel.cpp. Referenced by setExperiment(). |
|
Returns the data stored under the given role for the item referred to by the index. Definition at line 91 of file omgexperimentitemmodel.cpp. References mpExperiment. |
|
Returns the headerData for the specified section (row or col) Definition at line 114 of file omgexperimentitemmodel.cpp. References mpExperiment. |
|
Returns the data item and row,coloum Definition at line 54 of file omgexperimentitemmodel.cpp. References mpExperiment. |
|
Get the parent of the supplied model Definition at line 49 of file omgexperimentitemmodel.cpp. |
|
Returns the number of rows for the children of the given parent. Definition at line 79 of file omgexperimentitemmodel.cpp. References mpExperiment. Referenced by setExperiment(). |
|
Set the experiment.
Definition at line 33 of file omgexperimentitemmodel.cpp. References columnCount(), mpExperiment, and rowCount(). |
Here is the call graph for this function:
|
The experiment associated with this model. Definition at line 75 of file omgexperimentitemmodel.h. Referenced by data(), headerData(), index(), rowCount(), and setExperiment(). |