tags:

views:

27

answers:

1

Hi! I'm trying to code a widget that utilizes HGE functionality. So I have subclassed from QWidget and overloaded paintEvent(). It works OK but troubles appear when I try to handle input. Events are handled only when mouse enters zone 2(link text) But I need to handle input in zone 1(where HGE is rendering). What should I do?

A: 

Maybe the problem is that HGE is rendering in it's own window, which you've put onto your QWidget subclass, and so your widget can't grab the mouse from the other window's area

Andrew