I confirmed that , " QFileDialog's " parent is " QMyWizard " in run time.
I have debugged the code it shows ....
void MyMainWindow :: saveInputDataToFile( const QString& inputName,
const Q_ULLONG& inputSize ,
{
-------
const char * Name = parent->className();
// in run time the Name is MyWizard.
-------
}
void MyMainWindow :: saveInputDataToFile( const QString& inputName,
const Q_ULLONG& inputSize ,
QWidget* parent )
{
-------
const char * Name = parent->className();
// in run time the Name is MyWizard.
QString destFilePath = QFileDialog::getSaveFileName( ..., .., ..., ..., parent );
-------
}
To copy to clipboard, switch view to plain text mode
I think i have to do some thing else ...
Thank you so much for sparing your time for me
Bookmarks