krita/ui

KisLayerContainerShape Class Reference

The layer container is the flake shape that corresponds to KisGroupLayer. More...

#include <kis_layer_container_shape.h>

Inheritance diagram for KisLayerContainerShape:

List of all members.

Public Member Functions

 KisLayerContainerShape (KoShapeContainer *parent, KisLayerSP groupLayer)
virtual ~KisLayerContainerShape ()
QRectF boundingRect () const
KisLayerSP groupLayer ()
bool isSelectable () const
virtual bool loadOdf (const KoXmlElement &element, KoShapeLoadingContext &context)
void paintComponent (QPainter &painter, const KoViewConverter &converter)
virtual void saveOdf (KoShapeSavingContext &context) const
QSizeF size () const

Detailed Description

The layer container is the flake shape that corresponds to KisGroupLayer.

It contains any number of layers, including other group layers.

Definition at line 40 of file kis_layer_container_shape.h.


Constructor & Destructor Documentation

KisLayerContainerShape::KisLayerContainerShape ( KoShapeContainer *  parent,
KisLayerSP  groupLayer 
)

Definition at line 43 of file kis_layer_container_shape.cc.

KisLayerContainerShape::~KisLayerContainerShape (  )  [virtual]

Definition at line 57 of file kis_layer_container_shape.cc.


Member Function Documentation

QRectF KisLayerContainerShape::boundingRect (  )  const

Definition at line 77 of file kis_layer_container_shape.cc.

KisLayerSP KisLayerContainerShape::groupLayer (  ) 

Definition at line 62 of file kis_layer_container_shape.cc.

bool KisLayerContainerShape::isSelectable (  )  const [inline]

Definition at line 57 of file kis_layer_container_shape.h.

bool KisLayerContainerShape::loadOdf ( const KoXmlElement &  element,
KoShapeLoadingContext &  context 
) [virtual]

Definition at line 99 of file kis_layer_container_shape.cc.

void KisLayerContainerShape::paintComponent ( QPainter painter,
const KoViewConverter converter 
)

Definition at line 88 of file kis_layer_container_shape.cc.

void KisLayerContainerShape::saveOdf ( KoShapeSavingContext &  context  )  const [virtual]

reimplemented

Definition at line 94 of file kis_layer_container_shape.cc.

QSizeF KisLayerContainerShape::size (  )  const

Definition at line 68 of file kis_layer_container_shape.cc.


The documentation for this class was generated from the following files: