O'Reilly logo

Advanced Qt Programming: Creating Great Software with C++ and Qt 4 by Mark Summerfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 image). 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required