Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::LogPanel::ListLogDataModel Class Reference

#include <LogPanel_Panel.h>

Inherits QAbstractTableModel.

Public Member Functions

 ListLogDataModel (QObject *pParent=nullptr)
 
void AppendLine (Logging::LogLine &source)
 call this with each line you have and want to add to the log (at any time, but from the same thread as the object belongs to)
 
void CommitAdd ()
 After appending line(s) they will not appear until you call CommitAdd.
 
void Clear ()
 
virtual int rowCount (const QModelIndex &) const
 
virtual int columnCount (const QModelIndex &) const
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QVariant data (const QModelIndex &, int role) const
 

Detailed Description

this is a list-based (uses a vector) data model its meant for static or ever-growing data that we do not want to discard older lines for. For example if you are forensically examining a previously-captured file.


The documentation for this class was generated from the following file: