2021年8月15日

摘要: alt+enter 快速在.cpp中添加槽函数 阅读全文
posted @ 2021-08-15 20:37 哆啦E梦 阅读(38) 评论(0) 推荐(0) 编辑
 
摘要: void MainWindow::on_actionSave_Document_triggered() { QString fileName = QFileDialog::getSaveFileName(this, "Save document...", qApp->applicationDirPa 阅读全文
posted @ 2021-08-15 16:13 哆啦E梦 阅读(280) 评论(0) 推荐(0) 编辑
 
摘要: //获取保存路径 QString savepath = QFileDialog::getSaveFileName(this); //创建文件对象 QFile file(savepath); if(!file.open(QIODevice::ReadWrite)) //读写方式打开 { ui->sta 阅读全文
posted @ 2021-08-15 11:20 哆啦E梦 阅读(847) 评论(0) 推荐(0) 编辑