Skip to main content

class ContextMenu

Source

A right click menu that can be attached to any QWidget.

Inherits from DropdownMenu

Functions​

ContextMenu​

public ContextMenu(QWidget * parent)

attach​

public void attach(QWidget & target)

detach​

public void detach()

popupAt​

public void popupAt(const QPoint & globalPosition)

eventFilter​

protected bool eventFilter(QObject * watched, QEvent * event)