6#ifndef KOSHAPEQTQUICKLABEL_H
7#define KOSHAPEQTQUICKLABEL_H
9#include <QQuickPaintedItem>
43 void paint(QPainter *painter)
override;
128 const QScopedPointer<Private>
d;
The KoShapeQtQuickLabel class.
@ FitWidth
Scale document view to document width. Use alignment to position top or bottom on the document.
@ Fit
Default koshapepainter behaviour, fit whole document into widget bounds.
@ FitHeight
Scale document view to document height. Use alignment to position left or right on the document.
void setPadding(int newPadding)
void callUpdateIfComplete()
void foregroundColorChanged()
void minimumRectChanged()
void setForegroundColor(const QColor &newForegroundColor)
void paint(QPainter *painter) override
void setSvgData(const QString &newSvgData)
void setAlignment(const Qt::Alignment align)
void setFullColor(bool newFullColor)
void setScalingType(const ScalingType type)
const QScopedPointer< Private > d
void componentComplete() override
void documentRectChanged()
void scalingTypeChanged()
void setDocumentRect(const QRectF &rect)