#include <SchemaCustomModelInterface.hpp>
◆ CustomModelInterface()
dbse::CustomModelInterface::CustomModelInterface |
( |
QStringList | Headers, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ ~CustomModelInterface()
dbse::CustomModelInterface::~CustomModelInterface |
( |
| ) |
|
◆ columnCount()
int dbse::CustomModelInterface::columnCount |
( |
const QModelIndex & | parent | ) |
const |
◆ data()
QVariant dbse::CustomModelInterface::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
Definition at line 49 of file SchemaCustomModelInterface.cpp.
50{
51 if ( role != Qt::DisplayRole )
52 {
53 return QVariant();
54 }
55
57}
QList< QStringList > Data
◆ flags()
Qt::ItemFlags dbse::CustomModelInterface::flags |
( |
const QModelIndex & | index | ) |
const |
◆ getRowFromIndex()
QStringList dbse::CustomModelInterface::getRowFromIndex |
( |
QModelIndex & | index | ) |
|
◆ headerData()
QVariant dbse::CustomModelInterface::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role ) const |
Definition at line 33 of file SchemaCustomModelInterface.cpp.
35{
36 if ( role != Qt::DisplayRole )
37 {
38 return QVariant();
39 }
40
41 if ( orientation == Qt::Horizontal )
42 {
44 }
45
46 return QVariant();
47}
◆ rowCount()
int dbse::CustomModelInterface::rowCount |
( |
const QModelIndex & | parent | ) |
const |
◆ setupModel()
virtual void dbse::CustomModelInterface::setupModel |
( |
| ) |
|
|
pure virtual |
◆ Data
QList<QStringList> dbse::CustomModelInterface::Data |
|
protected |
◆ HeaderList
QStringList dbse::CustomModelInterface::HeaderList |
|
protected |
The documentation for this class was generated from the following files: