Hi to all, I'm using the following code to setup a tooltip text for a TreeWidgetItem:
Qt Code:
  1. myTreeWidgetItem->setToolTip(myColumn, "My ToolTip text");
To copy to clipboard, switch view to plain text mode 

I would like to set a QPixmap instead of
Qt Code:
  1. "My ToolTip text"
To copy to clipboard, switch view to plain text mode 
, but i can't.

I could use a rich text to load image from resources, for example:
Qt Code:
  1. <img src=":/images/myFileImage.png">
To copy to clipboard, switch view to plain text mode 
but i would mix the code above with a QPixmap dynamically generated.

Do I have to use QMimeData?
Any suggestions?

Many Regards.