我对pushbutton用setFlat,可以使它的背景不显示,但是当按钮按下去的时候,背景就显示出来了,有没有什么办法,让pushbutton按下去后,也不显示背景呢?还有,虽然setFlat后,按钮背景不显示了,但是还有一个虚线框,怎么去掉呢?
flat : bool
This property holds whether the button border is raised.
This property's default is false. If this property is set, most styles will not paint the button background unless the button is being pressed。