Qt
Core
pqFlatTreeViewEventTranslator.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 pqFlatTreeViewEventTranslator_h
6
#define pqFlatTreeViewEventTranslator_h
7
8
#include "
pqCoreModule.h
"
9
#include "pqWidgetEventTranslator.h"
10
#include <QPoint>
11
18
class
PQCORE_EXPORT
pqFlatTreeViewEventTranslator
:
public
pqWidgetEventTranslator
19
{
20
Q_OBJECT
21
typedef
pqWidgetEventTranslator Superclass;
22
23
public
:
24
pqFlatTreeViewEventTranslator
(QObject* p =
nullptr
);
25
26
using
Superclass::translateEvent;
27
bool
translateEvent(QObject* Object, QEvent* Event,
bool
& Error)
override
;
28
29
protected
:
30
QPoint
LastPos
;
31
32
private
:
33
pqFlatTreeViewEventTranslator
(
const
pqFlatTreeViewEventTranslator
&);
34
pqFlatTreeViewEventTranslator
& operator=(
const
pqFlatTreeViewEventTranslator
&);
35
};
36
37
#endif // !pqFlatTreeViewEventTranslator_h
pqFlatTreeViewEventTranslator::LastPos
QPoint LastPos
Definition:
pqFlatTreeViewEventTranslator.h:30
pqCoreModule.h
PQCORE_EXPORT
#define PQCORE_EXPORT
Definition:
pqCoreModule.h:15
pqFlatTreeViewEventTranslator
Translates low-level Qt events into high-level ParaView events that can be recorded as test cases...
Definition:
pqFlatTreeViewEventTranslator.h:18
Generated by
1.8.13 on Tue Oct 1 2024