folder creation using the dialog box .
How can i ask one user to create a folder through one dialog box in qt .
So that whatever the name the user has given in the dialog box ( in a specific location,
for eg. c:/user/...) the folder will be created in that location and if the folder is
alreday present with the specific name in that location then replacement shall be done
Re: folder creation using the dialog box .
Re: folder creation using the dialog box .
here the user action is to create one folder . There is one button in my project , so when the user click that button at that time one dialog box should open where the user may allow to give the folder name , through that dialog box the user allow to select the location , like whether he wants to create the folder in desktop or c drive or d drive . if the folder is already present in that specific location then it will ask for replacement to the user , if the user press yes then it will replace that folder or else the folder is not getting replaced
Re: folder creation using the dialog box .
Then QFileDialog is something for you.
Re: folder creation using the dialog box .
i got it .QFiledialog::getexistingdirectory ()is the right function for it .....i was confused , since its appearance is different in win 7 and XP .Thats why i was unble to mark the newfolder button present in that dialog .