SelectedItemWrapper Class

Header: #include <SelectedItemWrapper>

Public Functions

QColor fillColor() const
QFont font() const
QColor fontColor() const
QPainterPath geometryPath() const
bool hasSelection() const
bool hasShadow() const
QPainterPath mousePath() const
int number() const
AnnotationTool::Options options() const
void setFillColor(const QColor &color)
void setFont(const QFont &font)
void setFontColor(const QColor &color)
void setNumber(int number)
void setShadow(bool shadow)
void setStrength(qreal strength)
void setStrokeColor(const QColor &color)
void setStrokeWidth(int width)
void setText(const QString &text)
qreal strength() const
QColor strokeColor() const
int strokeWidth() const
QString text() const
QMatrix4x4 transform() const

Signals

Detailed Description

When the user selects an existing shape with the mouse, this wraps all the parameters of the associated item, so that they can be modified from QML