PDA

View Full Version : Buttons - color frames



Coder5546
6th December 2012, 12:54
I made transparent button, but I also want to do a color frame to this button.

My code to transparent background:


setStyleSheet("background-color: rgba( 255, 255, 255, 10% );" );
setAttribute(Qt::WA_TranslucentBackground);


How to make such frames ?
8482

prof.ebral
6th December 2012, 14:22
use the border and border-radius tags.