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

#include <LogTable.h>

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

Public Member Functions

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

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 files: