[Qt-interest] QPaint Event unhandle expection....for a QMainWindow derived class

Malyushytsky, Alex alex at wai.com
Fri Mar 27 14:00:44 CET 2009


It means you have to find what makes your program to throw an exception.
Debug it.

________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Giancarlo Amati
Sent: Friday, March 27, 2009 5:50 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] QPaint Event unhandle expection....for a QMainWindow derived class

Hello everybody,

I have my own Class CMainWindow which is derived from QMainWindow in the following way:

Class CMainWindow: public QMainWindow {
 Q_OBJECT;
.....bla bla bla

....}

now,

my problem is that whenever there is an event related to this class lice Pain, Mouse.... i receive an unhandle exception which makes my software crash.
So i wonder...what should I add to my class? I mean...I must redirect all these event to the standards handlers which I believe are in the QMainWindow QT class.

Any Suggestion?

Kind Regards.
Giancarlo
________________________________
La tua immagine personale dinamica per Messenger? Creala gratis con Avatar Studio!<http://clk.atdmt.com/GBL/go/136430519/direct/01/>


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090327/eacae402/attachment.html 


More information about the Qt-interest-old mailing list