#include <importtabledialog.h>

Public Member Functions | |
| BaseModel (QObject *parent=0) | |
| 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=Qt::DisplayRole) const |
Public Attributes | |
| int | m_columns |
| Maximum columns of all rows in the model. See columnCount();. | |
| QList< QStringList > | m_values |
| Internal structure of values. It's filled by format parsers in inherited classes. | |
| ImportTable::BaseModel::BaseModel | ( | QObject * | parent = 0 |
) |
References m_values.
| int ImportTable::BaseModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
References m_values.
| int ImportTable::BaseModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
References m_columns.
| QVariant ImportTable::BaseModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
References m_values.
| QVariant ImportTable::BaseModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const |
Maximum columns of all rows in the model. See columnCount();.
Referenced by columnCount(), ImportTable::CSVModel::CSVModel(), and ImportTable::XMLModel::XMLModel().
| QList<QStringList> ImportTable::BaseModel::m_values |
Internal structure of values. It's filled by format parsers in inherited classes.
Referenced by BaseModel(), ImportTable::CSVModel::CSVModel(), data(), rowCount(), and ImportTable::XMLModel::XMLModel().
1.5.5