Results 1 to 2 of 2

Thread: Print of QTextDocument

  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Print of QTextDocument

    Hi,
    I search for a way to Print QTextDocument with all formattet things such as Underline, Fontsize, Bold, ... on QPrinter.
    Or to define the size of a QTextDocument as Letter and Insert Images at fixed position. This are the way I prefer.

    Does anyone know how to do it?

  2. #2
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    1
    Thanked 9 Times in 9 Posts

    Default Re: Print of QTextDocument

    Hello!

    Please look at textedit demo in QTDIR/demos.

Similar Threads

  1. Change margin on QTextEdit print()
    By Dii in forum Qt Programming
    Replies: 2
    Last Post: 20th May 2008, 22:45
  2. QTextDocument stinks
    By elcuco in forum Qt Programming
    Replies: 4
    Last Post: 24th July 2007, 12:30
  3. QTextFrame::iterator richtext QTextDocument problem?
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 20th July 2007, 01:02
  4. Replies: 0
    Last Post: 28th June 2006, 20:49
  5. How to convert QTextDocument to PNG file?
    By Gonzalez in forum Qt Programming
    Replies: 1
    Last Post: 2nd February 2006, 14:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.