Changeset 71923 in vbox for trunk/src/VBox
- Timestamp:
- Apr 19, 2018 1:22:46 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r71922 r71923 558 558 src/widgets/UIEmptyFilePathSelector.h \ 559 559 src/widgets/UILineTextEdit.h \ 560 src/widgets/UIMenuBar.h \561 560 src/widgets/UIPortForwardingTable.h \ 562 561 src/widgets/UISlidingWidget.h \ … … 686 685 src/widgets/UIHotKeyEditor.h \ 687 686 src/widgets/UIMediumSizeEditor.h \ 687 src/widgets/UIMenuBar.h \ 688 688 src/widgets/UIPopupBox.h \ 689 689 src/widgets/UIPopupPane.h \ … … 779 779 src/widgets/UIHotKeyEditor.h \ 780 780 src/widgets/UIMediumSizeEditor.h \ 781 src/widgets/UIMenuBar.h \ 781 782 src/widgets/UIPopupBox.h \ 782 783 src/widgets/UIPopupPane.h \ … … 1049 1050 src/widgets/UIEmptyFilePathSelector.cpp \ 1050 1051 src/widgets/UILineTextEdit.cpp \ 1051 src/widgets/UIMenuBar.cpp \1052 1052 src/widgets/UIPortForwardingTable.cpp \ 1053 1053 src/widgets/UISlidingWidget.cpp \ … … 1217 1217 src/widgets/UIHotKeyEditor.cpp \ 1218 1218 src/widgets/UIMediumSizeEditor.cpp \ 1219 src/widgets/UIMenuBar.cpp \ 1219 1220 src/widgets/UIPopupBox.cpp \ 1220 1221 src/widgets/UIPopupPane.cpp \ … … 1336 1337 src/widgets/UIHotKeyEditor.cpp \ 1337 1338 src/widgets/UIMediumSizeEditor.cpp \ 1339 src/widgets/UIMenuBar.cpp \ 1338 1340 src/widgets/UIPopupBox.cpp \ 1339 1341 src/widgets/UIPopupPane.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuBar.cpp
r69500 r71923 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 … … 26 26 27 27 /* GUI includes: */ 28 # include "VBoxGlobal.h" 29 # include "UIImageTools.h" 28 30 # include "UIMenuBar.h" 29 # include "UIImageTools.h"30 # include "VBoxGlobal.h"31 31 32 32 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 44 44 void UIMenuBar::paintEvent(QPaintEvent *pEvent) 45 45 { 46 /* Call to base-class: */ 46 47 QMenuBar::paintEvent(pEvent); 48 49 /* Draw BETA label if necessary: */ 47 50 if (m_fShowBetaLabel) 48 51 { … … 60 63 } 61 64 } 62 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuBar.h
r69500 r71923 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 <QMenuBar> 23 23 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 27 /* Forward declarations: */ 28 class QPaintEvent; 29 class QWidget; 30 24 31 /** QMenuBar extension 25 32 * which reflects BETA label when necessary. */ 26 class UIMenuBar: public QMenuBar33 class SHARED_LIBRARY_STUFF UIMenuBar: public QMenuBar 27 34 { 28 35 Q_OBJECT; … … 36 43 37 44 /** Paint event handler. */ 38 v oid paintEvent(QPaintEvent *pEvent);45 virtual void paintEvent(QPaintEvent *pEvent) /* override */; 39 46 40 47 private:
Note:
See TracChangeset
for help on using the changeset viewer.