Results 1 to 4 of 4

Thread: Export GraphicsView contents as JPG

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Unhappy Export GraphicsView contents as JPG

    Hi, the following code doesn't seem to work, it should take a 'screenshot' of the contents of the whole of the QGraphicsView. For some reason it doesn't. The contents of the saved file is blank (open in notepad, no data at all).
    If I change JPG to BMP it works, but the image is inverted. (black white white black)
    Anybody know what I'm doing wrong?
    Last edited by Terabyte; 5th January 2009 at 19:43.

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.