Results 1 to 17 of 17

Thread: Creating documents from Qt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Creating documents from Qt

    Well it depends what your customer want to do with the document. If don't want to change it, I would go for pdf, since then it is guaranteed, that it look everywhere the same and you can store the document a long time. If you want to change values then of course go for odf. But it sounds like your costumer only wants something to print out.

    For pdf there are some examples, but effectively it is nothing else than painting (using QPainter) on a defined piece of paper where you have to positioning the elements. One nice thing is that you can also use a QTextDocument for more advanced text documents and print it directly using QTextDocument::print().

  2. The following user says thank you to Lykurg for this useful post:

    GrahamLabdon (23rd April 2010)

Similar Threads

  1. QDockWidget and Multiple Documents
    By freelucas in forum Qt Programming
    Replies: 0
    Last Post: 19th February 2010, 12:44
  2. Can Qt handle pdf documents???
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd March 2009, 16:16
  3. QDirModel displaying Desktop and Documents
    By JimDaniel in forum Qt Programming
    Replies: 2
    Last Post: 8th February 2008, 05:45
  4. Help creating a PDF doc
    By Dark_Tower in forum Qt Programming
    Replies: 5
    Last Post: 10th December 2006, 13:43
  5. opengl documents
    By neomax in forum General Discussion
    Replies: 1
    Last Post: 20th November 2006, 08:27

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
  •  
Qt is a trademark of The Qt Company.