VirtualBox

Changeset 47091 in vbox


Ignore:
Timestamp:
Jul 11, 2013 12:03:46 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Popup-center: Alert about wrong color depth.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.cpp

    r47040 r47091  
    462462}
    463463
     464void UIPopupCenter::remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP)
     465{
     466    alert(pParent, "remindAboutWrongColorDepth",
     467          QApplication::translate("UIMessageCenter", "<p>The virtual machine window is optimized to work in <b>%1&nbsp;bit</b> color mode "
     468                                                     "but the virtual display is currently set to <b>%2&nbsp;bit</b>.</p>"
     469                                                     "<p>Please open the display properties dialog of the guest OS and select a <b>%3&nbsp;bit</b> color mode, "
     470                                                     "if it is available, for best possible performance of the virtual video subsystem.</p>"
     471                                                     "<p><b>Note</b>. Some operating systems, like OS/2, may actually work in 32&nbsp;bit mode "
     472                                                     "but report it as 24&nbsp;bit (16 million colors). You may try to select a different color "
     473                                                     "mode to see if this message disappears or you can simply disable the message now "
     474                                                     "if you are sure the required color mode (%4&nbsp;bit) is not available in the guest OS.</p>")
     475                                                     .arg(uWantedBPP).arg(uRealBPP).arg(uWantedBPP).arg(uWantedBPP),
     476          true);
     477}
     478
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.h

    r46984 r47091  
    101101    void remindAboutPausedVMInput(QWidget *pParent);
    102102    void remindAboutGuestAdditionsAreNotActive(QWidget *pParent);
     103    void remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP);
    103104
    104105private slots:
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