Anyone know how to fetch the stylesheet of Maya 2015?

I've tried this:

from PyQt4 import QtGui, QtCoreimport sipimport maya.OpenMayaUI as mui
def get_maya_window():
    """Get the maya main window as a QMainWindow instance"""
    ptr = mui.MQtUtil.mainWindow()
    return sip.wrapinstance(long(ptr), QtCore.QObject)

maya_win = get_maya_window()
stylesheet = maya_win.styleSheet()

​


But there's no stylesheet to be found there...

Regards,
Fredrik

-- 
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_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPrBmkto_Ui87DTwgJQkMij-9ffVSjx%2B%2BBKMawWuuzzTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to