pqQVTKWidgetEventTranslator.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 pqQVTKWidgetEventTranslator_h
6 #define pqQVTKWidgetEventTranslator_h
7 
8 #include "pqCoreModule.h"
9 #include "pqWidgetEventTranslator.h"
10 
17 class PQCORE_EXPORT pqQVTKWidgetEventTranslator : public pqWidgetEventTranslator
18 {
19  Q_OBJECT
20  typedef pqWidgetEventTranslator Superclass;
21 
22 public:
23  pqQVTKWidgetEventTranslator(QObject* p = nullptr);
24  ~pqQVTKWidgetEventTranslator() override;
25 
26  using Superclass::translateEvent;
27  bool translateEvent(QObject* Object, QEvent* Event, int eventType, bool& Error) override;
28 
29 private:
32 };
33 
34 #endif // !pqQVTKWidgetEventTranslator_h
Translates low-level Qt events into high-level ParaView events that can be recorded as test cases...
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15