Quantcast
Viewing all articles
Browse latest Browse all 18427

Giving a QGLWidget a transparent background

Hello! If anyone saw my last thread, then you probably already know that I have been piddling around with QGLWidgets in my program. I finally got my 3d drawing code to work, only to hit another problem. From what I have tried, I have been unable to successfully give my widget transparency on the form. This includes setting the qglClearColor to a color with 0 for the alpha value, and using widget properties to apply the trait. These and other methods I have tried only resulted in a black background. Anyone out there have any experience in this? I had seen suggestions that involved using Qpixmaps to make the background “look” transparent, but I needed some other opinions. -Kaleb

Viewing all articles
Browse latest Browse all 18427

Trending Articles