Create a blurry/transparent panel.
-
Hi everyone.
I'm searching for a way to create something as close as possible of this:
!http://jeanphilippedescamps.fr/wp-content/uploads/2013/07/ios7.controlcenter.jpg(test)!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:
!http://i1.wp.com/deadbird.fr/wp-content/uploads/2013/11/shot5.png?resize=300,224(test)!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?
-
What system are you on?
If you are on Windows (Vista or 7), you could use the "sheet of glass" effect:
http://goo.gl/NarSyy!http://www.codeproject.com/KB/vista/textonglass/textonglass_8.png(sheet of glass)!
__
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...
-
Some Qt code on how to do that is "here":http://nicug.blogspot.nl/2011/03/qt-windows-7-extend-frame-into-client.html