标签:
1. 一种样式
self.Mgmt016.setStyleSheet(‘‘‘background-color:rgb(255, 132, 139);border-radius: 5px; color: rgb(255, 255, 255);‘‘‘)
background-color:rgb(255, 132, 139); 控件颜色border-radius: 3px; 圆角效果color: rgb(255, 255, 255); 字体颜色

self.Mgmt017.setStyleSheet(‘‘‘background-color:blue;‘‘‘)

2016/7/18 22:20:58 PyQT5 设置控件颜色(例子)
标签:
原文地址:http://www.cnblogs.com/topshooter/p/5687862.html