I have the following line of code that shows what the user entered into a QLineEdit. In certain circumstances, I want to underline the formatted number:
Qt Code:
self.ui.car1.setText("${:,}".format(self.car1))To copy to clipboard, switch view to plain text mode
Any way to change the above code to make it underline?
NOTE: I do NOT want to underline the line edit with a border across the bottom of the entire line edit. Nor do I want to underline the contents of the line edit using the QT Designer (because I only want to underline the number in certain circumstances).
thanks
Bookmarks