QUBTree on the clipboard
To copy and paste qub trees, you should register two custom formats:
- "qubtree", containing the binary tree returned by
toBuffer() (c++) or
getBytes() (python)
- "qubtreeName", containing the name of the root node as a string.
(so a client can quickly tell if it's appropriate to paste)