[Qt-interest] How to pass a QMouseEvent to another object?
John McClurkin
jwm at nei.nih.gov
Thu Jul 9 14:01:27 CEST 2009
Kermit Mei wrote:
> On Thu, 2009-07-09 at 09:34 +0530, Keshava Krishna wrote:
>> May be you can override mouse events in the widget that contains both
>> your buttons and label, there by u can get all mouse events...
>
> I did it, but when I press on the button firstly, it will never get the
> event.
You will have to install an event filter on all the buttons. See the
Events and Event Filters section of the Overviews.
More information about the Qt-interest-old
mailing list