pushbutton样式-小圆型
push->setStyleSheet(
"QPushButton {background-color:rgba(212, 48, 48, 1);border-radius:7px;}"
"QPushButton:hover {background-color: rgba(212, 38, 38, 1);}"
"QPushButton:pressed {background-color: rgba(202, 28, 28, 1);}"
);
push->setMinimumSize(QSize(14,14));
push->setMaximumSize(QSize(14,14));
本文来自博客园,作者:东岸,转载请注明原文链接:https://www.cnblogs.com/donghao99/p/18219582