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

void QWhatsThis::showText ( const QPoint pos,
const QString text,
QWidget w = 0 
) [static]

Shows text as a "What's This?" window, at global position pos. The optional widget argument, w, is used to determine the appropriate screen on multi-head systems.

See also:
hideText()

Definition at line 714 of file qwhatsthis.cpp.

References leaveWhatsThisMode(), QPoint::x(), and QPoint::y().

Referenced by Q3WhatsThis::display(), QTabBar::event(), QShortcut::event(), QWidget::event(), Q3WhatsThis::eventFilter(), Q3WhatsThis::leaveWhatsThisMode(), QMenuBar::mousePressEvent(), QAbstractItemView::viewportEvent(), and QHeaderView::viewportEvent().

{
    leaveWhatsThisMode();
    QWhatsThisPrivate::say(w, text, pos.x(), pos.y());
}


Generated by  Doxygen 1.6.0   Back to index