Public Member Functions | List of all members
pqSingleLogViewerWidget Class Reference

A single log viewer widget which has a reference to the log recorder proxy. More...

#include <pqSingleLogViewerWidget.h>

Inheritance diagram for pqSingleLogViewerWidget:
Inheritance graph
[legend]
Collaboration diagram for pqSingleLogViewerWidget:
Collaboration graph
[legend]

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 QStringRef &txt, bool &is_raw)
 Utility function to parse a line of log into parts. More...
 
- Protected Slots inherited from pqLogViewerWidget
void toggleAdvanced ()
 
void exportLog ()
 

Detailed Description

A single log viewer widget which has a reference to the log recorder proxy.

Definition at line 46 of file pqSingleLogViewerWidget.h.

Constructor & Destructor Documentation

◆ pqSingleLogViewerWidget()

pqSingleLogViewerWidget::pqSingleLogViewerWidget ( QWidget *  parent,
vtkSmartPointer< vtkSMProxy logRecorderProxy,
int  rank 
)
Parameters
parentThe parent of this widget.
logRecorderProxyhas the information of server location, and the rank setting indicates which rank whose log is shown in this widget.
rank

◆ ~pqSingleLogViewerWidget()

pqSingleLogViewerWidget::~pqSingleLogViewerWidget ( )
overridedefault

Member Function Documentation

◆ refresh()

void pqSingleLogViewerWidget::refresh ( )

Refresh the log viewer.

◆ getLogRecorderProxy()

const vtkSmartPointer<vtkSMProxy>& pqSingleLogViewerWidget::getLogRecorderProxy ( ) const

Get the log recorder proxy reference hold by this widget.

◆ getRank()

int pqSingleLogViewerWidget::getRank ( ) const

Get the rank of the process whose log is shown in this widget.

◆ closeEvent()

void pqSingleLogViewerWidget::closeEvent ( QCloseEvent *  )
override

Disable log recording of the specific rank when the widget is closed.


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