Home | History | Annotate | Download | only in Api

Lines Matching full:menu

511     QMenu* menu = new QMenu(q->view());
527 menu->addAction(a);
533 menu->addSeparator();
549 menu->addAction(subMenu->menuAction());
556 return menu;
931 QMenu *menu = q->createStandardContextMenu();
932 if (menu) {
933 menu->exec(globalPos);
934 delete menu;
941 This function creates the standard context menu which is shown when
943 called from the default contextMenuEvent() handler. The popup menu's
949 QMenu *menu = d->currentContextMenu;
951 return menu;
2006 through a context menu item.
2735 Filters the context menu event, \a event, through handlers for scrollbars and
2739 A web page may swallow a context menu event through a custom event handler, allowing for context
2755 ContextMenu *menu = d->page->contextMenuController()->contextMenu();
2757 // calling/showing it and the context menu pointer will be zero. This is the case
2760 return !menu;
2788 WebCore::ContextMenu menu(result);
2789 menu.populate();
2793 menu.addInspectElementItem();
2801 // Then we let createContextMenu() enable the actions that are put into the menu
2802 d->currentContextMenu = d->createContextMenu(&menu, menu.platformDescription(), &visitedWebActions);
2805 // Finally, we restore the original enablement for the actions that were not put into the menu.
2806 originallyEnabledWebActions &= ~visitedWebActions; // Mask out visited actions (they're part of the menu)
2814 // This whole process ensures that any actions put into to the context menu has the right
2816 // the menu.