python html5 bootstrap 视频教程

德云社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11824|回复: 0

PySide2 print_() Qt5.7 QWebEnginePage::printToPdf Qt5.8 QWebEnginePage::print

[复制链接]

185

主题

204

帖子

1175

积分

工程师

Rank: 5Rank: 5

金钱
759
金币
15
威望
0
贡献
0
发表于 2017-2-7 16:35:25 | 显示全部楼层 |阅读模式
AI人工智能 语音助理 人工翻译 教程
PySide2 print_() Qt5.7 QWebEnginePage::printToPdf Qt5.8 QWebEnginePage::print

PySide2 QWebEngineView is different from the former QWebView. Printing is not supported.


From Qt 5.7 on, QWebEnginePage::printToPdf is supported, and from Qt 5.8 on have QWebEnginePage::print.


PySide 2 for Qt 5.15.0 官方文档编制 (中文人工翻译)

http://pyside.digitser.net/


Unfortunately, PySide2 cannot support more than Qt 5.6 at the moment due to parser limitations.


Until that is solved, you need to build PySide2 yourself and use the QtWebKit source packages.


PySide2 目前还处在开发阶段,并未正式对外发布。因此,还存在不少 Bug。


譬如:QWebEngineView 没有 print_() Slot,要到 Qt5.7 才支持 QWebEnginePage::printToPdf,到 Qt5.8 才支持 QWebEnginePage::print。


智能编辑重构 批处理式 "数字 Python IDE" 集成开发环境 (集成高效 Cython PyInstaller 批处理小程序)

http://dt.digitser.cn/zh-CN/ide/idepy/index.html


PySide2.0.0.dev0 for Python3.5 QT5.6.2 Win32&64(LGPL官方 .whl 格式安装包)

http://www.digitser.cn/thread-2023-1-1.html


扫一扫关注 德云社区 微信公众号

版权声明:
本文为独家原创稿件,版权归 德云社区,未经许可不得转载。

AI人工智能 语音助理 人工翻译 教程
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|Sitemap|小黑屋|德云社区 |网站地图  

GMT+8, 2024-4-19 15:21 , Processed in 0.028410 second(s), 27 queries .

工业和信息化部: 粤ICP备14079481号-2

技术支持 乐数软件     版权所有 © 2014-2021 德云社区    

快速回复 返回顶部 返回列表