Qt
Components
pqSingleLogViewerWidget.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef pqSingleLogViewerWidget_h
6
#define pqSingleLogViewerWidget_h
7
8
#include "
pqComponentsModule.h
"
9
#include "
pqLogViewerWidget.h
"
10
11
#include "
vtkSMProxy.h
"
12
#include "
vtkSmartPointer.h
"
13
18
class
PQCOMPONENTS_EXPORT
pqSingleLogViewerWidget
:
public
pqLogViewerWidget
19
{
20
Q_OBJECT
21
using
Superclass
=
pqLogViewerWidget
;
22
23
public
:
31
pqSingleLogViewerWidget
(QWidget* parent,
vtkSmartPointer<vtkSMProxy>
logRecorderProxy,
int
rank);
32
~
pqSingleLogViewerWidget
()
override
=
default
;
33
37
void
refresh();
38
42
const
vtkSmartPointer<vtkSMProxy>
& getLogRecorderProxy()
const
;
43
47
int
getRank()
const
;
48
52
void
closeEvent(QCloseEvent*)
override
;
53
54
private
:
55
Q_DISABLE_COPY(
pqSingleLogViewerWidget
);
56
57
vtkSmartPointer<vtkSMProxy>
LogRecorderProxy;
58
int
Rank;
59
};
60
61
#endif // pqSingleLogViewerWidget_h
pqComponentsModule.h
pqSingleLogViewerWidget
A single log viewer widget which has a reference to the log recorder proxy.
Definition:
pqSingleLogViewerWidget.h:18
PQCOMPONENTS_EXPORT
#define PQCOMPONENTS_EXPORT
Definition:
pqComponentsModule.h:15
vtkSmartPointer< vtkSMProxy >
pqLogViewerWidget
Provides a treeview with scoped logs along with a filtering capability to restrict which logs are sho...
Definition:
pqLogViewerWidget.h:21
pqLogViewerWidget.h
pqLogViewerWidget::pqLogViewerWidget
pqLogViewerWidget(QWidget *parent=nullptr)
vtkSmartPointer.h
vtkSMProxy.h
Generated by
1.8.13 on Tue Dec 31 2024