Drag from pypanel and drop value onto parameter

   1087   0   1
User Avatar
Member
183 posts
Joined: Dec. 2011
Offline
So I have a custom pyside panel I have been making and am trying to figure out how to drag items from a QTableWidget and drop them into a parameter on a node, with the result being that the node parameter gets filled in with a value relating to the dropped element.

I have been searching the documentation for ideas on how to do this and found the drag and drop section of the hou.ui class. However I'm not sure how to relate this to my panel or how to get the parameter that I mouse over and drop into.

Any tips?
  • Quick Links