
QEvent - Interface to the Qt QEvent, QMouseEvent, QPaintEvent, QResizeEvent, and QTimerEvent classes

use QEvent;
new, type
Inherits QEvent.
new, accept, ignore, isAccepted
Inherits QEvent.
new, gotFocus, lostFocus
Inherits QEvent.
new, accept, ascii, ignore, isAccepted, key, state
Inherits QEvent.
Requires QPoint.
new, button, pos, state
Inherits QEvent.
new, oldPos, pos
Inherits QEvent.
Requires QRect.
new, rect
Inherits QEvent.
Requires QSize.
new, oldSize, size
Inherits QEvent
new, timerId

All QEvent* classes have been completely interfaced except QCustomEvent. It will take a bit of creativity to figure out how to make that work.

The following scalars are exported into the user's namespace on behalf of QMouseEvent.
$NoButton $LeftButton $RightButton $MidButton $MouseButtonMask $ShiftButton $ControlButton $AltButton $KeyButtonMask
The %Event hash is exported into the user's namespace,
and represents the Event_* constants.
All %Event elements have had their prepending Event_ removed because of the lack of namespace problems.

The exported names are very tempting to stuff into %Button.

QEvent(3qt)

Ashley Winters <jql@accessone.com>