VirtualBox

Changeset 52013 in vbox


Ignore:
Timestamp:
Jul 14, 2014 11:10:03 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 3646: Extra-data Manager: Allow to change stastus-bar content at runtime.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/extradata
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r51996 r52013  
    28212821}
    28222822
     2823void UIExtraDataManager::setRestrictedStatusBarIndicators(const QList<IndicatorType> &list, const QString &strID)
     2824{
     2825    /* Parse passed list: */
     2826    QStringList data;
     2827    foreach (const IndicatorType &indicatorType, list)
     2828        data << gpConverter->toInternalString(indicatorType);
     2829
     2830    /* Re-cache corresponding extra-data: */
     2831    setExtraDataStringList(GUI_RestrictedStatusBarIndicators, data, strID);
     2832}
     2833
    28232834#ifdef Q_WS_MAC
    28242835bool UIExtraDataManager::presentationModeEnabled(const QString &strID)
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h

    r51996 r52013  
    364364        void setMiniToolbarAlignment(Qt::AlignmentFlag alignment, const QString &strID);
    365365
    366         /** Returns restricted Runtime UI status-bar indicators. */
     366        /** Returns restricted Runtime UI status-bar indicator list. */
    367367        QList<IndicatorType> restrictedStatusBarIndicators(const QString &strID);
     368        /** Defines restricted Runtime UI status-bar indicator @a list. */
     369        void setRestrictedStatusBarIndicators(const QList<IndicatorType> &list, const QString &strID);
    368370
    369371#ifdef Q_WS_MAC
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