Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

automatically add suffix to the filename with QFileDialog?

$
0
0
under linux, even I set default suffix, it is not added to the filename, such as “xxx”, is it normal under linux?    QFileDialog filedialog(this);     filedialog.setDefaultSuffix("spf");     QString filename = filedialog.getSaveFileName(this,tr("Save Stepping File"), ".", tr("Stepping files (*.spf)"));

Viewing all articles
Browse latest Browse all 18427

Trending Articles