Archive for the 'tips&tricks' Category

06
May
09

transparent widget background in qt


Here’s how you set a widget not to have a background :


widget->setAttribute(Qt::WA_NoSystemBackground,true);

This one came in handy today with some labels.




Blog Stats

  • 215,481 hits