krita/ui
KisNodeShape Class Reference
A KisNodeShape is a flake wrapper around adjustment nodes or paint nodes. More...
#include <kis_node_shape.h>

Public Member Functions | |
| KisNodeShape (KoShapeContainer *parent, KisNodeSP node) | |
| virtual | ~KisNodeShape () |
| void | addChild (KoShape *shape) |
| QRectF | boundingRect () const |
| bool | isSelectable () const |
| virtual bool | loadOdf (const KoXmlElement &element, KoShapeLoadingContext &context) |
| KisNodeSP | node () |
| void | paint (QPainter &painter, const KoViewConverter &converter) |
| void | paintComponent (QPainter &painter, const KoViewConverter &converter) |
| virtual void | saveOdf (KoShapeSavingContext &context) const |
| void | setPosition (const QPointF &position) |
| QSizeF | size () const |
Detailed Description
A KisNodeShape is a flake wrapper around adjustment nodes or paint nodes.
A nodeshape can only have a KisMaskShape as its descendant.
Definition at line 38 of file kis_node_shape.h.
Constructor & Destructor Documentation
| KisNodeShape::KisNodeShape | ( | KoShapeContainer * | parent, | |
| KisNodeSP | node | |||
| ) |
Definition at line 43 of file kis_node_shape.cpp.
| KisNodeShape::~KisNodeShape | ( | ) | [virtual] |
Definition at line 60 of file kis_node_shape.cpp.
Member Function Documentation
| void KisNodeShape::addChild | ( | KoShape * | shape | ) |
Definition at line 127 of file kis_node_shape.cpp.
| QRectF KisNodeShape::boundingRect | ( | ) | const |
Definition at line 99 of file kis_node_shape.cpp.
| bool KisNodeShape::isSelectable | ( | ) | const [inline] |
Definition at line 51 of file kis_node_shape.h.
| bool KisNodeShape::loadOdf | ( | const KoXmlElement & | element, | |
| KoShapeLoadingContext & | context | |||
| ) | [virtual] |
Definition at line 143 of file kis_node_shape.cpp.
| KisNodeSP KisNodeShape::node | ( | ) |
Definition at line 65 of file kis_node_shape.cpp.
| void KisNodeShape::paint | ( | QPainter & | painter, | |
| const KoViewConverter & | converter | |||
| ) |
Definition at line 70 of file kis_node_shape.cpp.
| void KisNodeShape::paintComponent | ( | QPainter & | painter, | |
| const KoViewConverter & | converter | |||
| ) |
Definition at line 77 of file kis_node_shape.cpp.
| void KisNodeShape::saveOdf | ( | KoShapeSavingContext & | context | ) | const [virtual] |
reimplemented
Definition at line 137 of file kis_node_shape.cpp.
| void KisNodeShape::setPosition | ( | const QPointF & | position | ) |
Definition at line 110 of file kis_node_shape.cpp.
| QSizeF KisNodeShape::size | ( | ) | const |
Definition at line 83 of file kis_node_shape.cpp.
The documentation for this class was generated from the following files:
