QPushButton *bt =new QPushButton(this); bt->setText("ok"); bt->move(200,100); bt->setFlat(true);//实现透明按钮