pqToolTipTrapper.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 pqToolTipTrapper_h
6 #define pqToolTipTrapper_h
7 
8 #include "pqComponentsModule.h"
9 
10 #include <QObject>
11 
15 class PQCOMPONENTS_EXPORT pqToolTipTrapper : public QObject
16 {
17  Q_OBJECT
18 
19 public:
21  ~pqToolTipTrapper() override;
22 
23  bool eventFilter(QObject* watched, QEvent* event) override;
24 };
25 
26 #endif
#define PQCOMPONENTS_EXPORT
To prevent tooltips from appearing, create an instance of this object.