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. Issue related to winId and WA_TranslucentBackground
Forum Updated to NodeBB v4.3 + New Features

Issue related to winId and WA_TranslucentBackground

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

    I created a window and set FramelessWindowHint and WA_TranslucentBackground in order to make it have round corners. And I created another widget that is added to this window, the winId of this widget is got to paint outside Qt's paint system. Unfortunately nothing is displayed on the widget, but everyting works correctly if WA_TranslucentBackground of its parent is NOT set to true. The case is like: About FramelessWindowHint and winId.
    I tried setting both WA_TranslucentBackground and WA_NoSystemBackground to false for that widget, but it does not work.
    Does any expert know the root cause and solution?
    Thanks!

    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