Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Create a blurry/transparent panel.
deadbird last edited by
I'm searching for a way to create something as close as possible of this:
I found a method for which I wrote an article on my website (http://deadbird.fr/?p=800 , the source is available at the end of the post), but I have to admin that the result is far from perfect! Basically, it's a transparent frameless window that contains a QGraphicScene. I take a snapshot of what's under the window and display it within the QGraphicScene. Then, I apply a QGraphicsBlurEffect.
The result is not perfect because the whole process takes a lot of time, so the blur effect is really kinda crappy:
It's even worse the I try to move the window, the effect leave blurry trails.
So I'm trying to find a better way, but nothing comes to mind :(
Has someone got an idea?
MuldeR last edited by
What system are you on?
If you are on Windows (Vista or 7), you could use the "sheet of glass" effect:
!http://www.codeproject.com/KB/vista/textonglass/textonglass_8.png(sheet of glass)!
!https://camo.githubusercontent.com/0365f273ca5f473fbc3832cd2ea4519795476984/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3437303539302f323030343932382f34346665643563302d383663392d313165332d393235332d3963316439316165393634392e706e67(lamexp splash screen)!
Apart from that, the "blur" effect in the lower part of your first screenshot looks like a very simple (and rather strong) Gaussian Blur to me...
andre last edited by
Some Qt code on how to do that is "here":http://nicug.blogspot.nl/2011/03/qt-windows-7-extend-frame-into-client.html