QXRD
0.11.16
|
#include <qcepdataobjectpropertiesmodel.h>
Public Member Functions | |
QcepDataObjectPropertiesModel (QcepDataObjectWPtr obj) | |
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 |
Public Member Functions inherited from QcepPropertiesModel | |
QcepPropertiesModel () | |
Private Member Functions | |
int | propertyCount () const |
int | dynamicPropertyCount () const |
Private Attributes | |
QcepDataObjectWPtr | m_Object |
Definition at line 7 of file qcepdataobjectpropertiesmodel.h.
QcepDataObjectPropertiesModel::QcepDataObjectPropertiesModel | ( | QcepDataObjectWPtr | obj | ) |
Definition at line 6 of file qcepdataobjectpropertiesmodel.cpp.
int QcepDataObjectPropertiesModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 17 of file qcepdataobjectpropertiesmodel.cpp.
QVariant QcepDataObjectPropertiesModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 22 of file qcepdataobjectpropertiesmodel.cpp.
References dynamicPropertyCount(), m_Object, and propertyCount().
|
private |
Definition at line 113 of file qcepdataobjectpropertiesmodel.cpp.
References m_Object.
Referenced by data(), headerData(), and rowCount().
QVariant QcepDataObjectPropertiesModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role | ||
) | const |
Definition at line 72 of file qcepdataobjectpropertiesmodel.cpp.
References dynamicPropertyCount(), and propertyCount().
|
private |
Definition at line 102 of file qcepdataobjectpropertiesmodel.cpp.
References m_Object.
Referenced by data(), headerData(), and rowCount().
int QcepDataObjectPropertiesModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 12 of file qcepdataobjectpropertiesmodel.cpp.
References dynamicPropertyCount(), and propertyCount().
|
private |
Definition at line 22 of file qcepdataobjectpropertiesmodel.h.
Referenced by data(), dynamicPropertyCount(), and propertyCount().