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

void QGraphicsItem::setToolTip ( const QString toolTip  )  [inherited]

Sets the item's tool tip to toolTip. If toolTip is empty, the item's tool tip is cleared.

See also:
toolTip(), QToolTip

Definition at line 1233 of file qgraphicsitem.cpp.

References QVariant::toString().

    QString newCursor = itemChange(ItemToolTipChange, toolTip).toString();
    d_ptr->setExtra(QGraphicsItemPrivate::ExtraToolTip, toolTip);
    itemChange(ItemToolTipHasChanged, toolTip);

Generated by  Doxygen 1.6.0   Back to index