I am making a component based on QPlainTextEdit. I would like to make portions of text readonly (but still allow selections, navigations and clipboard etc).
I can detect the keypress event and suppress it but I need a condition to do this on. Is there a way to block edits without having to check for different keys, combinations etc (that might be different on each platform)?