qt list widget 设背景与父窗口一致


试了setAttribute(Qt::WA_TranslucentBackground); 没用 

SetOpacity(0)也没用;

但是要搞定非常简单。。。

listWidget->setStyleSheet("background:transparent;");


搞定。。。

你可能感兴趣的:(qt list widget 设背景与父窗口一致)