Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The MenuButton class encapsulates the current information for a configured soft button. More...
The MenuButton class encapsulates the current information for a configured soft button.
QSoftMenuBarProvider::MenuButton instances can only be created and returned from a QSoftMenuBarProvider instance.
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
Create a new, null MenuButton.
Create a copy of other.
Destroys the MenuButton instance.
Return the index of this button within the list of configured buttons. For example,
QSoftMenuBarProvider prov; prov.key(2).index() == 2;
For null buttons, the return value will be -1.
Return the Qt key code for the key this soft button is configured for.
Return the current pixmap to display for this soft button, scaled to the current style's small icon size metric. The pixmap may be null.
Return the name of the pixmap to display for this soft button. This will be the same as that passed to QSoftMenuBar::setLabel() and is only provided for completeness. Generally applications should use pixmap() to retrieve the pixmap directly.
Return the current text to display for this soft button. The text may be empty.
Assign other to this instance.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |