08 2024 档案

摘要:bool SqliteDbManager::insertData(const QString& sql) { // 开启事务 if (!m_db.transaction()) { qDebug() << "无法启动事务:" << m_db.lastError().text(); return fal 阅读全文
posted @ 2024-08-14 11:52 雾枫 阅读(61) 评论(0) 推荐(0) 编辑
摘要:bool DdrawCircleOnImage( const QString &inputImagePath, const QString &outputImagePath, QVector<QPoint> dotData ) { if ( inputImagePath.isEmpty() || o 阅读全文
posted @ 2024-08-08 19:16 雾枫 阅读(45) 评论(0) 推荐(0) 编辑
摘要:bool BasicDotChart::saveAsImage(const QString &path) { // 获取窗口的 QPixmap QPixmap pixmap = this->grab(); // 弹出保存文件对话框,选择保存位置和文件格式 QString filePath = pat 阅读全文
posted @ 2024-08-08 19:14 雾枫 阅读(107) 评论(0) 推荐(0) 编辑
摘要:RC_ICONS = $$PWD/res/app.ico 在pro文件中添加以上代码 阅读全文
posted @ 2024-08-05 15:26 雾枫 阅读(24) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示