开发者

Change the color of the text of QLcdNumber [duplicate]

开发者 https://www.devze.com 2023-02-25 22:35 出处:网络
This question already has answers here: Changing the Digit Color of QLCD Number 开发者_Go百科 (2 answers)
This question already has answers here: Changing the Digit Color of QLCD Number 开发者_Go百科 (2 answers) Closed 9 years ago.

Using PyQt4 and Python 3 do you know how I can change the color of a QLcdNumber during the runtime ?


Didn't use this for some thime, but I think you had to change paletteForegroundColor and change segmentStyle to QLCDNumber::Filled or QLCDNumber::Flat

0

精彩评论

暂无评论...
验证码 换一张
取 消