Maybe its possible to use the following function on a QTableWidget:
	
	
        QTableWidgetItem * QTableWidget::item ( int row, int column ) const
To copy to clipboard, switch view to plain text mode 
  Returns the item for the given row and column if one has been set; otherwise returns 0.
after you got the QTableWidgetItem, use this function on it:
	
	
        void QTableWidgetItem::setIcon ( const QIcon & icon )
To copy to clipboard, switch view to plain text mode 
  Sets the item's icon to the icon specified.
ah by the way a QIcon can be created from a pixmap using the following constructor: 
	
	
        QIcon ( const QPixmap & pixmap )
To copy to clipboard, switch view to plain text mode 
  
Correct me if i am wrong, i am currently not working with Qt4, but i remember i did something like this in the past  
				
			
Bookmarks