|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SchemaCustomTableModel.hpp>
Public Member Functions | |
| CustomTableModel (QStringList Headers, QObject *parent=nullptr) | |
| ~CustomTableModel () | |
| 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 |
| QStringList | getRowFromIndex (QModelIndex &index) |
| void | setupModel () |
| QStringList | mimeTypes () const |
| Drag/Drop Handlers. | |
| QMimeData * | mimeData (const QModelIndexList &indexes) const |
Private Attributes | |
| QStringList | HeaderList |
| QList< QList< QString > > | m_data |
| QList< QList< QString > > | m_tooltips |
| std::vector< QBrush > | m_brushes |
| std::vector< QColor > | m_backgrounds |
Definition at line 21 of file SchemaCustomTableModel.hpp.
|
explicit |
Definition at line 14 of file SchemaCustomTableModel.cpp.
| dbse::CustomTableModel::~CustomTableModel | ( | ) |
Definition at line 21 of file SchemaCustomTableModel.cpp.
| int dbse::CustomTableModel::columnCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 31 of file SchemaCustomTableModel.cpp.
| QVariant dbse::CustomTableModel::data | ( | const QModelIndex & | index, |
| int | role ) const |
Definition at line 59 of file SchemaCustomTableModel.cpp.
| Qt::ItemFlags dbse::CustomTableModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 37 of file SchemaCustomTableModel.cpp.
| QStringList dbse::CustomTableModel::getRowFromIndex | ( | QModelIndex & | index | ) |
Definition at line 79 of file SchemaCustomTableModel.cpp.
| QVariant dbse::CustomTableModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role ) const |
Definition at line 43 of file SchemaCustomTableModel.cpp.
| QMimeData * dbse::CustomTableModel::mimeData | ( | const QModelIndexList & | indexes | ) | const |
Definition at line 125 of file SchemaCustomTableModel.cpp.
| QStringList dbse::CustomTableModel::mimeTypes | ( | ) | const |
Drag/Drop Handlers.
Definition at line 118 of file SchemaCustomTableModel.cpp.
| int dbse::CustomTableModel::rowCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 25 of file SchemaCustomTableModel.cpp.
| void dbse::CustomTableModel::setupModel | ( | ) |
Definition at line 89 of file SchemaCustomTableModel.cpp.
|
private |
Definition at line 38 of file SchemaCustomTableModel.hpp.
|
private |
Definition at line 42 of file SchemaCustomTableModel.hpp.
|
private |
Definition at line 41 of file SchemaCustomTableModel.hpp.
|
private |
Definition at line 39 of file SchemaCustomTableModel.hpp.
|
private |
Definition at line 40 of file SchemaCustomTableModel.hpp.