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. QPushButton over QGLWidget works wrong
Forum Updated to NodeBB v4.3 + New Features

QPushButton over QGLWidget works wrong

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

    Hi to everybody, I need to show a transparent button over a GLWidget, the transparent button works well when it's used over a Widget, but the behaviour over the QGLWidget it's not good. I have positioned the button over the QGLWidget but the button not respects the color, also when I press the button the pushbutton color change..
    Looks like if the QGLWidget doesn't update the button (and I think that that behaviour its ok), so, How I solve this?
    Summarizing:
    Can I put the button over the GLWidget and expect that buttons works like over a general Widget?

    Thanks!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      I don't think QGlWidget supports having normal QWidget as children.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aRcleR
        wrote on last edited by
        #3

        Ok, but how I accomplish that? How can I show the button over the GLWidget?? Has somebody an idea about that?

        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