#include <primitiveitemmodel.h>
Public Types | |
| enum | Role { PrimitiveRole = Qt::UserRole + 1, PrimitiveTypeRole } |
Public Member Functions | |
| PrimitiveItemModel (Engine *engine, QObject *parent=0) | |
| PrimitiveItemModel (Molecule *molecule, QObject *parent=0) | |
| ~PrimitiveItemModel () | |
| 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 |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| Avogadro::PrimitiveItemModel::PrimitiveItemModel | ( | Engine * | engine, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
| Avogadro::PrimitiveItemModel::PrimitiveItemModel | ( | Molecule * | molecule, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
| Avogadro::PrimitiveItemModel::~PrimitiveItemModel | ( | ) |
| QModelIndex Avogadro::PrimitiveItemModel::parent | ( | const QModelIndex & | index | ) | const |
| int Avogadro::PrimitiveItemModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| int Avogadro::PrimitiveItemModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| QVariant Avogadro::PrimitiveItemModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
| Qt::ItemFlags Avogadro::PrimitiveItemModel::flags | ( | const QModelIndex & | index | ) | const |
| QModelIndex Avogadro::PrimitiveItemModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
1.5.4