VirtualBox

Changeset 52785 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 18, 2014 1:44:35 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96169
Message:

FE/Qt: Runtime UI: Sliding toolbar: Using Qt API for the translucency support under Mac OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISlidingToolBar.cpp

    r52730 r52785  
    7474     * until the first one paint-event: */
    7575    setAttribute(Qt::WA_NoSystemBackground);
    76 # if defined(Q_WS_MAC)
    77     /* Using native API to enable translucent background:
    78      * - Under Mac host Qt doesn't allows to disable window-shadows
    79      *   until version 4.8, but minimum supported version is 4.7.1. */
    80     ::darwinSetShowsWindowTransparent(this, true);
    81 # elif defined(Q_WS_WIN)
    82     /* Using Qt API to enable translucent background:
    83      * - Under Mac host Qt doesn't allows to disable window-shadows
    84      *   until version 4.8, but minimum supported version is 4.7.1.
    85      * - Under x11 host Qt has broken XComposite support (black background): */
     76    /* Use Qt API to enable translucency: */
    8677    setAttribute(Qt::WA_TranslucentBackground);
    87 # endif /* Q_WS_WIN */
    8878#endif /* Q_WS_MAC || Q_WS_WIN */
    8979
Note: See TracChangeset for help on using the changeset viewer.

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