On 05/13/2011 08:49 PM, Hugo Pereira Da Costa wrote: > [...] > So, to "fix" it to your liking, implementing the mousePressEvent for the > scrollarea, and setting event->ignore()
I'm sure you meant accept(), not ignore() :-) > should work. Basically aside > from a couple of exceptions, oxygen consider an area as empty, as soon > as the top level widget -QMainWindow- gets a mouse-press event, which > indicates that no child widget must have used it (hence -> empty). Yep, I've now provided an override for mousePressEvent() in the affected QScrollArea subclass, with just an e->accept() in it, and it works as advertised. Thanks for the help! I can imagine one issue though; since there's no real reason to override that handler if you don't care about mouse press events, people who don't know about Oxygen (Windows people, Gnome people writing in Qt, whatever) will never do that. Maybe it might be worth pursuing the standardization of a no_window_grab flag. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<