Originally Posted by d_stranz 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: Switch view self.ui.title.setText(str("My Tax Info Based on a Filing Status of: <font color=blue>" + filestatus + "</font>" )) 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 perfect, thanks
self.ui.title.setText(str("My Tax Info Based on a Filing Status of: <font color=blue>" + filestatus + "</font>" ))
View Tag Cloud
Forum Rules
Bookmarks