PDA

View Full Version : Qt window transparent to see desktop



manojmka
24th March 2010, 11:37
Hi folks,

I am trying to set a qt window transparent such that I can see desktop on transparent widget parts. I use following property to do the same but it makes background black not transparent...

MainWindow::MainWindow()
{
this->setAttribute(Qt::WA_TranslucentBackground);
}

Please help.

xiangxw
10th December 2010, 14:08
i have the same problem.Please let me know when you slove it.Thanks a lot.

high_flyer
10th December 2010, 15:54
try setWindowOpacity()