pqMainWindowEventManager.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 pqMainWindowEventManager_h
6 #define pqMainWindowEventManager_h
7 
8 #include "pqCoreModule.h"
9 #include <QObject>
10 
11 class QCloseEvent;
12 class QDragEnterEvent;
13 class QShowEvent;
14 class QDropEvent;
15 
30 {
31  Q_OBJECT
32  typedef QObject Superclass;
33 
34 public:
35  pqMainWindowEventManager(QObject* p = nullptr);
36  ~pqMainWindowEventManager() override;
37 
41  void closeEvent(QCloseEvent*);
42 
46  void showEvent(QShowEvent*);
47 
51  void dragEnterEvent(QDragEnterEvent*);
52 
56  void dropEvent(QDropEvent*);
57 
58 Q_SIGNALS:
62  void close(QCloseEvent*);
63 
67  void show(QShowEvent*);
68 
72  void dragEnter(QDragEnterEvent*);
73 
77  void drop(QDropEvent*);
78 };
79 
80 #endif
pqMainWindowEventManager is a manager for marshalling a main window&#39;s events to pqReactions.
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15