[Qt-interest] signal emitted eveytime the dialog closes, in QT internally

Malyushytsky, Alex alex at wai.com
Tue Jun 28 01:01:56 CEST 2011


I advise you to check concept of signals/slots again.

Once you understand that one object (not class) emits signal and
all objects (not classes) will have (all) connected to this signal slots called,
you basically will get answer to your question.

I am not sure I understand second question enough to answer it.
Anyway, it is a good idea to have 1 question per thread if they are unrelated.

Regards,
   Alex



-----Original Message-----
From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Sahana Bhaskar
Sent: Monday, June 27, 2011 6:08 AM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] signal emitted eveytime the dialog closes, in QT internally


Hi all ,

I have a dialog that can close under 2 scenario's
 1) I press some buttons on it say ok ,cancel..
2) press the 'x' button on the top of the dialog

Now I want to signal some class that the dialog was opened and closed by itself. Is it possible?  I.e. I want the dialog to tell the other classes that it was closed(so opened of course!)  by itself basically send a signal internally.

And also I have another question. When a URL is added/removed  to/from  the sidebar  in a dialog can we capture this event?

Thanks,
Sahana Bhaskar

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest


---------------------------------------------------------------------------------------------------
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.”


More information about the Qt-interest-old mailing list