Re: Mouse cursor leaving/entering a widget causes repaint for whole widget
Originally Posted by jimfan
Thanks for your information Wysota, one more question though, can I just call setAttribute in the widget constructor to make sure this attribute is set to false? I tried that and it seems that Qt is still repainting the widget so just wondering if I missed anything..
No, you can't. The style may override the hover attribute. You just have to live with it. Or change the style to one that doesn't have hover effects
Bookmarks