Preparing search index...

    Enum controlling context menu behavior.

    Index

    Enumeration Members

    ActionsContextMenu: number

    Automatically creates a context menu from the widget's actions. Use addAction() or addMenu() to add items. The menu is displayed on right-click. Common for toolbars and menu widgets.

    CustomContextMenu: number

    Disables automatic menu generation. The widget emits customContextMenuRequested(QPoint) signal on right-click, allowing the application to display a custom menu. Most flexible option for complex menus.

    DefaultContextMenu: number

    Uses the platform's default context menu behavior. On most systems, this shows cut/copy/paste for text widgets, but behavior varies by widget type and platform.

    NoContextMenu: number

    The widget will not display a context menu. If a user right-clicks, nothing happens. Useful for widgets where context menus are not relevant.

    PreventContextMenu: number

    Actively prevents context menus from appea