>From Carlos's maya commands module solution, I have also updated my
previous solution with the equivalent example using
QApplication.keyboardModifiers. This does not require a custom push button
as you can do it all (same as maya cmds) in your handler:

https://gist.github.com/4197119



On Mon, Dec 3, 2012 at 11:03 AM, ammu0608 <[email protected]> wrote:

> I don't think that you can select multiple button by using shift key. I
> think you have to use checkable option. Let's see what others have to say
> about this.
>
> Thanks and Regards,
> Sudeepth Patinjarayi.
> On Dec 4, 2012 12:24 AM, "Rishis3D" <[email protected]> wrote:
>
>> if i use list widget .. then there is no point of using GUI.. so i cant
>> use list widget ... the main purpose of UI is easy to select ctrls in UI
>> then viewport selection.. becoz i have a Characater Image in the BG of my
>> UI.. so i can select easily select the particular body of ctrls  in UI
>> and if i use checkable option in Qpushbtn, then  i hv to click one more
>> time for deselect the ctrl.. so.. any other option?
>>
>> --
>> view archives: http://groups.google.com/group/python_inside_maya
>> change your subscription settings:
>> http://groups.google.com/group/python_inside_maya/subscribe
>>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to