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

void QWidget::customContextMenuRequested ( const QPoint pos  )  [signal, inherited]

This signal is emitted when the widget's contextMenuPolicy is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position pos is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is QAbstractScrollArea and its subclasses that map the context menu event to coordinates of the viewport() .

See also:
mapToGlobal() QMenu contextMenuPolicy

Referenced by QWidget::event().

Generated by  Doxygen 1.6.0   Back to index