pushbutton 设置成透明

3240阅读 0评论2014-12-08 644924073
分类:嵌入式

 deletebtn->setStyleSheet("QPushButton{border-radius:5px;border-width:0px;}");
2.
 pushIcon->setStyleSheet("QPushButton{background-color:rgba(255, 255, 255, 0);border-style: solid;border-width: 0px;\
                            border-color: rgba(255, 255, 255, 0);/*border-radius: 1px;font: bold 4px;min-width: 10em;padding: 2px;*/}");

上一篇:greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
下一篇:QT实现对sqlite数据库的操作