--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/0b39a7de-136a-4328-9de8-b1353bc9cb41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
This email is free from viruses and malware because avast! Antivirus protection is active. |
Maybe others have had a different experience, but I found it to be a bit dodgy to try and modify builtin widgets of the Maya UI by finding them through PyQt and operating on them informally. You don't always know when they will tear them down and rebuild them, or if something will change between versions. If you can get it working the way you want, great. But it should kind of be expected that it may not always work reliably.
Not sure I can agree with that, to be honest. In this case, it sounds like he merely wants to make a quick change to what is already working well; no need to go implementing things from scratch.That said, Justin's dvd does a very good job at explaining how you could do exactly that if you need to.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD8zq0FDGc%2BUSciqpry1k6JrpLWvUcuqWqWm4TY_9jYDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1vV0hT93Y4EbDbxejhXqqWAe_eE5sOe4KYzc4nrUBa%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Agreed; I was referring to the use of “general” which didn’t feel to be completely true.
I wish I could add icons or change the background color.
To answer the original question; once you’ve got a reference to the Channel Box, you can apply a Stylesheet that might give you enough control; though it’s limited when working with the Channel Box in particular, due to it’s internal widgets (QTableView using QStyledItemDelegates) not utilising QPalette or an existing stylesheets but rather calling paint() directly from which you can’t (?) take control.
As we’ve had similar experiences in this regard, it’d be interesting to see what your experiences are specifically. Here’s a few nuggets of how I’ve attempted it, more or less successfully, if you have something to share, I would be most interested in having a look!
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/591ee90a-1dbd-4826-9c43-b817a8bf0132%40googlegroups.com.