i want to automationally clear the text in QPlainTextEdit before the showing of it's scrollbar,

what can i do?

tks!