|
ComSquare
|
The qt model that show the history. More...
#include <CPUDebug.hpp>
Public Member Functions | |
| HistoryModel () | |
| HistoryModel (const HistoryModel &)=delete | |
| const HistoryModel & | operator= (const HistoryModel &)=delete |
| ~HistoryModel () override=default | |
| void | log (const ExecutedInstruction &) |
| Log a new instruction. More... | |
| void | clear () |
| Remove every instructions of the history. More... | |
| int | rowCount (const QModelIndex &parent) const override |
| The number of row the table has. More... | |
| int | columnCount (const QModelIndex &parent) const override |
| The number of column the table has. More... | |
| QVariant | data (const QModelIndex &index, int role) const override |
| Return a data representing the table cell. More... | |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| Override the headers to use hex values. More... | |
Private Attributes | |
| std::vector< ExecutedInstruction > | _instructions = {} |
The qt model that show the history.
|
default |
|
delete |
|
overridedefault |
| void ComSquare::Debugger::CPU::HistoryModel::clear | ( | ) |
Remove every instructions of the history.
|
override |
The number of column the table has.
|
override |
Return a data representing the table cell.
|
override |
Override the headers to use hex values.
| void ComSquare::Debugger::CPU::HistoryModel::log | ( | const ExecutedInstruction & | instruction | ) |
Log a new instruction.
|
delete |
|
override |
The number of row the table has.
|
private |
1.8.17