yes, sounds like the same thing

On 05/11/13 18:21, Ben Dickson wrote:
I've noticed some similar-sounding wonkyness with enumeration knobs in
PythonPanels:

class ScrollError(nukescripts.PythonPanel):
     def __init__(self):
         nukescripts.PythonPanel.__init__(self, "Scroll test")

         self.things = nuke.Enumeration_Knob(
             "things", "Things!", ['a', 'b', 'c'])
         self.addKnob(self.things)

ScrollError().showModalDialog()


Run that, click the dropdown, then try and use the mouse-wheel to change
the selection - it deselects the knob and the panel becomes active
(orange border)

Similar problem? I half recall this started when Nuke started
automatically making the PythonPanels scrollable (Nuke 6?)

On 05/11/13 15:34, Nathan Rusch wrote:
Hmm, looks like you're right, though it only affects docked widgets.
That could be quite annoying... Sounds like it's worth a support ticket
to at least see if this is an oversight, or a symptom of some other
"convenience" behavior. I wouldn't be surprised if the PyCustom knob was
somehow responsible.

-Nathan


-----Original Message----- From: Frank Rueter
Sent: Wednesday, October 30, 2013 8:20 PM
To: Nuke Python discussion
Subject: [Nuke-python] QT wheelEvent

Hi all,

has anybody tried to implement wheelEvent() on a custom PySide widget
inside of Nuke?
It seems like Nuke's panel widget eats the QWheelEvent without the
custom child widget getting a chance to receive and handle it.

Or is there a clever trick to ensure the widget under the cursor gets
the wheel event before it's passed up to parent widgets?

Cheers,
frank
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to