/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | menu.h | 14 /** A menu */ 15 struct menu { struct 26 /** A menu item */ 28 /** List of menu items */ 40 extern struct menu * create_menu ( const char *name, const char *title ); 41 extern struct menu_item * add_menu_item ( struct menu *menu, const char *label, 44 extern void destroy_menu ( struct menu *menu ); 45 extern struct menu * find_men [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | menu.c | 31 #include <ipxe/menu.h> 37 * Create menu 41 * @ret menu Menu, or NULL on failure 43 struct menu * create_menu ( const char *name, const char *title ) { 47 struct menu *menu; local 51 /* Destroy any existing menu of this name */ 52 menu = find_menu ( name ); 53 if ( menu ) 54 destroy_menu ( menu ); 98 add_menu_item( struct menu *menu, const char *label, const char *text, int shortcut, int is_default ) argument 167 struct menu *menu; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/ |
H A D | menu_cmd.c | 32 #include <ipxe/menu.h> 40 /** "menu" options */ 48 /** "menu" option list */ 56 /** "menu" command descriptor */ 62 * The "menu" command 70 struct menu *menu; local 85 /* Create menu */ 86 menu = create_menu ( opts.name, title ); 87 if ( ! menu ) { 109 const char *menu; member in struct:item_options 145 struct menu *menu; local 194 const char *menu; member in struct:choose_options 230 struct menu *menu; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/hci/tui/ |
H A D | menu_ui.c | 33 #include <ipxe/menu.h> 48 /** A menu user interface */ 51 struct menu *menu; member in struct:menu_ui 52 /** Number of menu items */ 63 * Return a numbered menu item 65 * @v menu Menu 69 static struct menu_item * menu_item ( struct menu *menu, unsigned int index ) { argument 72 list_for_each_entry ( item, &menu 305 show_menu( struct menu *menu, unsigned int timeout_ms, const char *select, struct menu_item **selected ) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/ |
H A D | UIWindowMenuManager.cpp | 47 * this menu. */ 59 QMenu *menu() const { return m_pWindowMenu; } function in class:UIMenuHelper 172 return pHelper->menu(); 238 * activation and change the menu items in that case. */
|
/vbox/src/VBox/Additions/haiku/VBoxTray/ |
H A D | VBoxGuestDeskbarView.cpp | 183 BPopUpMenu *menu = new BPopUpMenu(B_EMPTY_STRING, false, false); local 184 menu->SetAsyncAutoDestruct(true); 185 menu->SetFont(be_plain_font); 187 menu->AddItem(new BMenuItem("Quit", new BMessage(B_QUIT_REQUESTED))); 188 menu->SetTargetForItems(this); 190 menu->Go(where, true, true, true);
|
/vbox/src/VBox/Devices/PC/ipxe/src/usr/ |
H A D | pxemenu.c | 47 /** A PXE boot menu item */ 56 * A PXE boot menu 58 * This structure encapsulates the menu information provided via DHCP 69 /** Number of menu items */ 71 /** Selected menu item */ 78 * Parse and allocate PXE boot menu 80 * @v menu PXE boot menu to fill in 84 * boot menu. 86 static int pxe_menu_parse ( struct pxe_menu **menu ) { 190 pxe_menu_draw_item( struct pxe_menu *menu, unsigned int index, int selected ) argument 344 struct pxe_menu *menu; local [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QILabel.cpp | 200 /* Create a context menu for the copy to clipboard action. */ 201 QMenu menu; local 203 menu.addAction (mCopyAction); 204 menu.exec (aEvent->globalPos());
|
/vbox/src/VBox/Frontends/VirtualBox/src/settings/global/ |
H A D | UIGlobalSettingsExtension.cpp | 295 QMenu menu; local 298 menu.addAction(m_pActionAdd); 299 menu.addAction(m_pActionRemove); 303 menu.addAction(m_pActionAdd); 305 menu.exec(m_pPackagesTree->viewport()->mapToGlobal(position));
|
H A D | UIGlobalSettingsNetwork.cpp | 891 /* Compose temporary context-menu: */ 892 QMenu menu; local 895 menu.addAction(m_pActionEditNetworkNAT); 896 menu.addAction(m_pActionDelNetworkNAT); 900 menu.addAction(m_pActionAddNetworkNAT); 903 menu.exec(m_pTreeNetworkNAT->mapToGlobal(pos)); 908 /* Compose temporary context-menu: */ 909 QMenu menu; local 912 menu.addAction(m_pActionEditNetworkHost); 913 menu [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/ |
H A D | UIMachineSettingsUSB.cpp | 59 * USB popup menu class. 88 /* Prepare menu appearance: */ 778 QMenu menu; local 781 menu.addAction(mNewAction); 782 menu.addAction(mAddAction); 783 menu.addSeparator(); 784 menu.addAction(mEdtAction); 785 menu.addSeparator(); 786 menu.addAction(mDelAction); 787 menu [all...] |
H A D | UIMachineSettingsSF.cpp | 541 QMenu menu; local 545 menu.addAction(mEdtAction); 546 menu.addAction(mDelAction); 550 menu.addAction(mNewAction); 552 if (!menu.isEmpty()) 553 menu.exec(mTwFolders->viewport()->mapToGlobal(pos));
|
H A D | UIMachineSettingsStorage.cpp | 2521 QMenu menu; local 2522 menu.addAction (mAddIDECtrAction); 2523 menu.addAction (mAddSATACtrAction); 2524 menu.addAction (mAddSCSICtrAction); 2525 menu.addAction (mAddSASCtrAction); 2526 menu.addAction (mAddFloppyCtrAction); 2527 menu.addAction (mAddUSBCtrAction); 2528 menu.exec (QCursor::pos()); 2581 QMenu menu; local 2590 menu [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | UIActionPool.cpp | 107 /* By default there is no specific menu role. 112 UIMenu* UIAction::menu() const function in class:UIAction 114 return qobject_cast<UIMenu*>(QAction::menu()); 179 /* The same as menu name for Selector UI: */ 212 qobject_cast<UIMenu*>(menu())->setShowToolTip(fShowToolTip); 217 /* Create menu: */ 219 AssertPtrReturnVoid(menu()); 221 /* Prepare menu: */ 222 connect(menu(), SIGNAL(aboutToShow()), 328 menu() [all...] |
H A D | VBoxGlobal.cpp | 1763 void VBoxGlobal::prepareStorageMenu(QMenu &menu, argument 1782 QAction *pActionOpenExistingMedium = menu.addAction(QIcon(":/select_file_16px.png"), QString(), pListener, pszSlotName); 1802 menu.addSeparator(); 1833 QAction *pActionChooseHostDrive = menu.addAction(UIMedium(medium, mediumType).name(), pListener, pszSlotName); 1876 QAction *pActionChooseRecentMedium = menu.addAction(QFileInfo(strRecentMediumLocation).fileName(), pListener, pszSlotName); 1890 menu.addSeparator(); 1893 QAction *pActionUnmountMedium = menu.addAction(QString(), pListener, pszSlotName); 2361 /* Qt doesn't translate the items in the Application menu initially. 3338 * and returns the result. The string is supposed to be a menu item's text
|
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/ |
H A D | UIGDetailsElement.cpp | 158 /* Prepare storage-menu: */ 159 UIMenu menu; local 160 menu.setShowToolTip(true); 167 /* Fill storage-menu: */ 168 vboxGlobal().prepareStorageMenu(menu, this, SLOT(sltMountStorageMedium()), 171 /* Exec menu: */ 172 menu.exec(QCursor::pos()); 180 AssertMsgReturnVoid(pAction, ("This slot should only be called by menu action!\n"));
|
/vbox/src/VBox/Frontends/VirtualBox/src/extradata/ |
H A D | UIExtraDataManager.cpp | 397 /** Handles context-menu-requested signal for the data-pane: */ 423 /** Prepare menu. */ 778 /* Prepare menu: */ 779 QMenu menu; local 780 menu.addAction(m_pActionAdd); 781 menu.addAction(m_pActionDel); 782 menu.addSeparator(); 783 menu.addAction(m_pActionSave); 784 /* Execute menu: */ 786 menu [all...] |