View Single Post
Old 02-10-2023, 10:59 AM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,841
Karma: 6120478
Join Date: Nov 2009
Device: many
It just uses QPlainTextEdit print(QPrinter*) so on my screen when running "print preview" it just shows syntax coloured html source code of the current Tab on a white background for me.

This is much easier stuff than printing from a QtWebEngine webview which is what you do in PageEdit. We still need to fix that when printing Image Tabs and Audio Video tabs.

The current code only broke because how signals and slots changed in Qt over the years and, not because of QtWebEngine vs QtWebKit as far as I can tell.

Last edited by KevinH; 02-10-2023 at 11:03 AM.
KevinH is offline   Reply With Quote