摘要: 1 tooltips、whatsthis ui->pushButton->setToolTip("Hello"); // 可以添加html标签 可以在文字前加图标 ui->pushButton->setWhatsThis("hello world"); // 还可以添加链接,可以点击并跳转 2 60 阅读全文
posted @ 2022-07-21 14:45 妖山鬼店 阅读(26) 评论(0) 推荐(0)
摘要: 1 这里用的ODBC,数据库连接参考上一课,但上一课没有db.close()? 2 how to make a query? QSqlQuery qry; // query: 查询 if (qry.exec("select * from table")) { while (qry.next()) { 阅读全文
posted @ 2022-07-21 07:15 妖山鬼店 阅读(71) 评论(0) 推荐(0)