Results 1 to 2 of 2

Thread: QPixmap::GrabWidget

  1. #1
    Join Date
    Aug 2006
    Posts
    77
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QPixmap::GrabWidget

    Hi!

    I have a Q3ListView and i want to make a print preview.
    The idea was that i could grab the widget into pixmap and display it.
    The problem is that when i use this function i get the pixmap only of
    the visible area at the moment.

    Is it possible to grab the whole content of the Q3ListView into a pixmap ?

    thank your for your help.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QPixmap::GrabWidget

    Maybe you could use similar technique like in this thread?
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    kemp (29th November 2006)

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.