1
//---------------------------------------------------------------------------
3
// Project: OpenWalnut ( http://www.openwalnut.org )
5
// Copyright 2009 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
6
// For more information see http://www.openwalnut.org/copying
8
// This file is part of OpenWalnut.
10
// OpenWalnut is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU Lesser General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
15
// OpenWalnut is distributed in the hope that it will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
// GNU Lesser General Public License for more details.
20
// You should have received a copy of the GNU Lesser General Public License
21
// along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
23
//---------------------------------------------------------------------------
28
#include <QtCore/QEvent>
31
* This header contains every custom event ID used in QT's event mechanism. Please note, that since Qt4.4 there is
32
* QEvent::registerEventType which can handle this job better than this header. But as we use an older Qt Version we need to do it
36
// when a module got associated
37
#define WQT_ASSOC_EVENT QEvent::User + 1
39
// when a module signals its ready state
40
#define WQT_READY_EVENT QEvent::User + 2
42
// when a ROI got associated
43
#define WQT_ROI_ASSOC_EVENT QEvent::User + 3
45
// when a module crashes
46
#define WQT_CRASH_EVENT QEvent::User + 4
48
// when a subject signals a newly registered data set
49
#define WQT_UPDATE_TEXTURE_SORTER_EVENT QEvent::User + 5
51
// when a property changes
52
#define WQT_PROPERTY_CHANGED_EVENT QEvent::User + 6
54
// when a ROI got removed
55
#define WQT_ROI_REMOVE_EVENT QEvent::User + 7
57
// when a module got removed from the root container
58
#define WQT_MODULE_REMOVE_EVENT QEvent::User + 8
60
// when a module should be deleted finally.
61
#define WQT_MODULE_DELETE_EVENT QEvent::User + 9
63
// when a module connection got established.
64
#define WQT_MODULE_CONNECT_EVENT QEvent::User + 10
66
// when a module connection got closed.
67
#define WQT_MODULE_DISCONNECT_EVENT QEvent::User + 11
69
// a frame got rendered
70
#define WQT_RENDERED_FRAME_EVENT QEvent::User + 12
72
// a connector of a module changed state or value
73
#define WQT_MODULE_CONNECTOR_EVENT QEvent::User + 13
75
// when the screencapture update.
76
#define WQT_SCREENCAPTURE_EVENT QEvent::User + 14
78
// open a new custom dock widget
79
#define WQT_OPENCUSTOMDOCKWIDGET QEvent::User + 15
81
// close an existing custom dock widget
82
#define WQT_CLOSECUSTOMDOCKWIDGET QEvent::User + 16
84
// A async load operation has finished
85
#define WQT_LOADFINISHED QEvent::User + 17
87
#endif // WEVENTTYPES_H