I have a QTextEdit displaying data that is being written to a log file( at the same time)

I would like for the new data that is being added to the QTextEdit to always be visible when
new data is coming, but currently you have to scroll to the data to see it. Is there a way to have it scroll down to the bottom of the page always when data is being inserted.

Thanks,