org.kde.qt
public class QCanvas extends QObject
Constructor Summary | |
---|---|
protected | QCanvas(Class dummy) |
QCanvas(QObject parent, String name) | |
QCanvas(QObject parent) | |
QCanvas() | |
QCanvas(int w, int h) | |
QCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight) |
Method Summary | |
---|---|
void | addAnimation(QCanvasItem arg1) |
void | addItem(QCanvasItem arg1) |
void | addItemToChunk(QCanvasItem arg1, int i, int j) |
void | addItemToChunkContaining(QCanvasItem arg1, int x, int y) |
void | addView(QCanvasView arg1) |
void | advance() |
ArrayList | allItems() |
QColor | backgroundColor() |
QPixmap | backgroundPixmap() |
int | chunkSize() |
String | className() |
ArrayList | collisions(QPoint arg1) |
ArrayList | collisions(QRect arg1) |
ArrayList | collisions(QPointArray pa, QCanvasItem item, boolean exact) |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
void | drawArea(QRect arg1, QPainter p, boolean double_buffer) |
void | drawArea(QRect arg1, QPainter p) |
protected void | drawBackground(QPainter arg1, QRect area) |
void | drawCanvasArea(QRect arg1, QPainter p, boolean double_buffer) |
void | drawCanvasArea(QRect arg1, QPainter p) |
void | drawCanvasArea(QRect arg1) |
protected void | drawForeground(QPainter arg1, QRect area) |
void | drawViewArea(QCanvasView view, QPainter p, QRect r, boolean dbuf) |
protected void | finalize() Deletes the wrapped C++ instance |
int | height() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
boolean | onCanvas(int x, int y) |
boolean | onCanvas(QPoint p) |
QRect | rect() |
void | removeAnimation(QCanvasItem arg1) |
void | removeItem(QCanvasItem arg1) |
void | removeItemFromChunk(QCanvasItem arg1, int i, int j) |
void | removeItemFromChunkContaining(QCanvasItem arg1, int x, int y) |
void | removeView(QCanvasView arg1) |
void | resize(int width, int height) |
void | retune(int chunksize, int maxclusters) |
void | retune(int chunksize) |
boolean | sameChunk(int x1, int y1, int x2, int y2) |
void | setAdvancePeriod(int ms) |
void | setAllChanged() |
void | setBackgroundColor(QColor c) |
void | setBackgroundPixmap(QPixmap p) |
void | setChanged(QRect area) |
void | setChangedChunk(int i, int j) |
void | setChangedChunkContaining(int x, int y) |
void | setDoubleBuffering(boolean y) |
void | setTile(int x, int y, int tilenum) |
void | setTiles(QPixmap tiles, int h, int v, int tilewidth, int tileheight) |
void | setUnchanged(QRect area) |
void | setUpdatePeriod(int ms) |
QSize | size() |
int | tile(int x, int y) |
int | tileHeight() |
int | tilesHorizontally() |
int | tilesVertically() |
int | tileWidth() |
static String | tr(String arg1, String arg2) |
static String | tr(String arg1) |
void | update() |
boolean | validChunk(int x, int y) |
boolean | validChunk(QPoint p) |
int | width() |