Does anyone know how to make a QPushbutton transparent or see-through ?
Does anyone know how to make a QPushbutton transparent or see-through ?
set window opacity of pushButton
windowOpacity : double
or
set color of lower alpha value in stylesheet
Qt Code:
background-color: rgba(x, x, x, 10)To copy to clipboard, switch view to plain text mode
"Behind every great fortune lies a crime" - Balzac
ui->male_button->setFlat(TRUE);
ui->male_button->setStyleSheet("* { background-color: rgba(0,125,0,0) }");
Bookmarks