10. Creating Rich Text Documents
In this chapter we will review three different approaches to creating rich text documents, and we will see how to export such documents in a variety of standard formats and also how to print them.* This chapter assumes a basic familiarity with QTextDocument
, as covered in the first section of the previous chapter (318 ). The three approaches we will use are, first, populating a QTextDocument
with raw HTML, second, populating a QTextDocument
using a QTextCursor
, and third, painting a document with ...
Get Advanced Qt Programming: Creating Great Software with C++ and Qt 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.