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. Transparency of QGLWidget on other QGLWidgets
Qt 6.11 is out! See what's new in the release blog

Transparency of QGLWidget on other QGLWidgets

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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.
  • B Offline
    B Offline
    brugere
    wrote on last edited by
    #1

    hi,

    as you read in the title, i have some issues to draw alpha transparent QGLWidget's on other QGLWidgets. I'm using shaders (QGLShaderProgram) to represent a huge amount of data at the same time. Every widget is a way of viewing these data.
    But i need some of them to be a bit transparent.

    I've tried many solutions (even if it was for simple widgets on QGLWidgets) and none worked. I tried to enable Widget transparency attribute, GL_BLEND is obviously enabled... really i dont know where i have to search : /

    If anyone had some information or links about this problem or its solution (if there is any :x)

    Thanks !

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RainBoy
      wrote on last edited by
      #2

      Is it possible to put your QGL on the different window, make it transparently and put directly on/before the current form?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        brugere
        wrote on last edited by
        #3

        that can be a solution. Even if having almost 20 windows at the same time does not look logical according to me ...
        I will try to deal with it, while there is no other solutions.

        Many thanks for reply RainBoy

        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