Hi everyone,
I have a very long rich text (html long text), and i want to display it on a QTextEdit without scrollbar, breaking the text in multiple pages (or qtextedit)
Anybody knows how can i do this?
Thanks in advance
K
Hi everyone,
I have a very long rich text (html long text), and i want to display it on a QTextEdit without scrollbar, breaking the text in multiple pages (or qtextedit)
Anybody knows how can i do this?
Thanks in advance
K
I know <DIV style=\"page-break-after:always\"></DIV> will add a page break via HTML have no idea how your context will render it - works great for making pdf's
make your own widget
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
<DIV style=\"page-break-after:always\"></DIV> doesn't work with the html subset of Qt (css properties are only added to html-table)
i tried to do my own widget with QFontMetrics and generating a new QTextDocument but when I insert a block to the new QTextDocument it always append blank character :-(
Bookmarks