The FreeTerminalModel class.
More...
#include <freeterminalmodel.h>
Inherits QAbstractTableModel.
◆ Column
| Enumerator |
|---|
| Label | |
| XRef | |
| Type | |
| Function | |
| Led | |
| Invalid | |
◆ FreeTerminalModel()
| FreeTerminalModel::FreeTerminalModel |
( |
QETProject * | project, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ clear()
| void FreeTerminalModel::clear |
( |
| ) |
|
◆ columnCount()
| int FreeTerminalModel::columnCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ columnTypeForIndex()
◆ data()
| QVariant FreeTerminalModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ dataAtRow()
◆ fillTerminalVector()
| void FreeTerminalModel::fillTerminalVector |
( |
| ) |
|
|
private |
◆ flags()
| Qt::ItemFlags FreeTerminalModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ headerData()
| QVariant FreeTerminalModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ modifiedModelRealTerminalData()
◆ realTerminalForIndex()
| QVector< QSharedPointer< RealTerminal > > FreeTerminalModel::realTerminalForIndex |
( |
const QModelIndexList & | index_list | ) |
const |
◆ rowCount()
| int FreeTerminalModel::rowCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ setData()
| bool FreeTerminalModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role = Qt::EditRole ) |
|
override |
◆ setProject()
| void FreeTerminalModel::setProject |
( |
QETProject * | project | ) |
|
FreeTerminalModel::setProject Set @project as project handled by this model. If a previous project was setted, everything is clear. This function track the destruction of the project, that mean if the project pointer is deleted no need to call this function with a nullptr, everything is made inside this class.
- Parameters
-
◆ m_modified_cell
| QHash<QSharedPointer<RealTerminal>, QVector<bool> > FreeTerminalModel::m_modified_cell |
|
private |
◆ m_project
◆ m_real_t_data
◆ m_terminal_vector
| QVector<QSharedPointer<RealTerminal> > FreeTerminalModel::m_terminal_vector |
|
private |
The documentation for this class was generated from the following files: