设置背景透明,一定要同时有这两句代码,单独一句不起作用
ui->customplot->setBackground(Qt::transparent); ui->customplot->setStyleSheet("background: transparent;");
设置背景透明,一定要同时有这两句代码,单独一句不起作用
ui->customplot->setBackground(Qt::transparent); ui->customplot->setStyleSheet("background: transparent;");