Hi to all, I'm using the following code to setup a tooltip text for a TreeWidgetItem:
myTreeWidgetItem->setToolTip(myColumn, "My ToolTip text");
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
"My ToolTip text"
"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:
<img src=":/images/myFileImage.png">
<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.
Bookmarks