2

Inside a mousePressEvent I do

QToolTip::showText(evt->globalPos(), "Test", this, rect(), 1000);

But the tooltip disappears after releasing the mouse button. If I don't release it, the tooltip disappears after that 1000 msecs.

iksemyonov
  • 4,106
  • 1
  • 22
  • 42
iBent
  • 392
  • 1
  • 2
  • 18

0 Answers0