If "title" is a QLabel, you can format your string in Rich Text Format (RTF) using the subset of HTML supported by the rich text engine.
Qt Code:
self.ui.title.setText(str("My Tax Info Based on a Filing Status of: <font color=blue>" + filestatus + "</font>" ))To copy to clipboard, switch view to plain text mode
Bookmarks