#include <omglocalitiesmodel.h>
Inheritance diagram for OmgLocalitiesModel:
Definition at line 36 of file omglocalitiesmodel.h.
Public Member Functions | |
OmgLocalitiesModel () | |
~OmgLocalitiesModel () | |
void | setModel (OmgModel *const thepModel) |
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< OmgModel > | mpNicheModel |
|
Definition at line 26 of file omglocalitiesmodel.cpp. |
|
Definition at line 30 of file omglocalitiesmodel.cpp. |
|
Returns the number of columns for the children of the given parent. Definition at line 62 of file omglocalitiesmodel.cpp. References mpNicheModel. Referenced by OmgLocalitiesModelTest::rowsAndColumns(), and setModel(). |
|
Returns the data stored under the given role for the item referred to by the index. Definition at line 98 of file omglocalitiesmodel.cpp. References mpNicheModel. |
|
Returns the headerData for the specified section (row or col) Definition at line 157 of file omglocalitiesmodel.cpp. References mpNicheModel. |
|
Returns the number of rows for the children of the given parent. Definition at line 86 of file omglocalitiesmodel.cpp. References mpNicheModel. Referenced by OmgLocalitiesModelTest::rowsAndColumns(), and setModel(). |
|
Set the localities.
Definition at line 34 of file omglocalitiesmodel.cpp. References columnCount(), mpNicheModel, and rowCount(). Referenced by OmgLocalitiesModelTest::rowsAndColumns(), and OmgMainWindow::setCurrentModel(). |
Here is the call graph for this function:
|
The model that has the localities (with their associated sampled environment values if available). Definition at line 70 of file omglocalitiesmodel.h. Referenced by columnCount(), data(), headerData(), rowCount(), and setModel(). |