View Full Version : transparent splash
tinysoft
13th May 2011, 09:50
hi everyone ..
i used an image to a splash .. the image have a transparent area .. but on splash show the transparent area is filled with default background color .. is there any way that i can make it transparent ?
Please take a look at this (http://www.qtcentre.org/threads/32594-Showing-a-splash-screen-with-transparency.?p=151664#post151664), maybe it will work for you also.
tinysoft
13th May 2011, 11:12
thank you .. :)
i tried it and it worked fine ...just as i wanted .
wysota
13th May 2011, 11:31
Set the Qt::WA_TranslucentBackground attribute on the window.
tinysoft
13th May 2011, 15:13
Set the Qt::WA_TranslucentBackground attribute on the window.
i tried this one on but it gives me a black screen allover the splash area.
splash->setAttribute(Qt::WA_TranslucentBackground,1);
but this one (http://www.qtcentre.org/threads/32594-Showing-a-splash-screen-with-transparency.?p=151664#post151664) already worked fine with me.
thank you for your support
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.