Main Page | Class Hierarchy | Class List | File List | Class Members

Canvas::Group Class Reference

An item containing other items. More...

#include <canvas.h>

Inheritance diagram for Canvas::Group:

Inheritance graph
[legend]
Collaboration diagram for Canvas::Group:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Group (Abstract *canvas=NULL)
virtual void paint (QPainter *p)
virtual QRect rect () const
virtual void advance (int msecs)
WidgettopLevelCanvas ()

Detailed Description

An item containing other items.

A Group is an Item, but it is also a Abstract, so you can add children items to it. Just an inner canvas, if you prefer.


Constructor & Destructor Documentation

Canvas::Group::Group Abstract canvas = NULL  ) 
 

Constructor


Member Function Documentation

void Canvas::Group::advance int  msecs  )  [virtual]
 

Animations step, updates the animation for the children

Reimplemented from Canvas::Item.

void Canvas::Group::paint QPainter *  p  )  [virtual]
 

This paints all the children

Implements Canvas::Item.

QRect Canvas::Group::rect  )  const [virtual]
 

This returns the bouding rect of all children

Implements Canvas::Item.

Widget * Canvas::Group::topLevelCanvas  )  [virtual]
 

returns the toplevel canvas (or null if it is in an orphan tree)

Implements Canvas::Abstract.


The documentation for this class was generated from the following files:
Generated on Thu Aug 10 03:19:10 2006 for kboard by  doxygen 1.4.3-20050530