Back to index
This custom action frees its menu if it does not already have an owner. More...
|QTMAction (QObject *parent=NULL)|
This custom action frees its menu if it does not already have an owner.
What's with the timer? the toolTips are not shown for items in the menu bar, because no mouse related events are ever sent to QActions placed there under MacOSX. We must use the signal hover() and add a timer to avoid instantly displaying the tooltip. This implies however ugly tradeoffs, see doShowToolTip().
|QTMAction::QTMAction||(||QObject *||parent = ||)|