I want to underline the contents of a QLineEdit when shown on a UI -- the number happens to be a formatted (dollar) number, like $14,577
I do NOT want to put in a "border-bottom" across the length of the entire line edit, NOR do I want to use the QT Designer to set the font/underline because I want to underline only in certain circumstances.
Here is the line of code I use to show and format the number. Can it be changed to include underlining?
self.ui.car1.setText("${:,}".format(self.car1))