I am trying to create a demonstration app to show how to change font colors.
I can do it in QLabel and QTextEdit
I have found no way to change the foreground
I solved for font text and background
self.my_line_edit.setStyleSheet( """QLineEdit { background-color: green; color: white }""")