Node hover text clipping problem:
I was using hoverEnterEvent and hoverLeaveEvent to allow a string of text to be displayed over a node.
In Node::paint I’ve tried variants of drawText like…
painter->drawText( 0,-5, context );
to display a QString context above the node, the string is constrained to the Rect of the Node.
How do I give the string (variable length) a different display Rect than it’s associated Node?
All help welcome!
↧