Now I want to show some tips when my mouse hovered on some QTreeWidgetItem in QTreeWidget.

but the tips sometimes show and change well,but sometimes it does not changed,although
I have to change the position.
The porblem is:
when the mouse hovered on the first item,it should be show like "TipA";
and the second third item also show the tip "TipA".but the position should be changed!

but now,it didn't changed!

In QTooltip::showText,I find this code:
Qt Code:
  1. else if (!QTipLabel::instance->fadingOut){
  2. // If the tip has changed, reuse the one
  3. // that is showing (removes flickering)
  4. if (QTipLabel::instance->tipChanged(pos, text, w)){
  5. QTipLabel::instance->reuseTip(text);
  6. QTipLabel::instance->setTipRect(w, rect);
  7. QTipLabel::instance->placeTip(pos, w);
  8. }
  9. return;
  10. }
To copy to clipboard, switch view to plain text mode 

if my tip contents didnot changed,it will be returned direct when I use QToolTip::showText();

so in function tipChanged,should add some judgement like pos!