PDA

View Full Version : QPushbutton style



taih888
21st January 2010, 04:17
Does anyone know how to make a QPushbutton transparent or see-through ?

wagmare
21st January 2010, 04:55
set window opacity of pushButton
windowOpacity : double

or
set color of lower alpha value in stylesheet

background-color: rgba(x, x, x, 10)

ragha4u
5th November 2010, 12:10
ui->male_button->setFlat(TRUE);

ui->male_button->setStyleSheet("* { background-color: rgba(0,125,0,0) }");

lucasbemo
5th November 2010, 12:18
ui->myPushButton->setStyleSheet( "background-color: transparent;" );