
QT
tina_tian1
行到水穷处,坐看云起时
展开
-
qtablewidget 导出为 excel
From: http://blog.youkuaiyun.com/cool222/article/details/38639647 在 Qt 5.2 中使用 OLE 将 qtablewidget 导出为 excel,效果如下: 只用了一个函数,大家可以把它粘贴到自己的类里使用。 在头文件中请包含以下文件: #include #include #include转载 2015-11-09 15:02:16 · 1630 阅读 · 0 评论 -
通过QT 转换html文件为word文档
void onPrintBtn(){ //1. open SaveDialog and get a file name if (last_path_.isEmpty()) { QString path = QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation).at(0); QDir::root()原创 2015-11-09 15:06:22 · 5225 阅读 · 0 评论