Changeset 71895 in vbox for trunk/src/VBox
- Timestamp:
- Apr 18, 2018 1:08:11 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r71894 r71895 440 440 VirtualBox_QT_MOCHDRS = \ 441 441 src/UITakeSnapshotDialog.h \ 442 src/extensions/QIMenu.h \443 442 src/extensions/QIStatusBar.h \ 444 443 src/extensions/graphics/QIGraphicsView.h \ … … 655 654 src/extensions/QIMainWindow.h \ 656 655 src/extensions/QIManagerDialog.h \ 656 src/extensions/QIMenu.h \ 657 657 src/extensions/QIMessageBox.h \ 658 658 src/extensions/QIProcess.h \ … … 739 739 src/extensions/QIMainWindow.h \ 740 740 src/extensions/QIManagerDialog.h \ 741 src/extensions/QIMenu.h \ 741 742 src/extensions/QIMessageBox.h \ 742 743 src/extensions/QIProcess.h \ … … 916 917 src/main.cpp \ 917 918 src/UITakeSnapshotDialog.cpp \ 918 src/extensions/QIMenu.cpp \919 919 src/extensions/QIStatusBar.cpp \ 920 920 src/extensions/graphics/QIGraphicsView.cpp \ … … 1165 1165 src/extensions/QIMainWindow.cpp \ 1166 1166 src/extensions/QIManagerDialog.cpp \ 1167 src/extensions/QIMenu.cpp \ 1167 1168 src/extensions/QIMessageBox.cpp \ 1168 1169 src/extensions/QIProcess.cpp \ … … 1250 1251 src/platform/darwin/VBoxUtils-darwin-cocoa.mm \ 1251 1252 src/platform/darwin/VBoxUtils-darwin.cpp 1252 1253 1253 endif 1254 1254 … … 1276 1276 src/extensions/QIMainWindow.cpp \ 1277 1277 src/extensions/QIManagerDialog.cpp \ 1278 src/extensions/QIMenu.cpp \ 1278 1279 src/extensions/QIMessageBox.cpp \ 1279 1280 src/extensions/QIProcess.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMenu.cpp
r69500 r71895 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - Q IMenu class implementation.3 * VBox Qt GUI - Qt extensions: QIMenu class implementation. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2010-201 7Oracle Corporation7 * Copyright (C) 2010-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 19 19 # include <precomp.h> 20 20 #else 21 21 22 /* GUI includes: */ 22 23 # include "QIMenu.h" 24 23 25 #endif 24 26 … … 34 36 /* Windows host requires window-activation: */ 35 37 activateWindow(); 36 #endif /* VBOX_WS_WIN */ 38 #endif 39 37 40 /* Focus next child: */ 38 41 QMenu::focusNextChild(); 39 42 } 40 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMenu.h
r69500 r71895 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - Q IMenu class declaration.3 * VBox Qt GUI - Qt extensions: QIMenu class declaration. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2010-201 7Oracle Corporation7 * Copyright (C) 2010-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 22 22 #include <QMenu> 23 23 24 /** QMenu extension 25 * which allows to highlight first menu item for popped up menu. */ 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 27 /** QMenu extension with advanced functionality. 28 * Allows to highlight first menu item for popped up menu. */ 26 29 class QIMenu : public QMenu 27 30 { … … 30 33 public: 31 34 32 /** Construct or, passes @a pParent to the QMenu constructor. */35 /** Constructs menu passing @a pParent to the base-class. */ 33 36 QIMenu(QWidget *pParent = 0); 34 37
Note:
See TracChangeset
for help on using the changeset viewer.