this->setAttribute(Qt::WA_TranslucentBackground,true);
this->setStyleSheet("background:transparent");
此时效果如图