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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes