Unsolved Stop widgets updating
-
Hi
Is there a way of stopping widgets updating when they are disabled or is this something that I have to implement myself?
For example if I have a text edit that is disabled and my code updates it via the setText method I do not want the update to happen.Thanks
-
setReadOnly(bool) ?
-
Yes that will work with text edit, however that was only an example
What about a general case for all widgets? -
Have a look at:
QWidget::setUpdatesEnabled(bool)