|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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 (QWidget *widget) | |
| Constructor for QWidgetUpdateBlocker. | |
| ~QWidgetUpdateBlocker () | |
| QWidgetUpdateBlocker & | operator= (const QWidgetUpdateBlocker &other)=delete |
| 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 213 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 405 of file qgsguiutils.cpp.
|
delete |
| QWidgetUpdateBlocker::~QWidgetUpdateBlocker | ( | ) |
Definition at line 420 of file qgsguiutils.cpp.
|
delete |
| void QWidgetUpdateBlocker::release | ( | ) |
Releases the update block early (i.e.
before this object is destroyed).
Definition at line 411 of file qgsguiutils.cpp.