Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPaintThicknessOptionWidget::Private Struct Reference

Public Member Functions

 Private (lager::cursor< KisPaintThicknessOptionData > optionData, lager::reader< bool > lightnessModeEnabled)
 

Public Attributes

KisPaintThicknessOptionModel model
 
lager::reader< bool > warningLabelVisible
 

Detailed Description

Definition at line 16 of file KisPaintThicknessOptionWidget.cpp.

Constructor & Destructor Documentation

◆ Private()

KisPaintThicknessOptionWidget::Private::Private ( lager::cursor< KisPaintThicknessOptionData > optionData,
lager::reader< bool > lightnessModeEnabled )
inline

Definition at line 18 of file KisPaintThicknessOptionWidget.cpp.

20 : model{optionData.zoom(kislager::lenses::to_base<KisPaintThicknessOptionMixIn>)},
21 warningLabelVisible{lightnessModeEnabled.map(std::logical_not{})}
22 {
23 }

Member Data Documentation

◆ model

KisPaintThicknessOptionModel KisPaintThicknessOptionWidget::Private::model

Definition at line 25 of file KisPaintThicknessOptionWidget.cpp.

◆ warningLabelVisible

lager::reader<bool> KisPaintThicknessOptionWidget::Private::warningLabelVisible

Definition at line 26 of file KisPaintThicknessOptionWidget.cpp.


The documentation for this struct was generated from the following file: