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

Support QPixmaps / QImages in style sheets

    XMLWordPrintable

Details

    Description

      I would like to have the possibilty to use QPixmaps (QIcons) or QImages in style sheets in an easy way - without having to save such a resource to disk and load it with url(file). The point of this would be that you can modify an image and use that in stylesheets directely;

      QPixmap p = some pixmap;
      widget->setStyleSheet("QWidget

      {background-image: pixmap(p);}

      ");

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes