Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintingModeOptionModel.cpp File Reference

Go to the source code of this file.

Typedefs

using ToControlState = KisWidgetConnectionUtils::ToControlState
 

Functions

 LAGER_QT (effectivePaintingMode)
 
 LAGER_QT (paintingModeState)
 

Typedef Documentation

◆ ToControlState

Function Documentation

◆ LAGER_QT() [1/2]

LAGER_QT ( effectivePaintingMode )

Definition at line 22 of file KisPaintingModeOptionModel.cpp.

22 {
23 lager::with(optionData[&KisPaintingModeOptionData::paintingMode],
24 maskingBrushEnabled)
25 .map(&calcEffectivePaintingMode)}

References KisPaintingModeOptionData::paintingMode.

◆ LAGER_QT() [2/2]

LAGER_QT ( paintingModeState )

Definition at line 26 of file KisPaintingModeOptionModel.cpp.

26 {
27 lager::with(LAGER_QT(effectivePaintingMode),
28 maskingBrushEnabled.map(std::logical_not{}))
29 .map(ToControlState{})}
LAGER_QT(effectivePaintingMode)

References LAGER_QT().