Relacs
0.9.8
|
#include <databrowser.h>
Public Member Functions | |
DataDescriptionModel (QObject *parent=0) | |
void | setOptions (Options *data) |
void | setTreeView (QTreeView *view) |
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 |
The model for viewing a description of the currently displayed data of an DataIndex.
DataDescriptionModel | ( | QObject * | parent = 0 | ) |
void setOptions | ( | Options * | data | ) |
References DataDescriptionModel::data().
Referenced by DataIndex::DataIndex(), DataIndex::endSession(), and DataOverviewModel::setDescription().
void setTreeView | ( | QTreeView * | view | ) |
Referenced by DataIndex::setDescriptionView().
QVariant data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
References Options::name(), Str::name(), Options::parameterSize(), Options::section(), Options::text(), and Options::type().
Referenced by DataDescriptionModel::setOptions().
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 |
References Options::parameterSize(), and Options::section().
QModelIndex parent | ( | const QModelIndex & | index | ) | const |
bool hasChildren | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
References Options::parameterSize(), Options::section(), and Options::sectionsSize().
int rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
References Options::parameterSize(), Options::section(), and Options::sectionsSize().
int columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |