Re: [Nuke-python] Viewer cursor position.

2016-10-07 Thread Frank Rueter|OHUfx
Right, sorry. That sort of control has been requested for yonks. Having more access to the UI state would enable us all to write such cool UI and workflow tools, it'd be really nice to see some features on that level. On 7/10/16 8:47 PM, Mads Lund wrote: Should have been a bit more specific

Re: [Nuke-python] Viewer cursor position.

2016-10-07 Thread Mads Lund
Should have been a bit more specific than cursor position. I need the cursor position relative to the viewer image. Like the pixel analyzer gives me the exact XY coordinates on the image of the cursors position. Just without the need to hold down ctrl. On Thu, Oct 6, 2016 at 9:50 PM, Frank Rueter

Re: [Nuke-python] Viewer cursor position.

2016-10-06 Thread Frank Rueter|OHUfx
You should be able to use QT's eventFilter to get the cursor position. I.e. create an instance of an object that has an eventFilter installed and reports back the cursor position on mouse press. Or something like that. On 6/10/16 11:34 PM, Mads Lund wrote: Anyone found a hack to hook the curs