Qt小知识2-设置透明按钮

来源:互联网 发布:淘宝c店没有发票 编辑:程序博客网 时间:2024/05/01 11:17
QPushButton *bt =new QPushButton(this);bt->setText("ok");bt->move(200,100);bt->setFlat(true);//就是这句能够实现透明。