kalzium
Avogadro::PrimitiveItemModel Class Reference
#include <primitiveitemmodel.h>
Inheritance diagram for Avogadro::PrimitiveItemModel:

Detailed Description
Definition at line 36 of file src/primitiveitemmodel.h.
Public Types | |
| enum | Role { PrimitiveRole = Qt::UserRole + 1, PrimitiveTypeRole } |
Public Member Functions | |
| 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 |
| QModelIndex | parent (const QModelIndex &index) const |
| PrimitiveItemModel (Molecule *molecule, QObject *parent=0) | |
| PrimitiveItemModel (Engine *engine, QObject *parent=0) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| ~PrimitiveItemModel () | |
Member Enumeration Documentation
Constructor & Destructor Documentation
| Avogadro::PrimitiveItemModel::PrimitiveItemModel | ( | Engine * | engine, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
Definition at line 55 of file primitiveitemmodel.cpp.
| Avogadro::PrimitiveItemModel::PrimitiveItemModel | ( | Molecule * | molecule, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
Definition at line 73 of file primitiveitemmodel.cpp.
| Avogadro::PrimitiveItemModel::~PrimitiveItemModel | ( | ) |
Definition at line 96 of file primitiveitemmodel.cpp.
Member Function Documentation
| int Avogadro::PrimitiveItemModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 234 of file primitiveitemmodel.cpp.
| QVariant Avogadro::PrimitiveItemModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
Definition at line 239 of file primitiveitemmodel.cpp.
| Qt::ItemFlags Avogadro::PrimitiveItemModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 313 of file primitiveitemmodel.cpp.
| QModelIndex Avogadro::PrimitiveItemModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
Definition at line 328 of file primitiveitemmodel.cpp.
| QModelIndex Avogadro::PrimitiveItemModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 202 of file primitiveitemmodel.cpp.
| int Avogadro::PrimitiveItemModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 218 of file primitiveitemmodel.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference