OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
EventNotifier.h
Go to the documentation of this file.
1
4
// ###########################################################################################################################################################################################################################################################################################################################
5
6
#pragma once
7
8
// OpenTwin header
9
#include "
OTWidgets/OTWidgetsAPIExport.h
"
10
11
// Qt header
12
#include <QtCore/qobject.h>
13
14
namespace
ot
{
15
16
class
OT_WIDGETS_API_EXPORT
EventNotifierMousePressed
:
public
QObject {
17
Q_OBJECT
18
public
:
19
EventNotifierMousePressed
(QObject* _parent = (QObject*)
nullptr
);
20
virtual
bool
eventFilter(QObject* _obj, QEvent* _event)
override
;
21
22
Q_SIGNALS:
23
void
leftMouseButtonPressed
(
void
);
24
void
middleMouseButtonPressed
(
void
);
25
void
rightMouseButtonPressed
(
void
);
26
};
27
28
}
OTWidgetsAPIExport.h
OT_WIDGETS_API_EXPORT
#define OT_WIDGETS_API_EXPORT
Definition
OTWidgetsAPIExport.h:12
ot::EventNotifierMousePressed
Definition
EventNotifier.h:16
ot::EventNotifierMousePressed::middleMouseButtonPressed
void middleMouseButtonPressed(void)
ot::EventNotifierMousePressed::leftMouseButtonPressed
void leftMouseButtonPressed(void)
ot::EventNotifierMousePressed::rightMouseButtonPressed
void rightMouseButtonPressed(void)
ot
Definition
Connector.h:8
Libraries
OTWidgets
include
OTWidgets
EventNotifier.h
Generated by
1.10.0