#include <canvas.h>
Inheritance diagram for Canvas::Abstract:

Public Member Functions | |
| Abstract () | |
| const QList< Item * > * | items () const |
| Item * | itemAt (QPoint pos) const |
| Item * | itemAt (int x, int y) const |
| QList< Item * > | itemsAt (QPoint pos) const |
| QList< Item * > | itemsAt (int x, int y) const |
| virtual void | ensureAnimating ()=0 |
| virtual void | ensurePendingUpdate ()=0 |
| virtual void | invalidate (const QRect &r, bool translate=true)=0 |
| virtual void | invalidate (const QRegion &r, bool translate=true)=0 |
| virtual class Widget * | topLevelCanvas ()=0 |
Protected Attributes | |
| QList< Item * > | m_items |
| QList< Item * > | m_animated_items |
Friends | |
| class | Item |
A Abstract is a set of canvas items.
|
|
The constructor |
|
|
Virtual function to let know the canvas that it has animated items in it |
|
|
Virtual function to ensure an update is pending, called from children |
|
||||||||||||
|
Virtual function to update a region |
|
||||||||||||
|
Virtual function to update a rect |
|
||||||||||||
|
Overload, same as above |
|
|
Helper function to retrieve the topmost item at the given position |
|
|
Returns a const pointer to the list holding all the items in the canvas |
|
||||||||||||
|
Overload, same as above |
|
|
Helper function to retrieve all the items at the given position, starting from the topmost one. |
|
|
Returns the toplevel non-group Widget object Implemented in Canvas::Group, and Canvas::Widget. |
1.4.3-20050530