Provides a treeview with scoped logs along with a filtering capability to restrict which logs are shown.
More...
#include <pqLogViewerWidget.h>
|
| static QVector< QString > | extractLogParts (const QString &txt, bool &is_raw) |
| | Utility function to parse a line of log into parts. More...
|
| |
Provides a treeview with scoped logs along with a filtering capability to restrict which logs are shown.
Definition at line 21 of file pqLogViewerWidget.h.
◆ pqLogViewerWidget()
| pqLogViewerWidget::pqLogViewerWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqLogViewerWidget()
| pqLogViewerWidget::~pqLogViewerWidget |
( |
| ) |
|
|
override |
◆ setLog()
| void pqLogViewerWidget::setLog |
( |
const QString & |
text | ) |
|
Set the contents of the log viewer to the provided txt.
◆ appendLog()
| void pqLogViewerWidget::appendLog |
( |
const QString & |
text | ) |
|
◆ setFilterWildcard()
| void pqLogViewerWidget::setFilterWildcard |
( |
QString |
wildcard | ) |
|
Manually set the filter wildcard.
Mainly used for the global filter. Can be overridden by the log-specific wildcard.
◆ scrollToTime()
| void pqLogViewerWidget::scrollToTime |
( |
double |
time | ) |
|
Scroll to the log near the specific time.
◆ extractLogParts()
| static QVector<QString> pqLogViewerWidget::extractLogParts |
( |
const QString & |
txt, |
|
|
bool & |
is_raw |
|
) |
| |
|
static |
Utility function to parse a line of log into parts.
- Parameters
-
| txt | One line of the log |
| is_raw | Return parameter stating whether the log is in the log format or just raw text. |
- Returns
- A QVector containing different parts of the log.
◆ updateColumnVisibilities()
| void pqLogViewerWidget::updateColumnVisibilities |
( |
| ) |
|
Update log table column visibilities.
◆ closed
| void pqLogViewerWidget::closed |
( |
| ) |
|
|
signal |
◆ scrolled
| void pqLogViewerWidget::scrolled |
( |
double |
time | ) |
|
|
signal |
◆ toggleAdvanced
| void pqLogViewerWidget::toggleAdvanced |
( |
| ) |
|
|
protectedslot |
◆ exportLog
| void pqLogViewerWidget::exportLog |
( |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following file: