Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Signals | Public Member Functions | List of all members
geometrize::TabletProximityEventFilter Class Reference

The TabletProximityEventFilter captures tablet enter/exit proximity events (like when Wacom pens are held close to the screen) Used to hide the cursor so it doesn't get in the way of wherever the pen is being held. More...

#include <tabletproximityeventfilter.h>

Inheritance diagram for geometrize::TabletProximityEventFilter:
Inheritance graph
[legend]
Collaboration diagram for geometrize::TabletProximityEventFilter:
Collaboration graph
[legend]

Signals

void signal_onTabletEnterProximity ()
 signal_onTabletEnterProximity Signal dispatched when a Wacom tablet enter proximity event is received More...
 
void signal_onTabletLeaveProximity ()
 signal_onTabletLeaveProximity Signal dispatched when a Wacom tablet leave proximity event is received More...
 

Public Member Functions

 TabletProximityEventFilter (QCoreApplication *app)
 
bool eventFilter (QObject *, QEvent *event) override
 

Detailed Description

The TabletProximityEventFilter captures tablet enter/exit proximity events (like when Wacom pens are held close to the screen) Used to hide the cursor so it doesn't get in the way of wherever the pen is being held.

Constructor & Destructor Documentation

geometrize::TabletProximityEventFilter::TabletProximityEventFilter ( QCoreApplication *  app)
10  : QObject(app)
11 {
12  // Default behaviours - show/hide cursor when the tablet pointer enters/leaves proximity
14  QApplication::setOverrideCursor(Qt::BlankCursor);
15  });
17  QApplication::restoreOverrideCursor();
18  });
19 }
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...

Member Function Documentation

bool geometrize::TabletProximityEventFilter::eventFilter ( QObject *  ,
QEvent *  event 
)
override
22 {
23  if (event->type() == QEvent::TabletEnterProximity) {
25  }
26  if(event->type() == QEvent::TabletLeaveProximity) {
28  }
29  return false;
30 }
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...
void geometrize::TabletProximityEventFilter::signal_onTabletEnterProximity ( )
signal

signal_onTabletEnterProximity Signal dispatched when a Wacom tablet enter proximity event is received

Here is the caller graph for this function:

void geometrize::TabletProximityEventFilter::signal_onTabletLeaveProximity ( )
signal

signal_onTabletLeaveProximity Signal dispatched when a Wacom tablet leave proximity event is received

Here is the caller graph for this function:


The documentation for this class was generated from the following files: