QFileDialog paste default name

120 views Asked by At

I was wondering either it is possible in Qt, when executing a file dialog, to paste a default highlighted name value already for "saving as", before user gives hes own. I Was not able to find this property.

enter image description here

I would appreciate all help!

1

There are 1 answers

1
Łukasz Przeniosło On

I have found the answer, the method is void QFileDialog::selectFile(const QString & filename)