Photoshop/Gimp to PyQt

210 views
Skip to first unread message

Ruchit Bhatt

unread,
Apr 29, 2017, 11:02:18 AM4/29/17
to Python Programming for Autodesk Maya
I saw some youtube videos on styling QT via Photoshop/Gimp and it looks mind boggling.
I want to know that is it possible to do same using current Maya PySide 2 version ???  If you following this method then please share your workflow here.

Links
Styling Qt Quick Controls 2 with Photoshop
Photoshop to QML exporter
GimpExport

Marcus Ottosson

unread,
Apr 29, 2017, 4:36:11 PM4/29/17
to python_in...@googlegroups.com

Gah. Marketing. :)

This is nothing more than automating the export of .png files at certain sizes to a overwriting these to a pre-defined location on disk (A Photoshop feature) so as to force your program to load these updated ones instead.

You can do this with PySide(1) and in fact any GUI library, there’s nothing novel happening here but Qt marketing doing their best to attract views.

Despite this, QtQuick is interesting and yes you would be able use it with PySide2 if or when they ever come around to finishing it. Currently, in Maya 2017, the interop between Python and QML is severely limited, the later version of PySide2 shows more promise and maybe we’ll see that in 2018.

You would however be able to use PyQt5 with it, which has very good support for QML.

Here are a few projects of my own built with it.

Justin Israel

unread,
Apr 29, 2017, 8:04:33 PM4/29/17
to python_in...@googlegroups.com

Many years ago, I had to style an application by being given illustrator and svg graphics for the whole interface from the art department that the app was being built for.

http://justinfx.com/2010/03/16/southpark-a-crazy-little-interface-the-taskmonster/

We suggested it may not be a great idea, because it makes it less flexible to change.

Justin


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

Ruchit Bhatt

unread,
Apr 30, 2017, 9:10:56 AM4/30/17
to Python Programming for Autodesk Maya
Oh i thought, it will export layer style detail as stylesheet. export to *.png is useless.
Reply all
Reply to author
Forward
0 new messages