1、父窗體樣式不生效?
this->setAttribute(Qt::WA_StyledBackground);
2、父窗樣式體影響子控件?
this->setStyleSheet("#objname{background-color: rgb(190,190,190)});
3、子控件qlinedit設置透明無邊框?
ui->btnLoad->setStyleSheet("background:transparent;border-width:0;border-style:outset");
1、父窗體樣式不生效?
this->setAttribute(Qt::WA_StyledBackground);
2、父窗樣式體影響子控件?
this->setStyleSheet("#objname{background-color: rgb(190,190,190)});
3、子控件qlinedit設置透明無邊框?
ui->btnLoad->setStyleSheet("background:transparent;border-width:0;border-style:outset");
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。