Hello,

i want to extend the QTooltip class to embed a dynamically created picture 
also. It is placed in a QPixmap instance (or alike) but not on disk.

The idea is to derive QTootip (handling this picture) and pass it as tool tip 
in a QGraphicsWidget (or a derivation of it).

But there is no public signature which allows me to replace the embedded 
QToolTip instance of QGraphicsWigdet. Only texts (w/ reduced HTML) can be 
passed to the setTooltip method.

The only location i found, where it will be possible, is qgraphicswidget_p.h 
where the method setExtras could be used.

Do i really have to duplicate the QGraphicsWidget class tree to make this 
happen ?
Or is it - in this case - allowed to include the private header ?

Any ideas ?

regards
  Petric
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to