Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAbstractMediaMenuItem class provides a base class for QMediaMenuItem More...
#include <QAbstractMediaMenuItem>
Inherits QObject.
Inherited by QMediaMenuItem.
The QAbstractMediaMenuItem class provides a base class for QMediaMenuItem
The QAbstractMediaMenuItem class is used to create a custom menu item used with a QMediaMenu
Constructs item with role set to QMediaList::Roles and a QMediaList of data
Constructs item with role set to QMediaList::Roles, filtered by filter and a QMediaList of data
Constructs item with QIcon icon display text text and a QMediaList of data
Constructs item
Add item to items submenu
Returns current QMediaList
See also setData().
This signal is emitted when display contents has changed.
Returns current display Role
Returns true if next selection is to be emitted This function is executed when item is selected but has no submenu
Returns current filter string
Returns current icon, null if no icon
Returns current level
See also setLevel().
Implement for custom menu items, handle your own drawing painter QPainter option QStyleOptionViewItem
Implement size() to return valid QSize
Remove item from items submenu
Set the QMediaList l as the data source for item
See also data().
Set the items level to l
See also level().
Returns size hint for item display, QSize(-1,-1) to use defaults
Returns current display text
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |