VirtualBox

Ignore:
Timestamp:
Apr 18, 2018 1:35:46 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Tiny cleanup for QIGraphicsWidget and move it to VBoxGlobal library.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r71897 r71898  
    440440VirtualBox_QT_MOCHDRS = \
    441441        src/UITakeSnapshotDialog.h \
    442         src/extensions/graphics/QIGraphicsWidget.h \
    443442        src/globals/UIStarter.h \
    444443        src/hostnetwork/UIHostNetworkDetailsWidget.h \
     
    668667        src/extensions/QIWidgetValidator.h \
    669668        src/extensions/graphics/QIGraphicsView.h \
     669        src/extensions/graphics/QIGraphicsWidget.h \
    670670        src/extradata/UIExtraDataDefs.h \
    671671        src/extradata/UIExtraDataManager.h \
     
    755755        src/extensions/QIWidgetValidator.h \
    756756        src/extensions/graphics/QIGraphicsView.h \
     757        src/extensions/graphics/QIGraphicsWidget.h \
    757758        src/extradata/UIExtraDataDefs.h \
    758759        src/extradata/UIExtraDataManager.h \
     
    919920        src/main.cpp \
    920921        src/UITakeSnapshotDialog.cpp \
    921         src/extensions/graphics/QIGraphicsWidget.cpp \
    922922        src/globals/UIImageTools.cpp \
    923923        src/globals/UIStarter.cpp \
     
    11811181        src/extensions/QIWidgetValidator.cpp \
    11821182        src/extensions/graphics/QIGraphicsView.cpp \
     1183        src/extensions/graphics/QIGraphicsWidget.cpp \
    11831184        src/extradata/UIExtraDataDefs.cpp \
    11841185        src/extradata/UIExtraDataManager.cpp \
     
    12941295        src/extensions/QIWidgetValidator.cpp \
    12951296        src/extensions/graphics/QIGraphicsView.cpp \
     1297        src/extensions/graphics/QIGraphicsWidget.cpp \
    12961298        src/extradata/UIExtraDataDefs.cpp \
    12971299        src/extradata/UIExtraDataManager.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/graphics/QIGraphicsWidget.cpp

    r69500 r71898  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIGraphicsWidget class definition.
     3 * VBox Qt GUI - Qt extensions: QIGraphicsWidget class definition.
    44 */
    55
    66/*
    7  * Copyright (C) 2012-2017 Oracle Corporation
     7 * Copyright (C) 2012-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3535    return sizeHint(Qt::MinimumSize);
    3636}
    37 
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/graphics/QIGraphicsWidget.h

    r69500 r71898  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIGraphicsWidget class declaration.
     3 * VBox Qt GUI - Qt extensions: QIGraphicsWidget class declaration.
    44 */
    55
    66/*
    7  * Copyright (C) 2012-2017 Oracle Corporation
     7 * Copyright (C) 2012-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    1616 */
    1717
    18 #ifndef __QIGraphicsWidget_h__
    19 #define __QIGraphicsWidget_h__
     18#ifndef ___QIGraphicsWidget_h___
     19#define ___QIGraphicsWidget_h___
    2020
    2121/* Qt includes: */
    2222#include <QGraphicsWidget>
    2323
    24 /* Graphics widget extension: */
    25 class QIGraphicsWidget : public QGraphicsWidget
     24/* GUI includes: */
     25#include "UILibraryDefs.h"
     26
     27/** QGraphicsWidget extension with advanced functionality. */
     28class SHARED_LIBRARY_STUFF QIGraphicsWidget : public QGraphicsWidget
    2629{
    2730    Q_OBJECT;
     
    2932public:
    3033
    31     /* Constructor: */
     34    /** Constructs graphics-widget passing @a pParent to the base-class. */
    3235    QIGraphicsWidget(QGraphicsWidget *pParent = 0);
    3336
    34     /* API: Size-hint stuff: */
     37    /** Returns minimum size-hint. */
    3538    virtual QSizeF minimumSizeHint() const;
    3639};
    3740
    38 #endif /* __QIGraphicsWidget_h__ */
    39 
     41#endif /* !___QIGraphicsWidget_h___ */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette