Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWidget transparency rendering
Qt 6.11 is out! See what's new in the release blog

QWidget transparency rendering

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 455 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.
  • NtisN Offline
    NtisN Offline
    Ntis
    wrote on last edited by
    #1

    Hello All,

    I'm facing a weird probem. I have a form with some widget (QLabel) and trying to render them into a QImage with their background transparent.

    I got the transparent background but the antialiased text is computed with the alias alpha, giving some junk on the edge : Tje text is written in white and the edge let appear some gray to black antialias ...
    I tryed with a QPainter with CompositionMode_Source, With WA_transluscent an other optons I can't get a working sample with antialias computed in alpha channel only

    Any help ?

    Regards

    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