[Interest] QGraphicsWidget and custom QToolTip

Till Oliver Knoll till.oliver.knoll at gmail.com
Wed Jan 22 08:21:11 CET 2014


Am 21.01.2014 um 20:25 schrieb Petric Frank <pfrank at gmx.de>:

> ...QGraphicsWigdet. Only texts (w/ reduced HTML) can be 
> passed to the setTooltip method.

Haven't tried it, but wouldn't it be possible to define an <img> tag then which references an /embedded/ QPixmap (which would have to be dynamically created, off course - somehow).

> ...
> Or is it - in this case - allowed to include the private header ?

It is always "allowed" to include whatever you want (at least in the Qt world anyway - some other companies have a different view on that topic when it comes to "App Store Rules" ;)), as long as you remember what "private" implies: "You're on your own!"

So the only one who might "punish" you is your compiler once those private headers change...

That said, if you have a valid use case and the private API call does work, you could make a "feature request" - or even better: provide your own Qt changes to the project for review :)

Cheers,
  Oliver


More information about the Interest mailing list