wmhnq
18th August 2007, 15:13
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
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