Qt
Core
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
29
class
PQCORE_EXPORT
pqMainWindowEventManager
:
public
QObject
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
pqCoreModule.h
pqMainWindowEventManager
pqMainWindowEventManager is a manager for marshalling a main window's events to pqReactions.
Definition:
pqMainWindowEventManager.h:29
PQCORE_EXPORT
#define PQCORE_EXPORT
Definition:
pqCoreModule.h:15
Generated by
1.8.13 on Tue Oct 1 2024