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.

Advertisements



Blog Stats

  • 225,275 hits