DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SchemaCustomFileModel.hpp>
Public Member Functions | |
CustomFileModel (QStringList &Headers, QObject *parent=nullptr) | |
Including Schema Editor. | |
~CustomFileModel () | |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
QVariant | data (const QModelIndex &index, int role) const |
void | setupModel () |
QStringList | getRowFromIndex (QModelIndex &index) |
Private Attributes | |
QStringList | HeaderList |
QList< QStringList > | Data |
Definition at line 11 of file SchemaCustomFileModel.hpp.
|
explicit |
Including Schema Editor.
Including C++ Headers
Definition at line 9 of file SchemaCustomFileModel.cpp.
dbse::CustomFileModel::~CustomFileModel | ( | ) |
Definition at line 16 of file SchemaCustomFileModel.cpp.
int dbse::CustomFileModel::columnCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 26 of file SchemaCustomFileModel.cpp.
QVariant dbse::CustomFileModel::data | ( | const QModelIndex & | index, |
int | role ) const |
Definition at line 58 of file SchemaCustomFileModel.cpp.
Qt::ItemFlags dbse::CustomFileModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 32 of file SchemaCustomFileModel.cpp.
QStringList dbse::CustomFileModel::getRowFromIndex | ( | QModelIndex & | index | ) |
Definition at line 104 of file SchemaCustomFileModel.cpp.
QVariant dbse::CustomFileModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role ) const |
Definition at line 42 of file SchemaCustomFileModel.cpp.
int dbse::CustomFileModel::rowCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 20 of file SchemaCustomFileModel.cpp.
void dbse::CustomFileModel::setupModel | ( | ) |
Definition at line 68 of file SchemaCustomFileModel.cpp.
|
private |
Definition at line 26 of file SchemaCustomFileModel.hpp.
|
private |
Definition at line 25 of file SchemaCustomFileModel.hpp.