title: How to split QTextEdit into pages?
body: <p>I'm using QTextEdit from C++ Qt5. I want to properly split and show rich text in numerated pages similarly to how it's done in Microsoft Word. I've tried <code>document-&gt;setPageSize</code>, however that does not work for me - text is still shown in one continuous page.</p>