[Qt-interest] closeEvent

Gopalakrishna Bhat gopalakbhat at gmail.com
Wed Sep 8 14:54:31 CEST 2010


Hi,

You have to reject the event in the closeEvent function. i.e
event->ignore();

With regards,
Gopalakrishna Bhat A


On Wed, Sep 8, 2010 at 6:19 PM, nicola at nicoladefilippo.it <
nicola at nicoladefilippo.it> wrote:

>  Hi,
> i have reimplemented closeEvent for myForm (QWidget), but when i click on
> "X" (close) the form i closed!!
> What's happen?
>         Nicola
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100908/fc594ebb/attachment.html 


More information about the Qt-interest-old mailing list