Results 1 to 3 of 3

Thread: is it possible to save a webpage as an image?

  1. #1
    Join Date
    Aug 2006
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows

    Red face is it possible to save a webpage as an image?

    hi folks,

    i need to fetch some web pages and save them as images. so i'm wondering if i can let the Qwebview control be drawn onto a picture?

    thanks

  2. #2
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Thanks
    14
    Thanked 41 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: is it possible to save a webpage as an image?

    Read up on QPixmap::grabWidget() & QPixmap::grabWindow(). Probably will get it done.

  3. #3
    Join Date
    May 2008
    Posts
    58
    Thanks
    2

    Default Re: is it possible to save a webpage as an image?

    please refer to the QTableView 's source code , you can see how to save the screen as a bitmap
    in table view when you move section, it will copy current screen

Similar Threads

  1. save table as an image
    By ulmly in forum Qt Programming
    Replies: 4
    Last Post: 26th June 2008, 09:12
  2. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 03:10
  3. how to save somtihing drawed on QPaiter to an image?
    By cxl2253 in forum Qt Programming
    Replies: 3
    Last Post: 15th December 2006, 10:34
  4. Replies: 7
    Last Post: 12th August 2006, 16:11
  5. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 17:36

Tags for this Thread

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.