libkdegames/libkdegamesprivate
KGameCanvasDummy Class Reference
#include <KGameCanvas>
Inheritance diagram for KGameCanvasDummy:
Public Member Functions | |
KGameCanvasDummy (KGameCanvasAbstract *canvas=NULL) | |
virtual | ~KGameCanvasDummy () |
virtual void | paint (QPainter *p) |
virtual QRect | rect () const |
Public Member Functions inherited from KGameCanvasItem | |
KGameCanvasItem (KGameCanvasAbstract *canvas=NULL) | |
virtual | ~KGameCanvasItem () |
QPoint | absolutePosition () const |
virtual void | advance (int msecs) |
bool | animated () const |
KGameCanvasAbstract * | canvas () const |
virtual void | changed () |
void | hide () |
virtual bool | layered () const |
void | lower () |
void | moveTo (const QPoint &newpos) |
void | moveTo (int x, int y) |
int | opacity () const |
QPoint | pos () const |
void | putInCanvas (KGameCanvasAbstract *canvas) |
void | raise () |
void | setAnimated (bool a) |
void | setOpacity (int o) |
void | setVisible (bool v) |
void | show () |
void | stackOver (KGameCanvasItem *ref) |
void | stackUnder (KGameCanvasItem *ref) |
KGameCanvasWidget * | topLevelCanvas () const |
bool | visible () const |
Detailed Description
A dummy (empty) item.
A KGameCanvasDummy is an empty, invisible item. You can use it as reference for stacking items in the canvas using the stackOver and stackUnder functions.
- Deprecated:
- For new applications, use Qt's Graphics View framework or Qt Quick.
Definition at line 244 of file kgamecanvas.h.
Constructor & Destructor Documentation
KGameCanvasDummy::KGameCanvasDummy | ( | KGameCanvasAbstract * | canvas = NULL | ) |
Constructor.
Definition at line 647 of file kgamecanvas.cpp.
|
virtual |
Definition at line 653 of file kgamecanvas.cpp.
Member Function Documentation
|
virtual |
This function does nothing (of course)
Implements KGameCanvasItem.
Definition at line 658 of file kgamecanvas.cpp.
|
virtual |
This returns an empty rectangle.
Implements KGameCanvasItem.
Definition at line 661 of file kgamecanvas.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.