Solved Can I disable text selection in QPlainTextEdit?
-
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