Hi Justin,
sorry to have to bother you again. A problem I'm having with
using the qlistwidgetitem is that the text tend to get obscured by the
selection frame drawn (since the text is set to
align (QtCore.Qt.AlignBottom | QtCore.Qt.AlignHCenter)). Now, it was
possible to give a more customized look by creating a Qwidget with 2 labels
to hold the thumbnails and text and using setItemWidget but it seems that
the QStyledItemDelegate only draws over the QListWidgetItem but not the
custom Widget set into it (Feels like the custom widget is set atop of the
QListWIdgetItem). I could use setstylesheet to individually control the
behavior of the 2 labels in the custom widget together with the
itemdelegate but it seems rather inefficient to do it that way. I was
wondering if there might be a flag or command that I'm missing, thanks
again for any assistance rendered :)
--
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/3cef5d44-a3e5-4dd1-89ce-a587b096a658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.