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

Canvas::Widget Class Reference

Container widget. More...

#include <canvas.h>

Inheritance diagram for Canvas::Widget:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Widget (QWidget *parent=NULL)
void setAnimationDelay (int d)
int mSecs ()
WidgettopLevelCanvas ()

Friends

class Item
class AnimationNotifier

Detailed Description

Container widget.

A Widget is a widget that can contain many Item (images, rectangles, lines, etc). Portions of the widget are automatically redrawn to update the changes made to the items.


Constructor & Destructor Documentation

Canvas::Widget::Widget QWidget *  parent = NULL  ) 
 

The constructor


Member Function Documentation

int Canvas::Widget::mSecs  ) 
 

Return the number of millisecons from the creation of the canvas (see also Item::advance)

void Canvas::Widget::setAnimationDelay int  d  ) 
 

Set the delay of the animation, in milliseconds

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

returns 'this'

Implements Canvas::Abstract.


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