A dialog which shows multiple log views, where each log is a tab.
More...
|
|
void | updateFromManager () |
| | Checks the log manager for new logs and updates the tabs accordingly.
|
|
|
Button * | m_choose_log |
| | Button that opens the log file chooser.
|
|
FileChooserDialog * | m_chooser_dialog |
| | Dialog for choosing a log file to open.
|
|
LogView * | m_combined_log_view |
| | A log view that aggregates messages from all logs.
|
|
QTimer | m_log_manager_check |
| | Timer that periodically polls the log manager for changes.
|
|
Buffer< LogView * > | m_log_view |
| | The log view widgets displayed in tabs.
|
|
Dictionary< String, InfoPipe * > | m_logs |
| | Mapping of log names to their info pipes.
|
|
LogManager * | m_manager |
| | The log manager providing available logs.
|
|
QCustomTabWidget * | m_tab_widget |
| | The tab widget containing individual log views.
|
A dialog which shows multiple log views, where each log is a tab.
Definition at line 14 of file LogManagerDialog.h.
◆ LogManagerDialog()
| LogManagerDialog::LogManagerDialog |
( |
QWidget * | parent = nullptr | ) |
|
Constructs the log manager dialog.
- Parameters
-
| [in] | parent | The parent widget. |
◆ addLog()
Adds a named log pipe as a new tab.
- Parameters
-
| [in] | name | The display name for the log tab. |
| [in] | log | The info pipe providing log messages. |
◆ addLogView()
| void LogManagerDialog::addLogView |
( |
LogView * | log_view | ) |
|
Adds an existing LogView widget as a new tab.
- Parameters
-
| [in] | log_view | The log view to add. |
◆ setLogManager()
| void LogManagerDialog::setLogManager |
( |
LogManager * | manager | ) |
|
Sets the log manager that provides the available logs.
- Parameters
-
| [in] | manager | The log manager to use. |
◆ setTimeSpans()
| void LogManagerDialog::setTimeSpans |
( |
const Buffer< TimeSpan > & | time_spans | ) |
|
Sets the selectable time spans used to filter log entries.
- Parameters
-
| [in] | time_spans | The available time span filter options. |
◆ sizeHint()
| QSize LogManagerDialog::sizeHint |
( |
| ) |
const |
|
override |
Returns the preferred size hint for the dialog.
- Returns
- The preferred size.
The documentation for this class was generated from the following file: