Re: [Maya-Python] Re: control for colorpicker: color ring or spectrum

2018-02-20 Thread Justin Israel
On Tue, Feb 20, 2018 at 10:41 PM Michał Frątczak  wrote:

> Hi Eric !
> No I didn't know of that command, thanks !
> It has one drawback for my particular usecase. It needs to be closed to
> querry the color and I will have many loops like :select object>select color
> so I'd like to minimize clicking around. I'll search some more, eventually
> end up with palettePort
> Maybe Qt has something to offfer ?
>

Qt has a QColorDialog:
http://doc.qt.io/archives/qt-4.8/qcolordialog.html#details

It can signal when the current color in the open dialog has changed.


>
> On Tuesday, February 20, 2018 at 4:31:50 AM UTC+1, AK Eric wrote:
>>
>> Have you tried the colorEditor command?  The results of the selection can
>> be easily queried in rgb(+a) and hsv.
>>
> --
> 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/30e21c43-0ad9-4784-8e5f-ff6a60812f27%40googlegroups.com
> 
> .
> 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/CAPGFgA2jnvWqj-3Hwqfqx%3D3OxpfpCUqkpfsW04G%2BCghgVcwE2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Maya-Python] Re: control for colorpicker: color ring or spectrum

2018-02-20 Thread Michał Frątczak
Hi Eric !
No I didn't know of that command, thanks !
It has one drawback for my particular usecase. It needs to be closed to 
querry the color and I will have many loops like :select object>select color
so I'd like to minimize clicking around. I'll search some more, eventually 
end up with palettePort
Maybe Qt has something to offfer ?

On Tuesday, February 20, 2018 at 4:31:50 AM UTC+1, AK Eric wrote:
>
> Have you tried the colorEditor command?  The results of the selection can 
> be easily queried in rgb(+a) and hsv.
>

-- 
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/30e21c43-0ad9-4784-8e5f-ff6a60812f27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Maya-Python] Re: control for colorpicker: color ring or spectrum

2018-02-19 Thread AK Eric
Have you tried the colorEditor command?  The results of the selection can 
be easily queried in rgb(+a) and hsv.

-- 
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/c4791c25-e42a-408e-b59d-24018fe9f62e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.