Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintingModeOptionModel.cpp File Reference
#include "KisPaintingModeOptionModel.h"
#include <KisLager.h>
#include <lager/constant.hpp>

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 27 of file KisPaintingModeOptionModel.cpp.

27 {
28 lager::with(optionData[&KisPaintingModeOptionData::paintingMode],
29 maskingBrushEnabled)
30 .map(&calcEffectivePaintingMode)}

References KisPaintingModeOptionData::paintingMode.

◆ LAGER_QT() [2/2]

LAGER_QT ( paintingModeState )

Definition at line 31 of file KisPaintingModeOptionModel.cpp.

31 {
32 lager::with(LAGER_QT(effectivePaintingMode),
33 lager::make_constant(true))
34 .map(ToControlState{})}
LAGER_QT(effectivePaintingMode)

References LAGER_QT().