34 void setWidgetEnabled(
bool _enabled,
int _counter = 1);
37 void resetWidgetDisabledCounter(
void);
39 void lockWidget(
const LockTypeFlags& _flags,
int _lockCount = 1);
41 void unlockWidget(
const LockTypeFlags& _flags,
int _unlockCount = 1);
43 void resetWidgetLockCounter(
void);
51 void unlockWidgetFlag(
LockTypeFlag _flag,
int _unlockCount);
53 void evaluateEnabledState(
void);
59 int m_disabledCounter;
60 std::map<LockTypeFlag, int> m_lockCounter;
#define OT_DECL_NOMOVE(___class)
Removes the default move constructor and move operator.
Definition OTClassHelper.h:18
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
LockTypeFlag
Describes the object type to lock in the UI.
Definition GuiTypes.h:156