While I am not very adept in using PyQt yet, and this script that I have 
currently have on hand, is taken from a tool (with edited functions here 
and there).
I am wondering if you could advise, if it will be better for me to re-write 
the whole thing?

Truth be told, as mentioned, that I took the code from somewhere I am not 
entirely understanding the script very well.
Even so, if I am do planning to rewrite where need to have some of the 
features:

* Populates the tree from a given list of strings - example. 
"|ObjectA|ObjectB|ObjectC|..." such that the hierarchy is almost the same 
as the ones in the Outliner where you can collapse them
* Appends icon towards each item based on their node type

Will the above features be better/ easily implement using a QTreeWidget, 
rather than a QTreeView?
(I mention QTreeWidget as there seems to be more information for some other 
features I wanted, eg. for text/ cell color etc)

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5d51a6af-23da-4c71-9946-bc641dfd0cdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to