VirtualBox

Changeset 71896 in vbox for trunk


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

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

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

Legend:

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

    r71895 r71896  
    440440VirtualBox_QT_MOCHDRS = \
    441441        src/UITakeSnapshotDialog.h \
    442         src/extensions/QIStatusBar.h \
    443442        src/extensions/graphics/QIGraphicsView.h \
    444443        src/extensions/graphics/QIGraphicsWidget.h \
     
    660659        src/extensions/QIRichToolButton.h \
    661660        src/extensions/QISplitter.h \
     661        src/extensions/QIStatusBar.h \
    662662        src/extensions/QIStatusBarIndicator.h \
    663663        src/extensions/QIStyledItemDelegate.h \
     
    745745        src/extensions/QIRichToolButton.h \
    746746        src/extensions/QISplitter.h \
     747        src/extensions/QIStatusBar.h \
    747748        src/extensions/QIStatusBarIndicator.h \
    748749        src/extensions/QIStyledItemDelegate.h \
     
    917918        src/main.cpp \
    918919        src/UITakeSnapshotDialog.cpp \
    919         src/extensions/QIStatusBar.cpp \
    920920        src/extensions/graphics/QIGraphicsView.cpp \
    921921        src/extensions/graphics/QIGraphicsWidget.cpp \
     
    11711171        src/extensions/QIRichToolButton.cpp \
    11721172        src/extensions/QISplitter.cpp \
     1173        src/extensions/QIStatusBar.cpp \
    11731174        src/extensions/QIStatusBarIndicator.cpp \
    11741175        src/extensions/QIStyledItemDelegate.cpp \
     
    12821283        src/extensions/QIRichToolButton.cpp \
    12831284        src/extensions/QISplitter.cpp \
     1285        src/extensions/QIStatusBar.cpp \
    12841286        src/extensions/QIStatusBarIndicator.cpp \
    12851287        src/extensions/QIStyledItemDelegate.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMenu.h

    r71895 r71896  
    2727/** QMenu extension with advanced functionality.
    2828  * Allows to highlight first menu item for popped up menu. */
    29 class QIMenu : public QMenu
     29class SHARED_LIBRARY_STUFF QIMenu : public QMenu
    3030{
    3131    Q_OBJECT;
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStatusBar.cpp

    r69500 r71896  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - VirtualBox Qt extensions: QIStatusBar class implementation.
     3 * VBox Qt GUI - Qt extensions: QIStatusBar class implementation.
    44 */
    55
    66/*
    7  * Copyright (C) 2006-2017 Oracle Corporation
     7 * Copyright (C) 2006-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    1919# include <precomp.h>
    2020#else
     21
    2122/* Qt includes: */
    2223# include <QAccessibleWidget>
     24
    2325/* GUI includes: */
    2426# include "QIStatusBar.h"
     27
    2528#endif
    2629
     
    5558
    5659
     60/*********************************************************************************************************************************
     61*   Class QIStatusBar implementation.                                                                                            *
     62*********************************************************************************************************************************/
     63
    5764QIStatusBar::QIStatusBar(QWidget *pParent)
    5865    : QStatusBar(pParent)
     
    6875    setStyleSheet("QStatusBar::item { border: 0px none black; }");
    6976}
    70 
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIStatusBar.h

    r69500 r71896  
    55
    66/*
    7  * Copyright (C) 2006-2017 Oracle Corporation
     7 * Copyright (C) 2006-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222#include <QStatusBar>
    2323
     24/* GUI includes: */
     25#include "UILibraryDefs.h"
    2426
    25 /** QStatusBar subclass extending standard functionality. */
    26 class QIStatusBar : public QStatusBar
     27/** QStatusBar extension with advanced functionality. */
     28class SHARED_LIBRARY_STUFF QIStatusBar : public QStatusBar
    2729{
    2830    Q_OBJECT;
     
    4547
    4648#endif /* !___QIStatusBar_h___ */
    47 
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