API Documentation
Loading...
Searching...
No Matches
LogViewTable Class Reference

A model for creating a table that displays logged records. More...

#include <LogTable.h>

Inheritance diagram for LogViewTable:
[legend]
Collaboration diagram for LogViewTable:
[legend]

Public Member Functions

void addMessage (const LogMessage &message)
 
void addMessages (const Buffer< LogMessage > &messages)
 
void clear ()
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
bool insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) override
 
 LogViewTable (const Buffer< LogMessage > &messages, QObject *parent=nullptr)
 
 LogViewTable (QObject *parent=nullptr)
 
const Buffer< LogMessage > & messages () const
 
bool removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override
 
int rowCount (const QModelIndex &parent) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
void setDetectNewLines (bool detect_new_lines)
 
void setMessages (const Buffer< LogMessage > &messages)
 
void setMessageSearchTerms (const Buffer< String > &search_terms, uint04 range)
 
void setShowMicroSeconds (bool show_microseconds)
 
bool showMicroSeconds () const
 
virtual ~LogViewTable ()
 

Detailed Description

A model for creating a table that displays logged records.


Constructor & Destructor Documentation

◆ LogViewTable() [1/2]

LogViewTable ( QObject * parent = nullptr)

◆ LogViewTable() [2/2]

LogViewTable ( const Buffer< LogMessage > & messages,
QObject * parent = nullptr )

◆ ~LogViewTable()

virtual ~LogViewTable ( )
inlinevirtual

Member Function Documentation

◆ addMessage()

void addMessage ( const LogMessage & message)

◆ addMessages()

void addMessages ( const Buffer< LogMessage > & messages)

◆ clear()

void clear ( )

◆ columnCount()

int columnCount ( const QModelIndex & parent) const
override

◆ data()

QVariant data ( const QModelIndex & index,
int role ) const
override

◆ flags()

Qt::ItemFlags flags ( const QModelIndex & index) const
override

◆ headerData()

QVariant headerData ( int section,
Qt::Orientation orientation,
int role ) const
override

◆ insertRows()

bool insertRows ( int position,
int rows,
const QModelIndex & index = QModelIndex() )
override

◆ messages()

const Buffer< LogMessage > & messages ( ) const
inline

◆ removeRows()

bool removeRows ( int position,
int rows,
const QModelIndex & index = QModelIndex() )
override

◆ rowCount()

int rowCount ( const QModelIndex & parent) const
override

◆ setData()

bool setData ( const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole )
override

◆ setDetectNewLines()

void setDetectNewLines ( bool detect_new_lines)

◆ setMessages()

void setMessages ( const Buffer< LogMessage > & messages)

◆ setMessageSearchTerms()

void setMessageSearchTerms ( const Buffer< String > & search_terms,
uint04 range )

◆ setShowMicroSeconds()

void setShowMicroSeconds ( bool show_microseconds)

◆ showMicroSeconds()

bool showMicroSeconds ( ) const

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