Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/hatching/kis_hatching_paintop_settings.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 46 | { | |||
---|---|---|---|---|---|
51 | 51 | | |||
52 | QMap<QString, QVariant>::const_iterator i; | 52 | QMap<QString, QVariant>::const_iterator i; | ||
53 | for (i = rofl.constBegin(); i != rofl.constEnd(); ++i) | 53 | for (i = rofl.constBegin(); i != rofl.constEnd(); ++i) | ||
54 | dbgKrita << i.key() << ":" << i.value(); | 54 | dbgKrita << i.key() << ":" << i.value(); | ||
55 | /----------DO NOT REMOVE----------------*/ | 55 | /----------DO NOT REMOVE----------------*/ | ||
56 | 56 | | |||
57 | KisHatchingPaintOpSettings *convenienttwin = static_cast<KisHatchingPaintOpSettings*>(settings.data()); | 57 | KisHatchingPaintOpSettings *convenienttwin = static_cast<KisHatchingPaintOpSettings*>(settings.data()); | ||
58 | 58 | | |||
59 | convenienttwin->enabledcurveangle = getBool("PressureAngle"); | ||||
59 | convenienttwin->enabledcurvecrosshatching = getBool("PressureCrosshatching"); | 60 | convenienttwin->enabledcurvecrosshatching = getBool("PressureCrosshatching"); | ||
60 | convenienttwin->enabledcurveopacity = getBool("PressureOpacity"); | 61 | convenienttwin->enabledcurveopacity = getBool("PressureOpacity"); | ||
61 | convenienttwin->enabledcurveseparation = getBool("PressureSeparation"); | 62 | convenienttwin->enabledcurveseparation = getBool("PressureSeparation"); | ||
62 | convenienttwin->enabledcurvesize = getBool("PressureSize"); | 63 | convenienttwin->enabledcurvesize = getBool("PressureSize"); | ||
63 | convenienttwin->enabledcurvethickness = getBool("PressureThickness"); | 64 | convenienttwin->enabledcurvethickness = getBool("PressureThickness"); | ||
64 | 65 | | |||
65 | convenienttwin->angle = getDouble("Hatching/angle"); | 66 | convenienttwin->angle = getDouble("Hatching/angle"); | ||
66 | convenienttwin->separation = getDouble("Hatching/separation"); | 67 | convenienttwin->separation = getDouble("Hatching/separation"); | ||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |