PDA

View Full Version : Transparent Push button over background image



KumarKandasamy
16th March 2013, 12:45
Hi all,

i am new to this. I am designing remote controller GUI. I have my remote controller image as background. Now i want to create button on each position like 1,2,3 or ch up, ch down etc... For that if my push button is transparent i can do this easily. I searched this forum for transparent button, there are few solutions on stylesheet , autofillbackground true like that. but nothing helps me. Can anyone give me the correct solution. I hope there is a soloution.

Many thanks in advance,

Kumar

KumarKandasamy
18th March 2013, 12:17
Hi..

I found some thread regariding this from older post.
http://www.qtcentre.org/threads/1342-Transparent-widgets

Here they are talking about some QAbstract , dont understand. Can any one explain me how?

Thanks,
Kumar

eliasbest07
15th May 2014, 07:22
pushButton->setStyleSheet("QPushButton{background: transparent;}");
or also - pushButton->setAttribute(Qt::WA_TranslucentBackground);

source: http://www.linkedin.com/groups/Need-help-in-Transparent-push-67149.S.223885559