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

Qt::MouseButton QGraphicsSceneMouseEvent::button (  )  const

Returns the mouse button (if any) that caused the event.

See also:
buttons(), modifiers()

Definition at line 589 of file qgraphicssceneevent.cpp.

Referenced by DiagramScene::mousePressEvent().

{
    Q_D(const QGraphicsSceneMouseEvent);
    return d->button;
}


Generated by  Doxygen 1.6.0   Back to index