Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-362

Get a transparent QPixmap back when grabbing transparent QWidgets with QPixmap::grabWidget

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.2.2
    • GUI: Painting
    • None

      QPixmap::grabWidget always returns an opaque pixmap, even if the widgets grabbed are all transparent. QPixmap::grabWidget should provide an overload that allows the caller to specify the color with which the pixmap should be initialized, or initialize the pixmap with the background role of the widget, and respect value of autoFillBackground property of the widget grabbed.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kjernase Trond Kjernåsen (Inactive)
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes