Re: Disable TextEdit input
Hi all,
I was wondering how to disable a textedit so the user can no longer modify the text within it, anyone know how to go about this?
Is there also a way to disable a button (without hiding it) so the user can no longer press it?
Thanks in advanced for your time and trouble
Ok I've solved this. The minute i posted this I found the answer:
Code:
ui->textEdit->setDisabled(true)
Lol
Thanks anyway
Re: Disable TextEdit input
hi,
if you just want the user not to modify the contents, you can also use
void setReadOnly (bool)
Bala