PDA

View Full Version : Constantly updating tooltip text



sehnkim
18th May 2016, 23:06
Hello all,

I'd like to ask a question about the tooltip.

I keep receiving position and orientation data from a server (python socket),
and I want to display them using a tooltip.
But I don't know how to keep updating the tooltip text.
Note that the data is updating about 10 times per second.

Thanks.

wysota
24th May 2016, 07:00
It depends how you are showing the tooltip in the first place. For example you can use QWidget::setToolTip() or QToolTip::showText().