Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QString QWidget::toolTip [read, write, inherited]

the widget's tooltip

Note that by default tooltips are only shown for widgets that are children of the active window. You can change this behavior by setting the attribute Qt::WA_AlwaysShowToolTips on the window, not on the widget with the tooltip.

If you want to control a tooltip's behavior, you can intercept the event() function and catch the QEvent::ToolTip event (e.g., if you want to customize the area for which the tooltip should be shown).

By default, this property contains an empty string.

See also:
QToolTip statusTip whatsThis

Definition at line 196 of file qwidget.h.

Referenced by QAccessibleWidget::text(), and QGraphicsView::viewportEvent().


Generated by  Doxygen 1.6.0   Back to index