PDA

View Full Version : QFileDialog to create folder



qt_developer
12th April 2013, 13:24
Hi all,

I use this code to select a folder:



QString path = QFileDialog::getExistingDirectory(NULL, tr("Select folder"), m_path);


This code allows to select a folder, see the below image.

http://i47.tinypic.com/2iw8y2w.jpg

I need create a folder.

Is it possible?

Kind regards.

anda_skoa
12th April 2013, 20:48
Most file dialogs have a tool button or a side bar option for creating folders.

Cheers,
_