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 brushRotation()
const;
225 void setBrushRotation(qreal brushRotation);
232 qreal paintingFlow()
const;
239 void setPaintingFlow(qreal flow);
246 qreal patternSize()
const;
253 void setPatternSize(qreal size);
260 bool eraserMode()
const;
267 void setEraserMode(
bool value);
274 bool globalAlphaLock()
const;
281 void setGlobalAlphaLock(
bool value);
288 bool disablePressure()
const;
295 void setDisablePressure(
bool value);
305 void showFloatingMessage(
const QString &message,
const QIcon& icon,
int timeout,
int priority);
329 QTransform flakeToDocumentTransform()
const;
336 QTransform flakeToCanvasTransform()
const;
343 QTransform flakeToImageTransform()
const;