Qt
ApplicationComponents
pqObjectPickingBehavior.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 pqObjectPickingBehavior_h
5
#define pqObjectPickingBehavior_h
6
7
#include "
pqApplicationComponentsModule.h
"
8
#include <QObject>
9
#include <QPoint>
10
11
class
pqView
;
12
class
pqOutputPort
;
13
20
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqObjectPickingBehavior
:
public
QObject
21
{
22
Q_OBJECT
23
typedef
QObject Superclass;
24
25
public
:
26
pqObjectPickingBehavior
(QObject* parent =
nullptr
);
27
~
pqObjectPickingBehavior
()
override
;
28
29
protected
:
33
bool
eventFilter(QObject* caller, QEvent* e)
override
;
34
35
protected
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
40
void
onViewAdded(
pqView
*);
41
42
private
:
43
Q_DISABLE_COPY(
pqObjectPickingBehavior
)
44
QPoint
Position
;
45
};
46
47
#endif
pqOutputPort
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
Definition:
pqOutputPort.h:29
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
vtkLegacyParticleTracerBaseNamespace::Position
struct Position_t Position
Definition:
vtkLegacyParticleTracerBase.h:55
pqObjectPickingBehavior
pqObjectPickingBehavior is used to add support for picking "source" by clicking on it in a view...
Definition:
pqObjectPickingBehavior.h:20
pqApplicationComponentsModule.h
Generated by
1.8.13 on Mon Dec 23 2024