开发者

Resize background color

I h开发者_如何学Goave a Windows app for which when the window is quickly made bigger pieces of "whitespace" are temporarily created.

Is there a way to make those pieces of whitespace black?


You can set autoFillBackground property of the window and have Qt paint the newly exposed background for you. There are some Windows specific attributes mentioned there, too. Mainly, WA_NoSystemBackground needs to be set to use a different background color.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜