Unsolved How to disable keyboard?
This is an old "problem" and I am looking for better solution.
My MdiChild class is QTexrEdit derived .
I need to keep the MdiChild process and NOT to change the base class , BUT replace the objects with widgets , not text.
So far I have removed build
however I can still enter plain text to the MdiChild window.
How to disable keyboard text entry ?
MdiChild *child = createMdiChild();
// child->newFile(); temporary no need file build
I'm not fully understanding what you want to do, but since your MdiChild class is derived from QTextEdit, you can call the QTextEdit:setReadOnly() method; passing it a value of true.