24class KRITALIBKIS_EXPORT
View :
public QObject
51 void setDocument(
Document *document);
73 void activateResource(
Resource *resource);
110 Resource *currentBrushPreset()
const;
117 void setCurrentBrushPreset(
Resource *resource);
131 void setCurrentPattern(
Resource *resource);
145 void setCurrentGradient(
Resource *resource);
152 QString currentBlendingMode()
const;
159 void setCurrentBlendingMode(
const QString &blendingMode);
164 float HDRExposure()
const;
171 void setHDRExposure(
float exposure);
176 float HDRGamma()
const;
183 void setHDRGamma(
float gamma);
190 qreal paintingOpacity()
const;
197 void setPaintingOpacity(qreal opacity);
204 qreal brushSize()
const;
211 void setBrushSize(qreal brushSize);
218 qreal brushFade()
const;
225 void setBrushFade(qreal brushFade);
232 qreal brushRotation()
const;
239 void setBrushRotation(qreal brushRotation);
248 QPointF brushPosition()
const;
255 qreal paintingFlow()
const;
262 void setPaintingFlow(qreal flow);
269 qreal patternSize()
const;
276 void setPatternSize(qreal size);
283 bool eraserMode()
const;
290 void setEraserMode(
bool value);
297 bool globalAlphaLock()
const;
304 void setGlobalAlphaLock(
bool value);
311 bool disablePressure()
const;
318 void setDisablePressure(
bool value);
328 void showFloatingMessage(
const QString &message,
const QIcon& icon,
int timeout,
int priority);
352 QTransform flakeToDocumentTransform()
const;
359 QTransform flakeToCanvasTransform()
const;
366 QTransform flakeToImageTransform()
const;