|
Krita Source Code Documentation
|
#include <KisWidgetConnectionUtils.h>
Public Attributes | |
| bool | enabled = true |
| T | value = T{} |
(*)State classes represent the entire "state" of the corresponding widget
E.g. CheckBoxState represents if the checkbox is enabled and checked at the same time. We need to provide these values as a single struct to avoid cyclic update, caused by partial updates of the widgets.
Cyclic updates may happen when the GUI-control's value should be reset into some predefined value, when the control gets disabled, but we don't want to write this "fallback value" back into the model (because it doesn't make sense with the control disabled).
Definition at line 53 of file KisWidgetConnectionUtils.h.
| bool KisWidgetConnectionUtils::ControlState< T >::enabled = true |
Definition at line 55 of file KisWidgetConnectionUtils.h.
| T KisWidgetConnectionUtils::ControlState< T >::value = T{} |
Definition at line 54 of file KisWidgetConnectionUtils.h.