QFile file("Help.txt"); QTextBrowser qtbHelpInfo; if ( file.open( QIODevice::ReadOnly) ) { QString qsText = QString(file.readAll()); qtbHelpInfo.setFont(*f2); qtbHelpInfo.setText(qsText); file.close(); }
posted on 2012-10-23 20:09 小风儿_xf 阅读(196) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 小风儿_xf Powered by .NET 9.0 on Kubernetes