Try this one on for size.
from PySide import QtGui
QtGui.qApp.setStyleSheet("""
QWidget {
background: steelblue
}
""")
That should give you a good estimate on the level of control you have
through stylesheets and the overall Maya interface.
Don’t worry, you can restore it to it’s former glory like this.
from PySide import QtGui
QtGui.qApp.setStyleSheet("")
- Reference <https://doc.qt.io/qt-4.8/stylesheet.html>
--
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/CAFRtmODHs%3D6DRmaPDs-nnsZTCFPrufJMrU6FnEkgBzg9VPx-Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.