Ahhh so that was my mistake. I was wondering if I made any typos from the
C++ docs. Thank you once again for your time!
Another quick question though, right now if I want my stylesheet to be more
of a overlay(semi transparent) or an outline, how would I go about
achieving that? I tried using
self.setAttribute(QtCore.Qt.WA_TranslucentBackground)
self.setStyleSheet("::item:hover{ground: transparent;}"
All it does is overwrite the entire image and make it transparent
it's the same with:
self.setAttribute(QtCore.Qt.WA_TranslucentBackground)
self.setStyleSheet("::item:hover{padding: 2px 25px 2px 20px;\
border: 1px solid transparent; /* reserve space for selection border
*;}"
)
Thanks again!
Gann Boon Bay
>
>>
>
--
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/940059fd-756b-471f-aa3c-3a0e6a8220fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.