Go to the documentation of this file.
6#ifndef iwidgets_CWidgetUpdateBlocker_included
7#define iwidgets_CWidgetUpdateBlocker_included
11#include <QtCore/QtGlobal>
12#include <QtWidgets/QWidget>
36: m_widgetPtr(widgetPtr)
38 Q_ASSERT(widgetPtr !=
nullptr);
40 m_widgetPtr->setUpdatesEnabled(
false);
46 m_widgetPtr->setUpdatesEnabled(
true);
© Witold Gantzke and Kirill Lepskiy