qt - How to draw something in a tooltip? -


i trying develop functionality using qt don't know whether possible implement. here requirement:

when user hovers on node (an object derived qgraphicsitem), window shown near node, in window there might histograms or buttons can clicked show further information. when mouse leaves window, automatically close.

i tried use tooltip, because can pop-up near node , close when mouse leaves it, can show text. so, still cannot work way. wondering if there way this? did lots of google search, there still no answer.

thanks helping me this.

if you're ok using 3rd party library, qxt provides class provides tooltip qwidget based, let use arbitrary widget tooltip rather text.

see: qxt::tooltip


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -