NAME
BQEvent - BRTT Qt graphics extension event stream object
SYNOPSIS
$(QTNATIVELIBS) -lbqplot_native -lbanner -lbrttutil -lbumapdata $(DBLIBS) $(TRLIBS)
#include "BQ.h"
DESCRIPTION
BQEvent objects provide a standardized mouse/keyboard event structure for
other
bqplot objects.
INHERITS FROM
None
CONSTRUCTOR
BQEvent(int type, QEvent *event);
Where type is the event type and shuld be one of BQ_QEVENT_TYPE_MOUSEPRESS,
for a mouse press event, BQ_QEVENT_TYPE_MOUSEMOVE, for a mouse move
event, BQ_QEVENT_TYPE_MOUSERELEASE, for a mouse release
event, BQ_QEVENT_TYPE_WHEEL, for a mouse wheel
event, BQ_QEVENT_TYPE_ENTER, for an object enter
event, BQ_QEVENT_TYPE_LEAVE, for an object leave
event, BQ_QEVENT_TYPE_RESIZE, for a window resize
event, or BQ_QEVENT_TYPE_PAINT, for a window paint event. The QEvent
object that generated the event is specified by event.
METHODS
None
PUBLIC OBJECT VARIABLES
-
int type
This is the event type as defined above.
-
int button
This is the same as the bitmap returned by QMouseEvent::button.
-
int modifiers
This is the same as the bitmap returned by QMouseEvent::modifiers.
-
double delta
This is the mouse wheel change for BQ_QEVENT_TYPE_WHEEL events.
-
QPointF pt
This is the mouse position in window coordinates.
-
QPointF gpt
This is the mouse position in screen coordinates.
SEE ALSO
bqplot(3),
BQGlyph(3),
BQGlyphs(3)
AUTHOR
Danny Harvey, BRTT