_ZN30QGraphicsSceneContextMenuEvent6setPosERK7QPointF

Name

QGraphicsSceneContextMenuEvent::setPos -- set the event mouse position relative to the widget that generated the event

Synopsis

#include <QtGui/qgraphicssceneevent.h>

void QGraphicsSceneContextMenuEvent::setPos (const QPointF &pos);

Description

The QGraphicsSceneContextMenuEvent::setPos() shall set the position of the mouse cursor associated with the event (i.e. the position at the moment when the event occurred) to the given point pos. The position should be relative to the widget that generated the event.

This function is not intended to be used by applications directly, but may appear among application dependencies as a result of usage of other functions and macros.