Hello,
I would like to know if it is possible to insert an image from the image collection in a QToolTip.
I know that it's possible to display an image in a tooltip by using HTML code in a QString like:
tip
(rect,
QString("<img src=\"image.png\">");
tip(rect, QString("<img src=\"image.png\">");
To copy to clipboard, switch view to plain text mode
but i need to insert a .png from the image collection i created with QT designer.
Normally i use the following function to get an image from the image collection:
QPixmap::fromMimeSource("image.png")
QPixmap::fromMimeSource("image.png")
To copy to clipboard, switch view to plain text mode
My problem is... i don't have a storage path to that image to insert at the src="" field
Maybe anyone can help me..
Bookmarks