摘要: void AiEquAssistant::on_tabWidget_tabCloseRequested(int index) { if (index < 0) return; auto aa = QMessageBox::question(this, "tips", "window will be 阅读全文
posted @ 2025-12-22 16:44 txwtech 阅读(2) 评论(1) 推荐(0)
摘要: .qrc资源文件中,如果没有添加对应图片,就不显示。初始化tray设置的图片要添加到.qrc资源文件中 // 初始化 void ToTray::initToTray() { setToolTip(tr("AiEquAssistant")); // 设置工具提示 setIcon(QIcon(tr(": 阅读全文
posted @ 2025-12-22 13:25 txwtech 阅读(2) 评论(0) 推荐(0)