A QLabel is for short messages, usually as single line, and you have coded it to replace the entire text so that is what happens. If you want longer tracts of text then appending to a QPlainTextEdit or QTextEdit would be a better choice. A QListWidget may also be a choice.