Event receiver. More...
#include <gelEvent.h>
Public Member Functions | |
GelEventReceiver () | |
Constructor. | |
virtual | ~GelEventReceiver () |
Destructor. | |
virtual bool | onEvent (GelEvent *event) |
virtual void | mousePressEvent (GelMouseEvent *event) |
virtual void | mouseReleaseEvent (GelMouseEvent *event) |
virtual void | mouseDblClkEvent (GelMouseEvent *event) |
virtual void | mouseWheelEvent (GelMouseEvent *event) |
virtual void | mouseMoveEvent (GelMouseEvent *event) |
virtual void | keyPressEvent (GelKeyEvent *event) |
virtual void | keyReleaseEvent (GelKeyEvent *event) |
virtual void | resizeEvent (GelResizeEvent *event) |
virtual void | closeEvent (GelEvent *event) |
virtual void | otherEvent (GelEvent *event) |
Event receiver.
This class provides an abstraction for objects to receive events.
gel::GelEventReceiver::GelEventReceiver | ( | ) |
Constructor.
This will add itself to the event dispatcher.
virtual gel::GelEventReceiver::~GelEventReceiver | ( | ) | [virtual] |
Destructor.
This will remove itself from the event dispatcher.
virtual bool gel::GelEventReceiver::onEvent | ( | GelEvent * | event | ) | [virtual] |
virtual void gel::GelEventReceiver::mousePressEvent | ( | GelMouseEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::mouseReleaseEvent | ( | GelMouseEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::mouseDblClkEvent | ( | GelMouseEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::mouseWheelEvent | ( | GelMouseEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::mouseMoveEvent | ( | GelMouseEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::keyPressEvent | ( | GelKeyEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::keyReleaseEvent | ( | GelKeyEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::resizeEvent | ( | GelResizeEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::closeEvent | ( | GelEvent * | event | ) | [inline, virtual] |
virtual void gel::GelEventReceiver::otherEvent | ( | GelEvent * | event | ) | [inline, virtual] |
API Documentation by Mark D. Procarione | Generated by |