|
#include <ArmarXGui/libraries/qtpropertybrowser/examples/canvas_typed/qtcanvas.h>
Public Slots | |
virtual void | advance () |
virtual void | advance () |
virtual void | update () |
virtual void | update () |
Signals | |
void | resized () |
void | resized () |
Public Member Functions | |
virtual void | addAnimation (QtCanvasItem *) |
virtual void | addAnimation (QtCanvasItem *) |
virtual void | addItem (QtCanvasItem *) |
virtual void | addItem (QtCanvasItem *) |
void | addItemToChunk (QtCanvasItem *, int i, int j) |
void | addItemToChunk (QtCanvasItem *, int i, int j) |
void | addItemToChunkContaining (QtCanvasItem *, int x, int y) |
void | addItemToChunkContaining (QtCanvasItem *, int x, int y) |
virtual void | addView (QtCanvasView *) |
virtual void | addView (QtCanvasView *) |
QtCanvasItemList | allItems () |
QtCanvasItemList | allItems () |
QColor | backgroundColor () const |
QColor | backgroundColor () const |
QPixmap | backgroundPixmap () const |
QPixmap | backgroundPixmap () const |
int | chunkSize () const |
int | chunkSize () const |
QtCanvasItemList | collisions (const QPoint &) const |
QtCanvasItemList | collisions (const QPoint &) const |
QtCanvasItemList | collisions (const QPolygon &pa, const QtCanvasItem *item, bool exact) const |
QtCanvasItemList | collisions (const QPolygon &pa, const QtCanvasItem *item, bool exact) const |
QtCanvasItemList | collisions (const QRect &) const |
QtCanvasItemList | collisions (const QRect &) const |
void | drawArea (const QRect &, QPainter *p, bool double_buffer=false) |
void | drawArea (const QRect &, QPainter *p, bool double_buffer=false) |
void | drawCanvasArea (const QRect &, QPainter *p=0, bool double_buffer=true) |
void | drawCanvasArea (const QRect &, QPainter *p=0, bool double_buffer=true) |
void | drawViewArea (QtCanvasView *view, QPainter *p, const QRect &r, bool dbuf) |
void | drawViewArea (QtCanvasView *view, QPainter *p, const QRect &r, bool dbuf) |
int | height () const |
int | height () const |
bool | onCanvas (const QPoint &p) const |
bool | onCanvas (const QPoint &p) const |
bool | onCanvas (int x, int y) const |
bool | onCanvas (int x, int y) const |
QtCanvas (int w, int h) | |
QtCanvas (int w, int h) | |
QtCanvas (QObject *parent=0) | |
QtCanvas (QObject *parent=0) | |
QtCanvas (QPixmap p, int h, int v, int tilewidth, int tileheight) | |
QtCanvas (QPixmap p, int h, int v, int tilewidth, int tileheight) | |
QRect | rect () const |
QRect | rect () const |
virtual void | removeAnimation (QtCanvasItem *) |
virtual void | removeAnimation (QtCanvasItem *) |
virtual void | removeItem (QtCanvasItem *) |
virtual void | removeItem (QtCanvasItem *) |
void | removeItemFromChunk (QtCanvasItem *, int i, int j) |
void | removeItemFromChunk (QtCanvasItem *, int i, int j) |
void | removeItemFromChunkContaining (QtCanvasItem *, int x, int y) |
void | removeItemFromChunkContaining (QtCanvasItem *, int x, int y) |
virtual void | removeView (QtCanvasView *) |
virtual void | removeView (QtCanvasView *) |
virtual void | resize (int width, int height) |
virtual void | resize (int width, int height) |
virtual void | retune (int chunksize, int maxclusters=100) |
virtual void | retune (int chunksize, int maxclusters=100) |
bool | sameChunk (int x1, int y1, int x2, int y2) const |
bool | sameChunk (int x1, int y1, int x2, int y2) const |
virtual void | setAdvancePeriod (int ms) |
virtual void | setAdvancePeriod (int ms) |
virtual void | setAllChanged () |
virtual void | setAllChanged () |
virtual void | setBackgroundColor (const QColor &c) |
virtual void | setBackgroundColor (const QColor &c) |
virtual void | setBackgroundPixmap (const QPixmap &p) |
virtual void | setBackgroundPixmap (const QPixmap &p) |
virtual void | setChanged (const QRect &area) |
virtual void | setChanged (const QRect &area) |
virtual void | setChangedChunk (int i, int j) |
virtual void | setChangedChunk (int i, int j) |
virtual void | setChangedChunkContaining (int x, int y) |
virtual void | setChangedChunkContaining (int x, int y) |
virtual void | setTile (int x, int y, int tilenum) |
virtual void | setTile (int x, int y, int tilenum) |
virtual void | setTiles (QPixmap tiles, int h, int v, int tilewidth, int tileheight) |
virtual void | setTiles (QPixmap tiles, int h, int v, int tilewidth, int tileheight) |
virtual void | setUnchanged (const QRect &area) |
virtual void | setUnchanged (const QRect &area) |
virtual void | setUpdatePeriod (int ms) |
virtual void | setUpdatePeriod (int ms) |
QSize | size () const |
QSize | size () const |
int | tile (int x, int y) const |
int | tile (int x, int y) const |
int | tileHeight () const |
int | tileHeight () const |
int | tilesHorizontally () const |
int | tilesHorizontally () const |
int | tilesVertically () const |
int | tilesVertically () const |
int | tileWidth () const |
int | tileWidth () const |
bool | validChunk (const QPoint &p) const |
bool | validChunk (const QPoint &p) const |
bool | validChunk (int x, int y) const |
bool | validChunk (int x, int y) const |
int | width () const |
int | width () const |
virtual | ~QtCanvas () |
virtual | ~QtCanvas () |
Protected Member Functions | |
virtual void | drawBackground (QPainter &, const QRect &area) |
virtual void | drawBackground (QPainter &, const QRect &area) |
virtual void | drawForeground (QPainter &, const QRect &area) |
virtual void | drawForeground (QPainter &, const QRect &area) |
Friends | |
void | qt_unview (QtCanvas *c) |
void | qt_unview (QtCanvas *c) |
Definition at line 233 of file qtcanvas.h.
QtCanvas | ( | QObject * | parent = 0 | ) |
Definition at line 597 of file qtcanvas.cpp.
QtCanvas | ( | int | w, |
int | h | ||
) |
Definition at line 606 of file qtcanvas.cpp.
QtCanvas | ( | QPixmap | p, |
int | h, | ||
int | v, | ||
int | tilewidth, | ||
int | tileheight | ||
) |
|
virtual |
QtCanvas | ( | QObject * | parent = 0 | ) |
QtCanvas | ( | int | w, |
int | h | ||
) |
QtCanvas | ( | QPixmap | p, |
int | h, | ||
int | v, | ||
int | tilewidth, | ||
int | tileheight | ||
) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void addItemToChunk | ( | QtCanvasItem * | , |
int | i, | ||
int | j | ||
) |
void addItemToChunk | ( | QtCanvasItem * | g, |
int | i, | ||
int | j | ||
) |
void addItemToChunkContaining | ( | QtCanvasItem * | , |
int | x, | ||
int | y | ||
) |
void addItemToChunkContaining | ( | QtCanvasItem * | g, |
int | x, | ||
int | y | ||
) |
|
virtual |
Definition at line 936 of file qtcanvas.cpp.
|
virtual |
|
virtualslot |
Definition at line 1039 of file qtcanvas.cpp.
|
virtualslot |
QtCanvasItemList allItems | ( | ) |
QtCanvasItemList allItems | ( | ) |
QColor backgroundColor | ( | ) | const |
QColor backgroundColor | ( | ) | const |
QPixmap backgroundPixmap | ( | ) | const |
Definition at line 1491 of file qtcanvas.cpp.
QPixmap backgroundPixmap | ( | ) | const |
|
inline |
Definition at line 309 of file qtcanvas.h.
|
inline |
QtCanvasItemList collisions | ( | const QPoint & | p | ) | const |
QtCanvasItemList collisions | ( | const QPoint & | ) | const |
QtCanvasItemList collisions | ( | const QPolygon & | pa, |
const QtCanvasItem * | item, | ||
bool | exact | ||
) | const |
QtCanvasItemList collisions | ( | const QPolygon & | pa, |
const QtCanvasItem * | item, | ||
bool | exact | ||
) | const |
QtCanvasItemList collisions | ( | const QRect & | r | ) | const |
QtCanvasItemList collisions | ( | const QRect & | ) | const |
void drawArea | ( | const QRect & | clip, |
QPainter * | p, | ||
bool | double_buffer = false |
||
) |
void drawArea | ( | const QRect & | , |
QPainter * | p, | ||
bool | double_buffer = false |
||
) |
|
protectedvirtual |
Definition at line 1526 of file qtcanvas.cpp.
|
protectedvirtual |
void drawCanvasArea | ( | const QRect & | inarea, |
QPainter * | p = 0 , |
||
bool | double_buffer = true |
||
) |
Definition at line 1267 of file qtcanvas.cpp.
void drawCanvasArea | ( | const QRect & | , |
QPainter * | p = 0 , |
||
bool | double_buffer = true |
||
) |
|
protectedvirtual |
|
protectedvirtual |
Definition at line 1580 of file qtcanvas.cpp.
void drawViewArea | ( | QtCanvasView * | view, |
QPainter * | p, | ||
const QRect & | r, | ||
bool | dbuf | ||
) |
Definition at line 1075 of file qtcanvas.cpp.
void drawViewArea | ( | QtCanvasView * | view, |
QPainter * | p, | ||
const QRect & | r, | ||
bool | dbuf | ||
) |
|
inline |
Definition at line 280 of file qtcanvas.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 292 of file qtcanvas.h.
|
inline |
|
inline |
|
inline |
Definition at line 288 of file qtcanvas.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void removeItemFromChunk | ( | QtCanvasItem * | , |
int | i, | ||
int | j | ||
) |
void removeItemFromChunk | ( | QtCanvasItem * | g, |
int | i, | ||
int | j | ||
) |
void removeItemFromChunkContaining | ( | QtCanvasItem * | g, |
int | x, | ||
int | y | ||
) |
void removeItemFromChunkContaining | ( | QtCanvasItem * | , |
int | x, | ||
int | y | ||
) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
signal |
|
signal |
|
virtual |
|
virtual |
Definition at line 776 of file qtcanvas.cpp.
|
inline |
Definition at line 315 of file qtcanvas.h.
|
inline |
Definition at line 315 of file qtcanvas.h.
|
virtual |
|
virtual |
|
virtual |
Definition at line 1115 of file qtcanvas.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Definition at line 1124 of file qtcanvas.cpp.
|
virtual |
|
virtual |
|
virtual |
Definition at line 1356 of file qtcanvas.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Definition at line 1616 of file qtcanvas.cpp.
|
virtual |
|
virtual |
|
virtual |
Definition at line 1162 of file qtcanvas.cpp.
|
virtual |
|
virtual |
|
inline |
Definition at line 284 of file qtcanvas.h.
|
inline |
Definition at line 284 of file qtcanvas.h.
|
inline |
Definition at line 252 of file qtcanvas.h.
|
inline |
|
inline |
Definition at line 270 of file qtcanvas.h.
|
inline |
Definition at line 270 of file qtcanvas.h.
|
inline |
Definition at line 257 of file qtcanvas.h.
|
inline |
|
inline |
Definition at line 261 of file qtcanvas.h.
|
inline |
|
inline |
Definition at line 266 of file qtcanvas.h.
|
inline |
Definition at line 266 of file qtcanvas.h.
|
virtualslot |
Definition at line 1091 of file qtcanvas.cpp.
|
virtualslot |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 300 of file qtcanvas.h.
|
inline |
|
inline |
Definition at line 276 of file qtcanvas.h.
|
friend |
|
friend |