Hi,

I have almost the same code but I want to show which QTreeWidgetItem is dragging hence the pixmap must be created with the caption of the QTreeWidgetItem!

Dennis, you indicated
Qt Code:
  1. drag->setPixmap(yourPixmap)
To copy to clipboard, switch view to plain text mode 
but how you create yourPixmap with the caption of the QTreeWidgetItem?

Carlos.