VirtualBox

Changeset 35808 in vbox


Ignore:
Timestamp:
Feb 1, 2011 11:22:40 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: allow some customizations

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

Legend:

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

    r35730 r35808  
    131131        $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
    132132        $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
    133         $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER)
     133        $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
     134        $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1)
    134135ifdef VBOX_WITH_DEBUGGER_GUI
    135136 VirtualBox_DEFS        += VBOX_WITH_DEBUGGER_GUI
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp

    r35730 r35808  
    516516        indicatorsPool()->indicator(UIIndicatorIndex_Mouse)->setState(machineLogic()->mouseHandler()->mouseState());
    517517    }
     518
     519#ifdef VBOX_GUI_WITH_CUSTOMIZATIONS1
     520    /* The background has to go black: */
     521    QPalette palette(centralWidget()->palette());
     522    palette.setColor(centralWidget()->backgroundRole(), Qt::black);
     523    centralWidget()->setPalette(palette);
     524    centralWidget()->setAutoFillBackground(true);
     525    setAutoFillBackground(true);
     526#endif /* VBOX_GUI_WITH_CUSTOMIZATIONS1 */
    518527}
    519528
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