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.
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.
Copyright © 2021 Jogjafile Inc.