Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QHoverEvent::QHoverEvent ( Type  type,
const QPoint pos,
const QPoint oldPos 
)

Constructs a hover event object.

The type parameter must be QEvent::HoverEnter, QEvent::HoverLeave, or QEvent::HoverMove.

The pos is the current mouse cursor's position relative to the receiving widget, while oldPos is the previous mouse cursor's position relative to the receiving widget.

Definition at line 353 of file qevent.cpp.

    : QEvent(type), p(pos), op(oldPos)
{
}


Generated by  Doxygen 1.6.0   Back to index