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. Use child widget as a mask

Use child widget as a mask

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 374 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    Heero
    wrote on last edited by
    #1

    Hello,

    There is a situation that there is a picture displayed in a window. I want to make a mask which has transparent feature to cover the picture. That is, for example, the mask's background color may be rgba(100,100,100,100). Is it possible to make such mask as the window's child widget? That means the mask and the picture are both the window's children. I don't want the mask is another window to cover the picture window. So that the mask can act same as the main window, ie, moving, resizing, minimizing and so on.

    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