I'm wondering if there's a cleaner way to do this than the way I'm doing?
Let's say I have "myListWidget" which is multiple-selection enabled
QListWidget, I would then do this to print out the values of selected rows.
for item in list(myListWidget.selectedItems())
print myListWidget.item(myListWidget.row(item)).text()
I feel like I'm going through a lot of things to get to that text(). Is
there a cleaner or shorter way to do what I'm doing?
Thanks.
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe