|
Krita Source Code Documentation
|
The GroupShape class A group shape is a vector object with child shapes. More...
#include <GroupShape.h>
Inheritance diagram for GroupShape:Public Slots | |
| QList< Shape * > | children () |
| children | |
| QString | type () const override |
| type returns the type. | |
Public Slots inherited from Shape | |
| QTransform | absoluteTransformation () const |
| transformation the 2D transformation matrix of the shape including all grandparent transforms. | |
| QRectF | boundingBox () const |
| boundingBox the bounding box of the shape in points | |
| void | deselect () |
| deselect deselects the shape. | |
| bool | geometryProtected () const |
| geometryProtected | |
| bool | isSelected () |
| isSelected | |
| QString | name () const |
| name | |
| Shape * | parentShape () const |
| parentShape | |
| QPointF | position () const |
| position the position of the shape in points. | |
| bool | remove () |
| remove delete the shape. | |
| void | select () |
| select selects the shape. | |
| bool | selectable () const |
| selectable | |
| void | setGeometryProtected (bool protect) |
| setGeometryProtected | |
| void | setName (const QString &name) |
| setName | |
| void | setPosition (QPointF point) |
| setPosition set the position of the shape. | |
| void | setSelectable (bool selectable) |
| setSelectable | |
| void | setTransformation (QTransform matrix) |
| setTransformation set the 2D transformation matrix of the shape. | |
| void | setVisible (bool visible) |
| setVisible | |
| void | setZIndex (int zindex) |
| setZIndex | |
| QString | toSvg (bool prependStyles=false, bool stripTextMode=true) |
| toSvg convert the shape to svg, will not include style definitions. | |
| QTransform | transformation () const |
| transformation the 2D transformation matrix of the shape. | |
| virtual QString | type () const |
| type | |
| void | update () |
| update queue the shape update. | |
| void | updateAbsolute (QRectF box) |
| updateAbsolute queue the shape update in the specified rectangle. | |
| bool | visible () const |
| visible | |
| int | zIndex () const |
| zIndex | |
Public Member Functions | |
| GroupShape (KoShapeGroup *shape, QObject *parent=0) | |
| GroupShape (QObject *parent=0) | |
| ~GroupShape () | |
Public Member Functions inherited from Shape | |
| bool | operator!= (const Shape &other) const |
| bool | operator== (const Shape &other) const |
| Shape (KoShape *shape, QObject *parent=0) | |
| ~Shape () | |
The GroupShape class A group shape is a vector object with child shapes.
Definition at line 20 of file GroupShape.h.
|
explicit |
Definition at line 9 of file GroupShape.cpp.
| GroupShape::GroupShape | ( | KoShapeGroup * | shape, |
| QObject * | parent = 0 ) |
Definition at line 13 of file GroupShape.cpp.
| GroupShape::~GroupShape | ( | ) |
Definition at line 19 of file GroupShape.cpp.
children
Definition at line 30 of file GroupShape.cpp.
References KoShape::compareShapeZIndex(), Shape::shape(), Shape::Shape(), KoShapeContainer::shapeCount(), and KoShapeContainer::shapes().
|
overrideslot |
type returns the type.
Definition at line 24 of file GroupShape.cpp.