Disable mouse events on labels?


#1

I have a rotary dial where I want to place a label showing the value, but the label traps mouse events and I can’t rotate the dial unless I click just outside the label, is there a way to disable this, so the mouse events can pass to the rotary dial?

Ok solved it!

label->setInterceptsMouseClicks(false,false);