Results 1 to 3 of 3

Thread: WYSISYG display in QGraphicsScene

  1. #1
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default WYSISYG display in QGraphicsScene

    Hi!

    How can I display all the items in QGraphicsScene using WYSIWYG approach. I mean, all the images, text etc should be displayed on the monitor screen using GraphicsScene should be displayed in the same size as they will appear on a paper if printed.

    Hope, I made the problem clear. Thank you all in advance.

    Regards,
    Manoj

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: WYSISYG display in QGraphicsScene

    It should be like that by default, provided you set the right parameters on the printer painter. Just make your scene correspond to the rectangle you want printed later (for example A4).

  3. #3
    Join Date
    May 2007
    Posts
    106
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: WYSISYG display in QGraphicsScene

    Thanks, I was even thinking in the same direction. :-)

Similar Threads

  1. Replies: 12
    Last Post: 7th September 2011, 16:37
  2. Display only PNG image on desktop
    By durbrak in forum Qt Programming
    Replies: 32
    Last Post: 15th March 2008, 21:55

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.