- Timestamp:
- Apr 18, 2018 1:26:37 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r71896 r71897 440 440 VirtualBox_QT_MOCHDRS = \ 441 441 src/UITakeSnapshotDialog.h \ 442 src/extensions/graphics/QIGraphicsView.h \443 442 src/extensions/graphics/QIGraphicsWidget.h \ 444 443 src/globals/UIStarter.h \ … … 668 667 src/extensions/QITreeWidget.h \ 669 668 src/extensions/QIWidgetValidator.h \ 669 src/extensions/graphics/QIGraphicsView.h \ 670 670 src/extradata/UIExtraDataDefs.h \ 671 671 src/extradata/UIExtraDataManager.h \ … … 754 754 src/extensions/QITreeWidget.h \ 755 755 src/extensions/QIWidgetValidator.h \ 756 src/extensions/graphics/QIGraphicsView.h \ 756 757 src/extradata/UIExtraDataDefs.h \ 757 758 src/extradata/UIExtraDataManager.h \ … … 918 919 src/main.cpp \ 919 920 src/UITakeSnapshotDialog.cpp \ 920 src/extensions/graphics/QIGraphicsView.cpp \921 921 src/extensions/graphics/QIGraphicsWidget.cpp \ 922 922 src/globals/UIImageTools.cpp \ … … 1180 1180 src/extensions/QITreeWidget.cpp \ 1181 1181 src/extensions/QIWidgetValidator.cpp \ 1182 src/extensions/graphics/QIGraphicsView.cpp \ 1182 1183 src/extradata/UIExtraDataDefs.cpp \ 1183 1184 src/extradata/UIExtraDataManager.cpp \ … … 1292 1293 src/extensions/QITreeWidget.cpp \ 1293 1294 src/extensions/QIWidgetValidator.cpp \ 1295 src/extensions/graphics/QIGraphicsView.cpp \ 1294 1296 src/extradata/UIExtraDataDefs.cpp \ 1295 1297 src/extradata/UIExtraDataManager.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/graphics/QIGraphicsView.cpp
r69500 r71897 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - Q IGraphicsView class implementation.3 * VBox Qt GUI - Qt extensions: QIGraphicsView class implementation. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2015-201 7Oracle Corporation7 * Copyright (C) 2015-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 31 31 32 32 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 33 33 34 34 35 QIGraphicsView::QIGraphicsView(QWidget *pParent /* = 0 */) … … 107 108 return QGraphicsView::event(pEvent); 108 109 } 109 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/graphics/QIGraphicsView.h
r69500 r71897 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - Q IGraphicsView class declaration.3 * VBox Qt GUI - Qt extensions: QIGraphicsView class declaration. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2015-201 7Oracle Corporation7 * Copyright (C) 2015-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 22 22 #include <QGraphicsView> 23 23 24 /** General QGraphicsView extension. */ 25 class QIGraphicsView : public QGraphicsView 24 /* GUI includes: */ 25 #include "UILibraryDefs.h" 26 27 /* Forward declarations: */ 28 class QEvent; 29 class QWidget; 30 31 /** QGraphicsView extension with advanced functionality. */ 32 class SHARED_LIBRARY_STUFF QIGraphicsView : public QGraphicsView 26 33 { 27 34 Q_OBJECT; … … 29 36 public: 30 37 31 /** Construct or, passes @a pParent to the QGraphicsView constructor. */38 /** Constructs graphics-view passing @a pParent to the base-class. */ 32 39 QIGraphicsView(QWidget *pParent = 0); 33 40 34 41 protected: 35 42 36 /** General @a pEvent handler. */37 bool event(QEvent *pEvent);43 /** Handles any Qt @a pEvent. */ 44 virtual bool event(QEvent *pEvent) /* override */; 38 45 39 46 private: … … 44 51 45 52 #endif /* !___QIGraphicsView_h___ */ 46
Note:
See TracChangeset
for help on using the changeset viewer.