QPalette pal;
pal.setBrush(QPalette::Window,QBrush(QPixmap(":/button/Resources/1.bmp")));
this->setPalette(pal);
a question about the background picture of window ,how to set the picture extending or mediacy.
please give a example ,thank you
QPalette pal;
pal.setBrush(QPalette::Window,QBrush(QPixmap(":/button/Resources/1.bmp")));
this->setPalette(pal);
a question about the background picture of window ,how to set the picture extending or mediacy.
please give a example ,thank you
Last edited by wmhnq; 18th August 2007 at 15:35.
Bookmarks