Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
tabletproximityeventfilter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QObject>
4 
5 class QCoreApplication;
6 class QEvent;
7 
8 namespace geometrize
9 {
10 
15 class TabletProximityEventFilter : public QObject
16 {
17  Q_OBJECT
18 public:
19  TabletProximityEventFilter(QCoreApplication* app);
20 
21  bool eventFilter(QObject* /*obj*/, QEvent* event) override;
22 
23 signals:
28 
33 };
34 
40 
41 }
The TabletProximityEventFilter captures tablet enter/exit proximity events (like when Wacom pens are ...
Definition: tabletproximityeventfilter.h:15
bool eventFilter(QObject *, QEvent *event) override
Definition: tabletproximityeventfilter.cpp:21
TabletProximityEventFilter(QCoreApplication *app)
Definition: tabletproximityeventfilter.cpp:10
TabletProximityEventFilter & getSharedTabletProximityEventFilterInstance()
getSharedTabletProximityEventFilterInstance Gets a reference to the shared instance of the tablet pro...
Definition: tabletproximityeventfilter.cpp:32
void signal_onTabletLeaveProximity()
signal_onTabletLeaveProximity Signal dispatched when a Wacom tablet leave proximity event is received...
void signal_onTabletEnterProximity()
signal_onTabletEnterProximity Signal dispatched when a Wacom tablet enter proximity event is received...