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. Overlaying two QLabels
Forum Updated to NodeBB v4.3 + New Features

Overlaying two QLabels

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

    Hi all,
    I am trying to overlay two QLabels. My first QLabel is Camera Stream(This is a Event Handler. (i.e) nativeEvent()). My second label is to draw a any QPainter tools. I need to set the Second label to transparent. so I have changed the stylesheet to background:transparent. But, in this case, Stylesheet is not working.
    Give me a solution for this process.

    jsulmJ 1 Reply Last reply
    0
    • S Saravanakumar

      Hi all,
      I am trying to overlay two QLabels. My first QLabel is Camera Stream(This is a Event Handler. (i.e) nativeEvent()). My second label is to draw a any QPainter tools. I need to set the Second label to transparent. so I have changed the stylesheet to background:transparent. But, in this case, Stylesheet is not working.
      Give me a solution for this process.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Saravanakumar I would suggest that you post your current code, so others can check what you're maybe doing wrong...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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