[Qt-interest] signal emitted eveytime the dialog closes, in QT internally
Sahana Bhaskar
Sahana_Bhaskar at infosys.com
Tue Jun 28 14:32:37 CEST 2011
Sorry am a beginner in QT. I tried adding a signal for finshed() and respective slot. But was not able to. Could anyone help me out with this.
How to implement qdailog::finshed() in qfiledialog?
Thanks,
Sahana
-----Original Message-----
From: Mandeep Sandhu [mailto:mandeepsandhu.chd at gmail.com]
Sent: Tuesday, June 28, 2011 5:11 PM
To: Sahana Bhaskar
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] signal emitted eveytime the dialog closes, in QT internally
On Tue, Jun 28, 2011 at 4:44 PM, Sahana Bhaskar <Sahana_Bhaskar at infosys.com> wrote:
> Thanks, but finished() is a member of qdialog and I am working with qfiledialog.. can "finished" by any way be inherited in qfiledailog?
Signal are inherited by derived classes.
If you look at the documentation of 'QFileDialog'
(http://doc.qt.nokia.com/latest/qfiledialog.html), you'll see under the 'SIGNALS' section:
3 signals inherited from QDialog
...
So you can use the parent class' signals.
HTH,
-mandeep
**************** 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***
More information about the Qt-interest-old
mailing list