Hi

I want to plot a graph of values read from a file in a tooltip of the cells which contains the index name for which data is to be plotted.
I am using QTableWidget. By using the following:

Qt Code:
  1. table->item(rowIndex, i)->setToolTip("Variable Name: " + table->item(rowIndex, i)->data(0)->toString());
To copy to clipboard, switch view to plain text mode 

am able to get the variable name in the tootltip. But how can I insert a plot in the tooltip.
Is there any alternative way of doing so?
I have to use tablewidget.

Thanks for any help in advance.-