#include <qtcanvas.h>
|
enum | RttiValues {
Rtti_Item = 0
, Rtti_Sprite = 1
, Rtti_PolygonalItem = 2
, Rtti_Text = 3
,
Rtti_Polygon = 4
, Rtti_Rectangle = 5
, Rtti_Ellipse = 6
, Rtti_Line = 7
,
Rtti_Spline = 8
, Rtti_Item = 0
, Rtti_Sprite = 1
, Rtti_PolygonalItem = 2
,
Rtti_Text = 3
, Rtti_Polygon = 4
, Rtti_Rectangle = 5
, Rtti_Ellipse = 6
,
Rtti_Line = 7
, Rtti_Spline = 8
} |
|
enum | RttiValues {
Rtti_Item = 0
, Rtti_Sprite = 1
, Rtti_PolygonalItem = 2
, Rtti_Text = 3
,
Rtti_Polygon = 4
, Rtti_Rectangle = 5
, Rtti_Ellipse = 6
, Rtti_Line = 7
,
Rtti_Spline = 8
, Rtti_Item = 0
, Rtti_Sprite = 1
, Rtti_PolygonalItem = 2
,
Rtti_Text = 3
, Rtti_Polygon = 4
, Rtti_Rectangle = 5
, Rtti_Ellipse = 6
,
Rtti_Line = 7
, Rtti_Spline = 8
} |
|
◆ RttiValues [1/2]
Enumerator |
---|
Rtti_Item | |
Rtti_Sprite | |
Rtti_PolygonalItem | |
Rtti_Text | |
Rtti_Polygon | |
Rtti_Rectangle | |
Rtti_Ellipse | |
Rtti_Line | |
Rtti_Spline | |
Rtti_Item | |
Rtti_Sprite | |
Rtti_PolygonalItem | |
Rtti_Text | |
Rtti_Polygon | |
Rtti_Rectangle | |
Rtti_Ellipse | |
Rtti_Line | |
Rtti_Spline | |
◆ RttiValues [2/2]
Enumerator |
---|
Rtti_Item | |
Rtti_Sprite | |
Rtti_PolygonalItem | |
Rtti_Text | |
Rtti_Polygon | |
Rtti_Rectangle | |
Rtti_Ellipse | |
Rtti_Line | |
Rtti_Spline | |
Rtti_Item | |
Rtti_Sprite | |
Rtti_PolygonalItem | |
Rtti_Text | |
Rtti_Polygon | |
Rtti_Rectangle | |
Rtti_Ellipse | |
Rtti_Line | |
Rtti_Spline | |
◆ QtCanvasItem() [1/2]
QtCanvasItem::QtCanvasItem |
( |
QtCanvas * |
canvas | ) |
|
◆ ~QtCanvasItem() [1/2]
QtCanvasItem::~QtCanvasItem |
( |
| ) |
|
|
virtual |
◆ QtCanvasItem() [2/2]
QtCanvasItem::QtCanvasItem |
( |
QtCanvas * |
canvas | ) |
|
◆ ~QtCanvasItem() [2/2]
virtual QtCanvasItem::~QtCanvasItem |
( |
| ) |
|
|
virtual |
◆ active() [1/2]
bool QtCanvasItem::active |
( |
| ) |
const |
|
inline |
◆ active() [2/2]
bool QtCanvasItem::active |
( |
| ) |
const |
|
inline |
◆ advance() [1/2]
void QtCanvasItem::advance |
( |
int |
stage | ) |
|
|
virtual |
◆ advance() [2/2]
virtual void QtCanvasItem::advance |
( |
int |
stage | ) |
|
|
virtual |
◆ animated() [1/2]
bool QtCanvasItem::animated |
( |
| ) |
const |
◆ animated() [2/2]
bool QtCanvasItem::animated |
( |
| ) |
const |
◆ boundingRect() [1/2]
virtual QRect QtCanvasItem::boundingRect |
( |
| ) |
const |
|
pure virtual |
◆ boundingRect() [2/2]
virtual QRect QtCanvasItem::boundingRect |
( |
| ) |
const |
|
pure virtual |
◆ boundingRectAdvanced() [1/2]
QRect QtCanvasItem::boundingRectAdvanced |
( |
| ) |
const |
|
virtual |
◆ boundingRectAdvanced() [2/2]
virtual QRect QtCanvasItem::boundingRectAdvanced |
( |
| ) |
const |
|
virtual |
◆ canvas() [1/2]
QtCanvas* QtCanvasItem::canvas |
( |
| ) |
const |
|
inline |
◆ canvas() [2/2]
QtCanvas* QtCanvasItem::canvas |
( |
| ) |
const |
|
inline |
◆ collidesWith() [1/2]
virtual bool QtCanvasItem::collidesWith |
( |
const QtCanvasItem * |
| ) |
const |
|
pure virtual |
Implemented in QtCanvasText, QtCanvasEllipse, QtCanvasRectangle, QtCanvasPolygonalItem, QtCanvasSprite, QtCanvasText, QtCanvasEllipse, QtCanvasRectangle, QtCanvasPolygonalItem, and QtCanvasSprite.
Referenced by QtCanvasSprite::collidesWith(), QtCanvasPolygonalItem::collidesWith(), QtCanvasRectangle::collidesWith(), QtCanvasEllipse::collidesWith(), QtCanvasText::collidesWith(), and QtCanvas::collisions().
◆ collidesWith() [2/2]
virtual bool QtCanvasItem::collidesWith |
( |
const QtCanvasItem * |
| ) |
const |
|
pure virtual |
◆ collisions() [1/2]
◆ collisions() [2/2]
◆ draw() [1/2]
virtual void QtCanvasItem::draw |
( |
QPainter & |
| ) |
|
|
pure virtual |
◆ draw() [2/2]
virtual void QtCanvasItem::draw |
( |
QPainter & |
| ) |
|
|
pure virtual |
◆ enabled() [1/2]
bool QtCanvasItem::enabled |
( |
| ) |
const |
|
inline |
◆ enabled() [2/2]
bool QtCanvasItem::enabled |
( |
| ) |
const |
|
inline |
◆ hide() [1/2]
void QtCanvasItem::hide |
( |
| ) |
|
◆ hide() [2/2]
void QtCanvasItem::hide |
( |
| ) |
|
◆ isActive() [1/2]
bool QtCanvasItem::isActive |
( |
| ) |
const |
|
inline |
◆ isActive() [2/2]
bool QtCanvasItem::isActive |
( |
| ) |
const |
|
inline |
◆ isEnabled() [1/2]
bool QtCanvasItem::isEnabled |
( |
| ) |
const |
|
inline |
◆ isEnabled() [2/2]
bool QtCanvasItem::isEnabled |
( |
| ) |
const |
|
inline |
◆ isSelected() [1/2]
bool QtCanvasItem::isSelected |
( |
| ) |
const |
|
inline |
◆ isSelected() [2/2]
bool QtCanvasItem::isSelected |
( |
| ) |
const |
|
inline |
◆ isVisible() [1/2]
bool QtCanvasItem::isVisible |
( |
| ) |
const |
|
inline |
◆ isVisible() [2/2]
bool QtCanvasItem::isVisible |
( |
| ) |
const |
|
inline |
◆ move() [1/2]
void QtCanvasItem::move |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ move() [2/2]
void QtCanvasItem::move |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ moveBy() [1/2]
void QtCanvasItem::moveBy |
( |
double |
dx, |
|
|
double |
dy |
|
) |
| |
|
virtual |
◆ moveBy() [2/2]
virtual void QtCanvasItem::moveBy |
( |
double |
dx, |
|
|
double |
dy |
|
) |
| |
|
virtual |
◆ rtti() [1/2]
int QtCanvasItem::rtti |
( |
| ) |
const |
|
virtual |
Reimplemented in QtCanvasText, QtCanvasEllipse, QtCanvasLine, QtCanvasSpline, QtCanvasPolygon, QtCanvasRectangle, QtCanvasPolygonalItem, QtCanvasSprite, QtCanvasText, QtCanvasEllipse, QtCanvasLine, QtCanvasSpline, QtCanvasPolygon, QtCanvasRectangle, QtCanvasPolygonalItem, and QtCanvasSprite.
References RTTI.
◆ rtti() [2/2]
virtual int QtCanvasItem::rtti |
( |
| ) |
const |
|
virtual |
Reimplemented in QtCanvasText, QtCanvasEllipse, QtCanvasLine, QtCanvasSpline, QtCanvasPolygon, QtCanvasRectangle, QtCanvasPolygonalItem, QtCanvasSprite, QtCanvasText, QtCanvasEllipse, QtCanvasLine, QtCanvasSpline, QtCanvasPolygon, QtCanvasRectangle, QtCanvasPolygonalItem, and QtCanvasSprite.
◆ selected() [1/2]
bool QtCanvasItem::selected |
( |
| ) |
const |
|
inline |
◆ selected() [2/2]
bool QtCanvasItem::selected |
( |
| ) |
const |
|
inline |
◆ setActive() [1/2]
void QtCanvasItem::setActive |
( |
bool |
yes | ) |
|
|
virtual |
◆ setActive() [2/2]
virtual void QtCanvasItem::setActive |
( |
bool |
yes | ) |
|
|
virtual |
◆ setAnimated() [1/2]
void QtCanvasItem::setAnimated |
( |
bool |
y | ) |
|
|
virtual |
◆ setAnimated() [2/2]
virtual void QtCanvasItem::setAnimated |
( |
bool |
y | ) |
|
|
virtual |
◆ setCanvas() [1/2]
void QtCanvasItem::setCanvas |
( |
QtCanvas * |
c | ) |
|
|
virtual |
◆ setCanvas() [2/2]
virtual void QtCanvasItem::setCanvas |
( |
QtCanvas * |
| ) |
|
|
virtual |
◆ setEnabled() [1/2]
void QtCanvasItem::setEnabled |
( |
bool |
yes | ) |
|
|
virtual |
◆ setEnabled() [2/2]
virtual void QtCanvasItem::setEnabled |
( |
bool |
yes | ) |
|
|
virtual |
◆ setSelected() [1/2]
void QtCanvasItem::setSelected |
( |
bool |
yes | ) |
|
|
virtual |
◆ setSelected() [2/2]
virtual void QtCanvasItem::setSelected |
( |
bool |
yes | ) |
|
|
virtual |
◆ setVelocity() [1/2]
void QtCanvasItem::setVelocity |
( |
double |
vx, |
|
|
double |
vy |
|
) |
| |
|
virtual |
◆ setVelocity() [2/2]
virtual void QtCanvasItem::setVelocity |
( |
double |
vx, |
|
|
double |
vy |
|
) |
| |
|
virtual |
◆ setVisible() [1/2]
void QtCanvasItem::setVisible |
( |
bool |
yes | ) |
|
|
virtual |
◆ setVisible() [2/2]
virtual void QtCanvasItem::setVisible |
( |
bool |
yes | ) |
|
|
virtual |
◆ setX() [1/2]
void QtCanvasItem::setX |
( |
double |
a | ) |
|
|
inline |
◆ setX() [2/2]
void QtCanvasItem::setX |
( |
double |
a | ) |
|
|
inline |
◆ setXVelocity() [1/2]
void QtCanvasItem::setXVelocity |
( |
double |
vx | ) |
|
|
inline |
◆ setXVelocity() [2/2]
void QtCanvasItem::setXVelocity |
( |
double |
vx | ) |
|
|
inline |
◆ setY() [1/2]
void QtCanvasItem::setY |
( |
double |
a | ) |
|
|
inline |
◆ setY() [2/2]
void QtCanvasItem::setY |
( |
double |
a | ) |
|
|
inline |
◆ setYVelocity() [1/2]
void QtCanvasItem::setYVelocity |
( |
double |
vy | ) |
|
|
inline |
◆ setYVelocity() [2/2]
void QtCanvasItem::setYVelocity |
( |
double |
vy | ) |
|
|
inline |
◆ setZ() [1/2]
void QtCanvasItem::setZ |
( |
double |
a | ) |
|
|
inline |
◆ setZ() [2/2]
void QtCanvasItem::setZ |
( |
double |
a | ) |
|
|
inline |
◆ show() [1/2]
void QtCanvasItem::show |
( |
| ) |
|
◆ show() [2/2]
void QtCanvasItem::show |
( |
| ) |
|
◆ update() [1/2]
void QtCanvasItem::update |
( |
| ) |
|
|
inlineprotected |
◆ update() [2/2]
void QtCanvasItem::update |
( |
| ) |
|
|
inlineprotected |
◆ visible() [1/2]
bool QtCanvasItem::visible |
( |
| ) |
const |
|
inline |
◆ visible() [2/2]
bool QtCanvasItem::visible |
( |
| ) |
const |
|
inline |
◆ x() [1/2]
double QtCanvasItem::x |
( |
| ) |
const |
|
inline |
Referenced by QtCanvasSprite::advance(), QtCanvasRectangle::areaPoints(), QtCanvasLine::areaPoints(), QtCanvasEllipse::areaPoints(), QtCanvasPolygonalItem::areaPointsAdvanced(), boundingRectAdvanced(), collision_double_dispatch(), QtCanvas::collisions(), QtCanvasText::draw(), QtCanvasRectangle::drawShape(), QtCanvasLine::drawShape(), QtCanvasEllipse::drawShape(), QtCanvasSprite::leftEdge(), move(), QtCanvasSprite::move(), QtCanvasPolygon::moveBy(), QtCanvasText::moveBy(), QtCanvasPolygon::points(), QtCanvasRectangle::QtCanvasRectangle(), QtCanvasRectangle::rect(), QtCanvasSprite::setFrame(), QtCanvasPolygon::setPoints(), and setY().
◆ x() [2/2]
double QtCanvasItem::x |
( |
| ) |
const |
|
inline |
◆ xVelocity() [1/2]
double QtCanvasItem::xVelocity |
( |
| ) |
const |
◆ xVelocity() [2/2]
double QtCanvasItem::xVelocity |
( |
| ) |
const |
◆ y() [1/2]
double QtCanvasItem::y |
( |
| ) |
const |
|
inline |
Referenced by QtCanvasSprite::advance(), QtCanvasRectangle::areaPoints(), QtCanvasLine::areaPoints(), QtCanvasEllipse::areaPoints(), QtCanvasPolygonalItem::areaPointsAdvanced(), boundingRectAdvanced(), collision_double_dispatch(), QtCanvas::collisions(), QtCanvasText::draw(), QtCanvasRectangle::drawShape(), QtCanvasLine::drawShape(), QtCanvasEllipse::drawShape(), move(), QtCanvasSprite::move(), QtCanvasPolygon::moveBy(), QtCanvasText::moveBy(), QtCanvasPolygon::points(), QtCanvasRectangle::QtCanvasRectangle(), QtCanvasRectangle::rect(), setAnimated(), QtCanvasSprite::setFrame(), QtCanvasPolygon::setPoints(), setX(), and QtCanvasSprite::topEdge().
◆ y() [2/2]
double QtCanvasItem::y |
( |
| ) |
const |
|
inline |
◆ yVelocity() [1/2]
double QtCanvasItem::yVelocity |
( |
| ) |
const |
◆ yVelocity() [2/2]
double QtCanvasItem::yVelocity |
( |
| ) |
const |
◆ z() [1/2]
double QtCanvasItem::z |
( |
| ) |
const |
|
inline |
◆ z() [2/2]
double QtCanvasItem::z |
( |
| ) |
const |
|
inline |
◆ QtCanvasEllipse
◆ QtCanvasLine
◆ QtCanvasPolygon
◆ QtCanvasPolygonalItem
◆ QtCanvasRectangle
◆ QtCanvasSprite
◆ QtCanvasText
◆ RTTI
The documentation for this class was generated from the following files: