Getting closer ... (?)

from PySide.QtGui import QApplication
app = QApplicationprint app.style().metaObject().className()
>> QadskDarkStyle

​

Hm, I wonder if I can somehow extract the CSS from this.

// Fredrik


On Tue, Mar 10, 2015 at 5:35 PM Fredrik Averpil <fredrik.aver...@gmail.com>
wrote:

> No, I haven't.
> To be honest, I'm trying to snatch the complete stylesheet from Maya (if
> at all possible) to use that look in one of my UIs which runs outside of
> Maya.
>
> But it seems maybe this is not possible at all.
>
> // Fredrik
>
>
> On Tue, Mar 10, 2015 at 5:29 PM Marcus Ottosson <konstrukt...@gmail.com>
> wrote:
>
>> Fetch the stylesheet? I don't think there is such a thing. The stylesheet
>> you put into Qt is immediately parsed into native attributes and then
>> discarded.
>>
>> Have you managed this in previous versions of Maya?
>>
>> --
>> 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/CAFRtmOCrRyiYT_kAb_fJ1BjFDP2qkVjyZYbgbn%
>> 2BYQnajcMhLPA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCrRyiYT_kAb_fJ1BjFDP2qkVjyZYbgbn%2BYQnajcMhLPA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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%3DwhWPyozxHyjruv7_k8cx-EufpkuJyGVQ5LO1h0KkKbv548w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to