按钮透明
// ui->pushButton->setFlat( true );
// ui->pushButton->setStyleSheet( "QPushButton{background: transparent;}" );
按钮透明
// ui->pushButton->setFlat( true );
// ui->pushButton->setStyleSheet( "QPushButton{background: transparent;}" );
转载于:https://www.cnblogs.com/wanghuixi/p/7735749.html