qt添加子窗口后,失去子窗口自己的样式,解决办法

在子窗口的构造函数中设置属性:setAttribute(

Qt::WA_StyledBackground)

posted @ 2023-11-08 18:04  雾枫  阅读(133)  评论(0)    收藏  举报