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. transparent widget above another widget from qt3dwindow with createWindowContainer
Qt 6.11 is out! See what's new in the release blog

transparent widget above another widget from qt3dwindow with createWindowContainer

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.4k 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.
  • F Offline
    F Offline
    fisher103
    wrote on last edited by
    #1

    we create some labels and combobox above an widget create from qt3dwindow, we try to set label background transparent with setstylesheet....
    but we get it full transparent, the backgound comes to default backupcolor eg. white, not the color or image from qt3dwindow.

    can someone gives advices?

    m.sueM 1 Reply Last reply
    0
    • F fisher103

      we create some labels and combobox above an widget create from qt3dwindow, we try to set label background transparent with setstylesheet....
      but we get it full transparent, the backgound comes to default backupcolor eg. white, not the color or image from qt3dwindow.

      can someone gives advices?

      m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by
      #2

      @fisher103

      Hi,

      You can try removing the widget attribute Qt::WA_NoSystemBackground.

      -Michael.

      F 1 Reply Last reply
      0
      • m.sueM m.sue

        @fisher103

        Hi,

        You can try removing the widget attribute Qt::WA_NoSystemBackground.

        -Michael.

        F Offline
        F Offline
        fisher103
        wrote on last edited by
        #3

        @m.sue I try it make no diffrence, also i set setAutoFillBackground(false) make no diffrence too.

        1 Reply Last reply
        0
        • m.sueM Offline
          m.sueM Offline
          m.sue
          wrote on last edited by
          #4

          Hi,

          did you already try to actively use this feature by setting the widget's background color to QColor(0,0,0,0), where the last 0 is the important one.

          -Michael.

          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