Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I want to prohibit the user to select text in QPlainTextEdit Area using mouse button. The text can only selected by code(such as QPlainTextEdit::find() ). Is this possible?
@Mr-Pang You may try this.
ui->plainTextEdit->setTextInteractionFlags(Qt::TextEditable);
or you may do it in the designer under property textInteractionFlags
textInteractionFlags