Screenshot-2017-10-2 Image Question] Is there a tweak that makes the folder blur like iOS 10 (1).jpg
How to achive this kind of view in Qt 5.7 .
I'm using it for cross compile in linux platform
Screenshot-2017-10-2 Image Question] Is there a tweak that makes the folder blur like iOS 10 (1).jpg
How to achive this kind of view in Qt 5.7 .
I'm using it for cross compile in linux platform
Do you want to blur a window owned by your application, or do you want to blur the OS's desktop window?
If it is your own window, the you can create a QGraphicsBlurEffect with an appropriate radius, then call QWidget::setGraphicsEffect() to apply to your window. If it is the desktop, you can try to do the same thing by using QApplication::desktop() to get a pointer to the QDesktopWidget and using QDesktopWidget::screen() to get the underlying QWidget window pointer. You can try to set the graphics effect on that if the OS lets you.
If you are changing the desktop widget, be sure to set the graphics effect back to whatever it was before you blurred it when you are done (eg. save the pointer from QWidget::graphicsEffect() before you blur it and then set it back after you are done).
Last edited by d_stranz; 2nd October 2017 at 18:28.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks