How can you add maya's color picker UI into a pyside tool?

2,678 views
Skip to first unread message

Geordie Martinez

unread,
Sep 3, 2014, 1:19:09 PM9/3/14
to python_inside_maya
hey all,
need some help.

I'm trying to figure out how to add maya's colorpickerUI into a pyside GUI.

it's the same color picker that comes up when you try and edit preferences - > colors
(see attached image)

Any help would be appreciated.

geordiecap.09_03.10_17_00.jpg

Justin Israel

unread,
Sep 3, 2014, 3:33:53 PM9/3/14
to python_in...@googlegroups.com

Do you specifically not want to use the Qt QColorDialog?
http://qt-project.org/doc/qt-4.8/qcolordialog.html

There isn't anything stopping you from using the Maya colorEditor if you really want that specifically:
http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/colorEditor.html

Either way, you can just wire a button to a slot that shows either one.

--
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/CABPXW4i9yxBH434p0%2BoE07TwwXVGnoPn1w-cS%3DZN_b2ttwygEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Geordie Martinez

unread,
Sep 3, 2014, 6:30:29 PM9/3/14
to python_inside_maya
colorEditor. that's what it's called. thank you. that is what I was looking for.


Reply all
Reply to author
Forward
0 new messages