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

#include <LogView.h>

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

Signals

void requestUpdateLogSignal ()
 

Public Member Functions

 LogView (QWidget *parent=nullptr)
 
 ~LogView ()
 
void showTimes (bool show_times)
 
void showLogConsole (bool show_log_console)
 
QSize sizeHint () const override
 
QPointer< QProgressBar > createProgressBar (bool auto_hide=true)
 
void attachProgressBar (QPointer< QProgressBar > bar, bool auto_hide=true)
 
void clearLog ()
 
void jumpToBottom ()
 
void addWidgetToTop (QWidget *widget)
 
bool isAtBottom () const
 
void changeEvent (QEvent *e) override
 
void setProgressFormat (const String &format)
 
void resizeEvent (QResizeEvent *size) override
 
void setDetectNewLines (bool detect)
 
void setProgress (fltp04 progress) final override
 
void addMessage (const LogMessage &message) final override
 
void addMessages (const Buffer< LogMessage > &messages) final override
 
void attach (ProgressInfo *stream) final override
 
void setMinimumLogLevel (uint01 log_level)
 
- Public Member Functions inherited from LogStream
virtual ~LogStream ()
 
virtual void detach (ProgressInfo *stream)
 
void clearLinks ()
 
void setIgnoreMessages (bool ignore)
 
bool ignoringMessages () const
 

Protected Attributes

Buttonm_save_button
 
QCustomLineEditm_search_show_span
 
QCustomComboBoxm_log_level
 
QCustomLineEditm_search_edit
 
QTableView * m_message_view
 
LogViewTablem_message_table
 
SortedLogViewTablem_sorted_table
 
Buffer< QPointer< QProgressBar > > m_progress_bars
 
Buffer< bool > m_progress_auto_hide
 
Buffer< LogMessagem_pending_messages
 
FileChooserDialogm_file_chooser
 
AsciiFileOutputStreamm_ascii_stream
 
Time m_last_scroll_time
 
Togglem_show_micro_seconds
 
fltp04 m_progress
 
bool m_update_messages
 
bool m_show_times
 
bool m_show_log_console
 
bool m_auto_scroll_to_bottom
 
- Protected Attributes inherited from LogStream
Buffer< ProgressInfo * > m_linked_logs
 
bool m_ignore_message = false
 

Constructor & Destructor Documentation

◆ LogView()

LogView ( QWidget * parent = nullptr)

◆ ~LogView()

~LogView ( )

Member Function Documentation

◆ addMessage()

void addMessage ( const LogMessage & message)
finaloverridevirtual

Implements LogStream.

◆ addMessages()

void addMessages ( const Buffer< LogMessage > & messages)
finaloverridevirtual

Reimplemented from LogStream.

◆ addWidgetToTop()

void addWidgetToTop ( QWidget * widget)

◆ attach()

void attach ( ProgressInfo * stream)
finaloverridevirtual

Reimplemented from LogStream.

◆ attachProgressBar()

void attachProgressBar ( QPointer< QProgressBar > bar,
bool auto_hide = true )

◆ changeEvent()

void changeEvent ( QEvent * e)
override

◆ clearLog()

void clearLog ( )

◆ createProgressBar()

QPointer< QProgressBar > createProgressBar ( bool auto_hide = true)

◆ isAtBottom()

bool isAtBottom ( ) const

◆ jumpToBottom()

void jumpToBottom ( )

◆ requestUpdateLogSignal

void requestUpdateLogSignal ( )
signal

◆ resizeEvent()

void resizeEvent ( QResizeEvent * size)
override

◆ setDetectNewLines()

void setDetectNewLines ( bool detect)

◆ setMinimumLogLevel()

void setMinimumLogLevel ( uint01 log_level)

◆ setProgress()

void setProgress ( fltp04 progress)
finaloverridevirtual

Implements LogStream.

◆ setProgressFormat()

void setProgressFormat ( const String & format)

◆ showLogConsole()

void showLogConsole ( bool show_log_console)

◆ showTimes()

void showTimes ( bool show_times)

◆ sizeHint()

QSize sizeHint ( ) const
override

Member Data Documentation

◆ m_ascii_stream

AsciiFileOutputStream* m_ascii_stream
protected

◆ m_auto_scroll_to_bottom

bool m_auto_scroll_to_bottom
protected

◆ m_file_chooser

FileChooserDialog* m_file_chooser
protected

◆ m_last_scroll_time

Time m_last_scroll_time
protected

◆ m_log_level

QCustomComboBox* m_log_level
protected

◆ m_message_table

LogViewTable* m_message_table
protected

◆ m_message_view

QTableView* m_message_view
protected

◆ m_pending_messages

Buffer<LogMessage> m_pending_messages
protected

◆ m_progress

fltp04 m_progress
protected

◆ m_progress_auto_hide

Buffer<bool> m_progress_auto_hide
protected

◆ m_progress_bars

Buffer<QPointer<QProgressBar> > m_progress_bars
protected

◆ m_save_button

Button* m_save_button
protected

◆ m_search_edit

QCustomLineEdit* m_search_edit
protected

◆ m_search_show_span

QCustomLineEdit* m_search_show_span
protected

◆ m_show_log_console

bool m_show_log_console
protected

◆ m_show_micro_seconds

Toggle* m_show_micro_seconds
protected

◆ m_show_times

bool m_show_times
protected

◆ m_sorted_table

SortedLogViewTable* m_sorted_table
protected

◆ m_update_messages

bool m_update_messages
protected

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