You could put your string in to a formated QLabel and put the label in the status bar when you want to show the message.