src
paraview-5.12
Qt
ApplicationComponents
pqApplyBehavior.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
#ifndef pqApplyBehavior_h
5
#define pqApplyBehavior_h
6
7
#include "pqApplicationComponentsModule.h"
8
#include <QObject>
9
#include <QScopedPointer>
10
11
class
pqPipelineFilter
;
12
class
pqPipelineSource
;
13
class
pqPropertiesPanel
;
14
class
pqProxy
;
15
class
pqView
;
16
32
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqApplyBehavior
:
public
QObject
33
{
34
Q_OBJECT
35
typedef
QObject Superclass;
36
37
public
:
38
pqApplyBehavior
(QObject* parent =
nullptr
);
39
~
pqApplyBehavior
()
override
;
40
42
45
void
registerPanel(
pqPropertiesPanel
* panel);
46
void
unregisterPanel(
pqPropertiesPanel
* panel);
48
49
static
void
hideInputIfRequired(
pqPipelineFilter
* filter,
pqView
* view);
50
51
Q_SIGNALS:
52
void
triggerApply();
53
54
protected
Q_SLOTS:
55
virtual
void
applied(
pqPropertiesPanel
* panel,
pqProxy
* proxy);
56
virtual
void
applied(
pqPropertiesPanel
* panel =
nullptr
);
57
58
private
Q_SLOTS:
59
void
onApplied(
pqProxy
*);
60
void
onApplied();
61
void
onModified();
62
void
onResetDone();
63
64
protected
:
65
virtual
void
showData(
pqPipelineSource
*
source
,
pqView
* view);
66
67
private
:
68
Q_DISABLE_COPY(
pqApplyBehavior
)
69
class
pqInternals;
70
const
QScopedPointer<pqInternals> Internals;
71
};
72
73
#endif
pqPropertiesPanel
pqPropertiesPanel is the default panel used by paraview to edit source properties and display propert...
Definition:
pqPropertiesPanel.h:33
source
source
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
pqPipelineFilter
Definition:
pqPipelineFilter.h:19
pqApplyBehavior
Definition:
pqApplyBehavior.h:32
pqPipelineSource
PQ representation for a vtkSMProxy that can be involved in a pipeline.
Definition:
pqPipelineSource.h:32
pqProxy
This class represents any registered Server Manager proxy.
Definition:
pqProxy.h:28
Generated by
1.8.17 on Wed Mar 27 2024