VirtualBox

Ignore:
Timestamp:
Oct 9, 2007 11:00:07 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25120
Message:

FE/Qt: Added VBoxGlobal::setTextLabel(), a proper reimpl of QToolButton::setTextLabel() that assigns a correct accel if it is present in the text string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r5160 r5193  
    4141class QAction;
    4242class QLabel;
     43class QToolButton;
    4344
    4445// Auxiliary types
     
    431432                               const char *aDisabled = 0, const char *aSmallDisabled = 0,
    432433                               const char *aActive = 0, const char *aSmallActive = 0);
     434
     435    static void setTextLabel (QToolButton *aToolButton, const QString &aTextLabel);
    433436
    434437    static QRect normalizeGeometry (const QRect &aRect, const QRect &aBoundRect,
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