Implementing the clear button

This commit is contained in:
Anonymus Raccoon
2020-03-24 23:15:33 +01:00
parent c007ce6fee
commit 15aa1a7dde
3 changed files with 18 additions and 4 deletions

View File

@@ -56,10 +56,12 @@ public:
const int column = 6;
//! @brief Add a log to the model
void log(ComSquare::Debugger::BusLog log);
void log(const ComSquare::Debugger::BusLog& log);
//! @brief Get a log at an index.
ComSquare::Debugger::BusLog getLogAt(int index);
//! @brief Clear all the logs
void clearLogs();
//! @brief The number of row the table has.
int rowCount(const QModelIndex &parent) const override;