| QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
    | 
Temporarily disables updates for a QWidget for the lifetime of the object. More...
#include <qgsguiutils.h>
| Public Member Functions | |
| QWidgetUpdateBlocker (const QWidgetUpdateBlocker &other)=delete | |
| QWidgetUpdateBlocker cannot be copied. | |
| QWidgetUpdateBlocker (QWidget *widget) | |
| Constructor for QWidgetUpdateBlocker. | |
| ~QWidgetUpdateBlocker () | |
| QWidgetUpdateBlocker & | operator= (const QWidgetUpdateBlocker &other)=delete | 
| QWidgetUpdateBlocker cannot be copied. | |
| void | release () | 
| Releases the update block early (i.e. | |
Temporarily disables updates for a QWidget for the lifetime of the object.
When the object is deleted, the updates are re-enabled.
Definition at line 217 of file qgsguiutils.h.
| QWidgetUpdateBlocker::QWidgetUpdateBlocker | ( | QWidget * | widget | ) | 
Constructor for QWidgetUpdateBlocker.
Blocks updates for the specified widget.
The caller must ensure that widget exists for the lifetime of this object.
Definition at line 407 of file qgsguiutils.cpp.
| 
 | delete | 
QWidgetUpdateBlocker cannot be copied.
| QWidgetUpdateBlocker::~QWidgetUpdateBlocker | ( | ) | 
Definition at line 422 of file qgsguiutils.cpp.
| 
 | delete | 
QWidgetUpdateBlocker cannot be copied.
| void QWidgetUpdateBlocker::release | ( | ) | 
Releases the update block early (i.e.
before this object is destroyed).
Definition at line 413 of file qgsguiutils.cpp.