A single log viewer widget which has a reference to the log recorder proxy. More...
#include <pqSingleLogViewerWidget.h>
Public Member Functions | |
pqSingleLogViewerWidget (QWidget *parent, vtkSmartPointer< vtkSMProxy > logRecorderProxy, int rank) | |
~pqSingleLogViewerWidget () override=default | |
void | refresh () |
Refresh the log viewer. More... | |
const vtkSmartPointer< vtkSMProxy > & | getLogRecorderProxy () const |
Get the log recorder proxy reference hold by this widget. More... | |
int | getRank () const |
Get the rank of the process whose log is shown in this widget. More... | |
void | closeEvent (QCloseEvent *) override |
Disable log recording of the specific rank when the widget is closed. More... | |
Public Member Functions inherited from pqLogViewerWidget | |
pqLogViewerWidget (QWidget *parent=nullptr) | |
~pqLogViewerWidget () override | |
void | setLog (const QString &text) |
Set the contents of the log viewer to the provided txt. More... | |
void | appendLog (const QString &text) |
Append text to log. More... | |
void | setFilterWildcard (QString wildcard) |
Manually set the filter wildcard. More... | |
void | scrollToTime (double time) |
Scroll to the log near the specific time. More... | |
void | updateColumnVisibilities () |
Update log table column visibilities. More... | |
Additional Inherited Members | |
Signals inherited from pqLogViewerWidget | |
void | closed () |
void | scrolled (double time) |
Static Public Member Functions inherited from pqLogViewerWidget | |
static QVector< QString > | extractLogParts (const QString &txt, bool &is_raw) |
Utility function to parse a line of log into parts. More... | |
Protected Slots inherited from pqLogViewerWidget | |
void | toggleAdvanced () |
void | exportLog () |
A single log viewer widget which has a reference to the log recorder proxy.
Definition at line 18 of file pqSingleLogViewerWidget.h.
pqSingleLogViewerWidget::pqSingleLogViewerWidget | ( | QWidget * | parent, |
vtkSmartPointer< vtkSMProxy > | logRecorderProxy, | ||
int | rank | ||
) |
parent | The parent of this widget. |
logRecorderProxy | has the information of server location, and the rank setting indicates which rank whose log is shown in this widget. |
rank |
|
overridedefault |
void pqSingleLogViewerWidget::refresh | ( | ) |
Refresh the log viewer.
const vtkSmartPointer<vtkSMProxy>& pqSingleLogViewerWidget::getLogRecorderProxy | ( | ) | const |
Get the log recorder proxy reference hold by this widget.
int pqSingleLogViewerWidget::getRank | ( | ) | const |
Get the rank of the process whose log is shown in this widget.
|
override |
Disable log recording of the specific rank when the widget is closed.