QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 219 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 390 of file qgsguiutils.cpp.
|
delete |
QWidgetUpdateBlocker cannot be copied.
QWidgetUpdateBlocker::~QWidgetUpdateBlocker | ( | ) |
Definition at line 405 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 396 of file qgsguiutils.cpp.