Quote Originally Posted by talk2amulya View Post
when u use this:

Qt Code:
  1. value = diagnosButton->mapToGlobal(QPoint(0,0));
To copy to clipboard, switch view to plain text mode 

how far from the button does the tooltip show or it doesnt show at all?
thanks for reply ..
the assistant tells
"Translates the widget coordinate pos to global screen coordinates. For example, mapToGlobal(QPoint(0,0)) would give the global coordinates of the top-left pixel of the widget."
so i thought by default it will give the global pos of the button ...so i try to show the tooltip just above the coordinates ...