[Qt-interest] mousePressEvent on MainWindow

Srdjan Todorovic todorovic.s at googlemail.com
Fri May 15 11:09:18 CEST 2009


2009/5/15 Sujan Dasmahapatra <sdh at lmglasfiber.com>:
> I am trying with different option if it works…..actually its working but
> when  I ma clicking on tablewidget it’s not working ……….tablewidget is a
> widget on the mainwindow.

I think I remember reading somewhere that when you handle an event,
you end up discarding it (as default?).
Not sure if I remember right.

You may have to override the QTableWidget's mouse*Event() methods to
also cascade the event to the parent main window.

Hope that helps,
Srdjan




More information about the Qt-interest-old mailing list