The QMouseEvent class contains parameters that describe a mouse event. (details) (complete member list)
#include <qevent.h>
Inherits QEvent.
The virtual functions QWidget::mousePressEvent(), QWidget::mouseReleaseEvent(), QWidget::mouseDoubleClickEvent() and QWidget::mouseMoveEvent() receive mouse events.
Constructs a mouse event object.
The type parameter must be Event_MouseButtonPress,
Event_MouseButtonRelease,
Event_MouseButtonDblClick
or Event_MouseMove.
Returns the button that caused the event.
Possible return values are LeftButton,
RightButton,
MidButton
and
NoButton.
The button value is always NoButton
(0) when a mouse move event is
received.
Returns the position of the mouse relative to the widget that received the event.
Returns the current button state (a combination of mouse buttons and keyboard modifiers).
The returned value is LeftButton,
RightButton,
MidButton,
ShiftButton,
ControlButton
and AltButton
OR'ed together.
This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.
It was generated from the following files: