QPushButton:
PushBtn->setStyleSheet(“QPushButton{border-style: none; background-color: rgb(67, 138, 232)}”
“QPushButton:hover{background-color:red;color: white;}”
“QPushButton:pressed{background-color:rgba(85, 170, 255,200); border-style: inset; }”);
[QT] QPushButton常用样式表设置
最新推荐文章于 2024-07-16 15:37:32 发布