48 if (canvasController && canvasController->
canvas()) {
51 if (activeLayer ==
this){
69 while(layer && !(found = layer ==
this)) {
78 if (
m_d->
node->inherits(
"KisShapeLayer")) {
88 node->editabilityChanged();
100 if(canvasController && canvasController->
canvas()) {
107 if(activeLayer && (
checkIfDescendant(activeLayer) || (shapeLayer && shapeLayer == activeLayer))) {
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void editabilityChanged()
QSizeF size() const override
Get the size of the shape in pt.
void paint(QPainter &painter) const override
Paint the shape fill The class extending this one is responsible for painting itself....
void setPosition(const QPointF &) override
Set the position of the shape in pt.
bool checkIfDescendant(KoShapeLayer *activeLayer)
QRectF boundingRect() const override
Get the bounding box of the shape.
KisNodeShape(KisNodeSP node)
virtual KoSelectedShapesProxy * selectedShapesProxy() const =0
selectedShapesProxy() is a special interface for keeping a persistent connections to selectionChanged...
virtual KoCanvasBase * canvas() const
virtual KoSelection * selection()=0
void setActiveLayer(KoShapeLayer *layer)
KoShapeLayer * activeLayer() const
QList< KoShape * > shapes() const
void setSelectable(bool selectable)
KoShapeContainer * parent() const
void setGeometryProtected(bool on)
void setShapeId(const QString &id)
#define KIS_SAFE_ASSERT_RECOVER(cond)
#define KIS_NODE_SHAPE_ID
bool isEditable(bool checkVisibility=true) const