34#include <NDEVR/LogStream.h>
44 class FileChooserDialog;
45 class AsciiFileOutputStream;
47 class SortedLogViewTable;
50 class QCustomLineEdit;
51 class QCustomComboBox;
56 LogView(QWidget *parent =
nullptr);
58 void showTimes(
bool show_times);
59 void showLogConsole(
bool show_log_console);
60 QSize sizeHint()
const override;
61 QPointer<QProgressBar> createProgressBar(
bool auto_hide =
true);
62 void attachProgressBar(QPointer<QProgressBar> bar,
bool auto_hide =
true);
65 void addWidgetToTop(QWidget* widget);
66 bool isAtBottom()
const;
67 void changeEvent(QEvent* e)
override;
68 void setProgressFormat(
const String& format);
69 void resizeEvent(QResizeEvent* size)
override;
70 void setDetectNewLines(
bool detect);
71 void setProgress(
fltp04 progress)
final override;
72 void addMessage(
const LogMessage& message)
final override;
75 void setMinimumLogLevel(
uint01 log_level);
79 void contextMenu(
const QPoint &pos);
82 void moveSliderToBottom(
int,
int);
86 void createMessageTable();
87 void allowCancel(
bool)
final override {}
A LogStream that attached to a log, writes messages directly to a specified ascii file.
Definition AsciiFileOutputStream.h:45
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Definition FileChooserDialog.h:68
A class that allows for specific log information to be conveyed to a ProgressInfo object.
Definition LogMessage.h:44
A class that listens to a log object and processes the updates in a specified way....
Definition LogStream.h:46
Toggle * m_show_micro_seconds
Definition LogView.h:103
bool m_auto_scroll_to_bottom
Definition LogView.h:108
Buffer< bool > m_progress_auto_hide
Definition LogView.h:98
QTableView * m_message_view
Definition LogView.h:94
void requestUpdateLogSignal()
fltp04 m_progress
Definition LogView.h:104
QCustomLineEdit * m_search_show_span
Definition LogView.h:91
Buffer< LogMessage > m_pending_messages
Definition LogView.h:99
FileChooserDialog * m_file_chooser
Definition LogView.h:100
SortedLogViewTable * m_sorted_table
Definition LogView.h:96
bool m_show_log_console
Definition LogView.h:107
QCustomComboBox * m_log_level
Definition LogView.h:92
Button * m_save_button
Definition LogView.h:90
LogViewTable * m_message_table
Definition LogView.h:95
QCustomLineEdit * m_search_edit
Definition LogView.h:93
Time m_last_scroll_time
Definition LogView.h:102
AsciiFileOutputStream * m_ascii_stream
Definition LogView.h:101
bool m_show_times
Definition LogView.h:106
Buffer< QPointer< QProgressBar > > m_progress_bars
Definition LogView.h:97
bool m_update_messages
Definition LogView.h:105
A light-weight base class for Log that allows processes to update, without the need for.
Definition ProgressInfo.hpp:48
Definition QCustomCombobox.h:47
Definition QCustomLineEdit.h:118
The core String class for the software.
Definition String.h:47
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:152
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:93