Hai guys,
Version  :  Qt 3.3.4
Problem :  Problem in the MODEL  property  of  a  QFileDialog 
I have the following windows or objects in screen:-
1. MyMainWindow
2. MyWizard  (  textBox,  BrowseButton ,  CancelButton.. )
3. QFileDialog
The parent-child realation is setted in the same order as above.
While Applicaitons loads the following will be the senario.....
1. MyMainWindow comes  
2. while clicking one menu , MyWizad comes with a BROWSE-BUTTON
3. While clicking on BROWSE-BUTTON , the below  method <code> saveInputDataToFile ( const QString& inputName, const Q_ULLONG& inputSize, QWidget* parent )  </code> will be invoked to popup a QFileDilog
  
	
	void MyMainWindow 
:: saveInputDataToFile( const QString
& inputName, 
const Q_ULLONG
& inputSize , 
QWidget* parent 
) {
-------
// parent = MyWizard object
 
-------
}
        void MyMainWindow :: saveInputDataToFile( const QString& inputName, const Q_ULLONG& inputSize , QWidget* parent )
{
-------
// parent = MyWizard object
QFileDialog * obj = new QFileDialog (  parent , "", true) ;
QString destFilePath = obj->getSaveFileName( QString::null, QString::Null, parent );
-------
}
To copy to clipboard, switch view to plain text mode 
  
My problem is that .....
 1 .While showing the " QFileDialog ", if am clicking on the MyMainWindow , 
 2. then the MyWizard's  ( shows in between MyMainWindow and QFileDialog  ) window highlighted , cursor will be in the wizard ( in a textBox near to BrowseButton )
 3. and we can access BUTTONS using tab Key. Even we can CLOSE that Wizard using KEYBOARD,  At the same time we can see the QFileDialog in the screen with out MyWizard 
I want to restrict this KEYBORD access in MyWizard...please help me 
Thank You.
				
			
Bookmarks