Results 1 to 2 of 2

Thread: exporting graphs ro pdf file

  1. #1
    Join Date
    Jul 2014
    Posts
    12
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default exporting graphs ro pdf file

    hello
    i have a code which print the graph as it is in pdf format. But i need to print additional data in the pdf report along with the graph, if not atleast graph should be exported to the other report which has some data printed on it.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: exporting graphs ro pdf file

    Since you provide no input what so ever on how you are creating the PDF, I will assume either QPdfWriter or QPrinter.

    Both are QPaintDevice implementations, so you can draw anything onto them using QPainter.

    Cheers,
    _

Similar Threads

  1. Exporting QML from inkscape
    By Cah in forum Qt Quick
    Replies: 0
    Last Post: 16th August 2014, 09:47
  2. Replies: 4
    Last Post: 26th April 2013, 17:54
  3. Exporting from a dll
    By Atomic_Sheep in forum General Programming
    Replies: 1
    Last Post: 20th April 2013, 14:53
  4. Exporting to RTF
    By gruszczy in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2009, 00:00
  5. creating and exporting .dll
    By hrcariaga in forum Qt Programming
    Replies: 2
    Last Post: 7th February 2008, 09:45

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.