You can modify a QPushButton and check for the keyboard modifiers. I wrote an example for you: https://gist.github.com/4197119
-- justin On Mon, Dec 3, 2012 at 10:53 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
