QFileDialog::getSaveFileName设置默认的保存名称

QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"), "./未命名.bmp", tr("Images (*.bmp)"));
原文地址:https://www.cnblogs.com/tingtaishou/p/15796211.html