Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QGraphicsWebView smooth pixmap

QGraphicsWebView smooth pixmap

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bunjee
    wrote on last edited by
    #1

    Dear trolls,

    I have a QGraphicsWebView embedded in QGraphicsView with the QPainter::SmoothPixmapTransform flag enabled.

    The pictures of my QGraphicsWebView does not seem to be smoothed like they are in the Google chrome browser for instance.

    Is there a way to enable this ?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      benjamin.poulain
      wrote on last edited by
      #2

      The flag QPainter::SmoothPixmapTransform only affects the way QGraphicsItem are transformed. For WebKit, this applies for AcceleratedCompositing, but not for regular transformed layers.

      QtWebKit 2.0 did not have antialiasing for transform. This has been enabled in QtWebKit 2.1. I suggest you to try with the branch 2.1 of WebKit to have high quality transforms.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved