QtCanvasItem Class Referenceabstract

#include <ArmarXGui/libraries/qtpropertybrowser/examples/canvas_variant/qtcanvas.h>

+ Inheritance diagram for QtCanvasItem:

Public Types

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
}
 

Public Member Functions

bool active () const
 
bool active () const
 
virtual void advance (int stage)
 
virtual void advance (int stage)
 
bool animated () const
 
bool animated () const
 
virtual QRect boundingRect () const =0
 
virtual QRect boundingRect () const =0
 
virtual QRect boundingRectAdvanced () const
 
virtual QRect boundingRectAdvanced () const
 
QtCanvas * canvas () const
 
QtCanvas * canvas () const
 
virtual bool collidesWith (const QtCanvasItem *) const =0
 
virtual bool collidesWith (const QtCanvasItem *) const =0
 
QtCanvasItemList collisions (bool exact) const
 
QtCanvasItemList collisions (bool exact) const
 
virtual void draw (QPainter &)=0
 
virtual void draw (QPainter &)=0
 
bool enabled () const
 
bool enabled () const
 
void hide ()
 
void hide ()
 
bool isActive () const
 
bool isActive () const
 
bool isEnabled () const
 
bool isEnabled () const
 
bool isSelected () const
 
bool isSelected () const
 
bool isVisible () const
 
bool isVisible () const
 
void move (double x, double y)
 
void move (double x, double y)
 
virtual void moveBy (double dx, double dy)
 
virtual void moveBy (double dx, double dy)
 
 QtCanvasItem (QtCanvas *canvas)
 
 QtCanvasItem (QtCanvas *canvas)
 
virtual int rtti () const
 
virtual int rtti () const
 
bool selected () const
 
bool selected () const
 
virtual void setActive (bool yes)
 
virtual void setActive (bool yes)
 
virtual void setAnimated (bool y)
 
virtual void setAnimated (bool y)
 
virtual void setCanvas (QtCanvas *)
 
virtual void setCanvas (QtCanvas *)
 
virtual void setEnabled (bool yes)
 
virtual void setEnabled (bool yes)
 
virtual void setSelected (bool yes)
 
virtual void setSelected (bool yes)
 
virtual void setVelocity (double vx, double vy)
 
virtual void setVelocity (double vx, double vy)
 
virtual void setVisible (bool yes)
 
virtual void setVisible (bool yes)
 
void setX (double a)
 
void setX (double a)
 
void setXVelocity (double vx)
 
void setXVelocity (double vx)
 
void setY (double a)
 
void setY (double a)
 
void setYVelocity (double vy)
 
void setYVelocity (double vy)
 
void setZ (double a)
 
void setZ (double a)
 
void show ()
 
void show ()
 
bool visible () const
 
bool visible () const
 
double x () const
 
double x () const
 
double xVelocity () const
 
double xVelocity () const
 
double y () const
 
double y () const
 
double yVelocity () const
 
double yVelocity () const
 
double z () const
 
double z () const
 
virtual ~QtCanvasItem ()
 
virtual ~QtCanvasItem ()
 

Static Public Attributes

static int RTTI = Rtti_Item
 

Protected Member Functions

void update ()
 
void update ()
 

Friends

class QtCanvasEllipse
 
class QtCanvasLine
 
class QtCanvasPolygon
 
class QtCanvasPolygonalItem
 
class QtCanvasRectangle
 
class QtCanvasSprite
 
class QtCanvasText
 

Member Enumeration Documentation

◆ RttiValues [1/2]

enum RttiValues
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]

enum RttiValues
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 

Constructor & Destructor Documentation

◆ QtCanvasItem() [1/2]

QtCanvasItem ( QtCanvas * canvas)

◆ ~QtCanvasItem() [1/2]

~QtCanvasItem ( )
virtual

◆ QtCanvasItem() [2/2]

QtCanvasItem ( QtCanvas * canvas)

◆ ~QtCanvasItem() [2/2]

virtual ~QtCanvasItem ( )
virtual

Member Function Documentation

◆ active() [1/2]

bool active ( ) const
inline

◆ active() [2/2]

bool active ( ) const
inline

◆ advance() [1/2]

void advance ( int stage)
virtual

Reimplemented in QtCanvasSprite, and QtCanvasSprite.

◆ advance() [2/2]

virtual void advance ( int stage)
virtual

Reimplemented in QtCanvasSprite, and QtCanvasSprite.

◆ animated() [1/2]

bool animated ( ) const

◆ animated() [2/2]

bool animated ( ) const

◆ boundingRect() [1/2]

virtual QRect boundingRect ( ) const
pure virtual

◆ boundingRect() [2/2]

virtual QRect boundingRect ( ) const
pure virtual

◆ boundingRectAdvanced() [1/2]

QRect boundingRectAdvanced ( ) const
virtual

◆ boundingRectAdvanced() [2/2]

virtual QRect boundingRectAdvanced ( ) const
virtual

◆ canvas() [1/2]

QtCanvas * canvas ( ) const
inline

◆ canvas() [2/2]

QtCanvas * canvas ( ) const
inline

◆ collidesWith() [1/2]

◆ collidesWith() [2/2]

◆ collisions() [1/2]

QtCanvasItemList collisions ( bool exact) const

◆ collisions() [2/2]

QtCanvasItemList collisions ( bool exact) const

◆ draw() [1/2]

virtual void draw ( QPainter & )
pure virtual

◆ draw() [2/2]

virtual void draw ( QPainter & )
pure virtual

◆ enabled() [1/2]

bool enabled ( ) const
inline

◆ enabled() [2/2]

bool enabled ( ) const
inline

◆ hide() [1/2]

void hide ( )

◆ hide() [2/2]

void hide ( )

◆ isActive() [1/2]

bool isActive ( ) const
inline

◆ isActive() [2/2]

bool isActive ( ) const
inline

◆ isEnabled() [1/2]

bool isEnabled ( ) const
inline

◆ isEnabled() [2/2]

bool isEnabled ( ) const
inline

◆ isSelected() [1/2]

bool isSelected ( ) const
inline

◆ isSelected() [2/2]

bool isSelected ( ) const
inline

◆ isVisible() [1/2]

bool isVisible ( ) const
inline

◆ isVisible() [2/2]

bool isVisible ( ) const
inline

◆ move() [1/2]

void move ( double x,
double y )

◆ move() [2/2]

void move ( double x,
double y )

◆ moveBy() [1/2]

void moveBy ( double dx,
double dy )
virtual

◆ moveBy() [2/2]

virtual void moveBy ( double dx,
double dy )
virtual

◆ rtti() [1/2]

◆ rtti() [2/2]

◆ selected() [1/2]

bool selected ( ) const
inline

◆ selected() [2/2]

bool selected ( ) const
inline

◆ setActive() [1/2]

void setActive ( bool yes)
virtual

◆ setActive() [2/2]

virtual void setActive ( bool yes)
virtual

◆ setAnimated() [1/2]

void setAnimated ( bool y)
virtual

◆ setAnimated() [2/2]

virtual void setAnimated ( bool y)
virtual

◆ setCanvas() [1/2]

void setCanvas ( QtCanvas * c)
virtual

◆ setCanvas() [2/2]

virtual void setCanvas ( QtCanvas * )
virtual

◆ setEnabled() [1/2]

void setEnabled ( bool yes)
virtual

◆ setEnabled() [2/2]

virtual void setEnabled ( bool yes)
virtual

◆ setSelected() [1/2]

void setSelected ( bool yes)
virtual

◆ setSelected() [2/2]

virtual void setSelected ( bool yes)
virtual

◆ setVelocity() [1/2]

void setVelocity ( double vx,
double vy )
virtual

◆ setVelocity() [2/2]

virtual void setVelocity ( double vx,
double vy )
virtual

◆ setVisible() [1/2]

void setVisible ( bool yes)
virtual

◆ setVisible() [2/2]

virtual void setVisible ( bool yes)
virtual

◆ setX() [1/2]

void setX ( double a)
inline

◆ setX() [2/2]

void setX ( double a)
inline

◆ setXVelocity() [1/2]

void setXVelocity ( double vx)
inline

◆ setXVelocity() [2/2]

void setXVelocity ( double vx)
inline

◆ setY() [1/2]

void setY ( double a)
inline

◆ setY() [2/2]

void setY ( double a)
inline

◆ setYVelocity() [1/2]

void setYVelocity ( double vy)
inline

◆ setYVelocity() [2/2]

void setYVelocity ( double vy)
inline

◆ setZ() [1/2]

void setZ ( double a)
inline

◆ setZ() [2/2]

void setZ ( double a)
inline

◆ show() [1/2]

void show ( )

◆ show() [2/2]

void show ( )

◆ update() [1/2]

void update ( )
inlineprotected

◆ update() [2/2]

void update ( )
inlineprotected

◆ visible() [1/2]

bool visible ( ) const
inline

◆ visible() [2/2]

bool visible ( ) const
inline

◆ x() [1/2]

double x ( ) const
inline

◆ x() [2/2]

double x ( ) const
inline

◆ xVelocity() [1/2]

double xVelocity ( ) const

◆ xVelocity() [2/2]

double xVelocity ( ) const

◆ y() [1/2]

double y ( ) const
inline

◆ y() [2/2]

double y ( ) const
inline

◆ yVelocity() [1/2]

double yVelocity ( ) const

◆ yVelocity() [2/2]

double yVelocity ( ) const

◆ z() [1/2]

double z ( ) const
inline

◆ z() [2/2]

double z ( ) const
inline

Friends And Related Symbol Documentation

◆ QtCanvasEllipse

◆ QtCanvasLine

QtCanvasLine
friend

◆ QtCanvasPolygon

◆ QtCanvasPolygonalItem

◆ QtCanvasRectangle

◆ QtCanvasSprite

◆ QtCanvasText

QtCanvasText
friend

Member Data Documentation

◆ RTTI

static int RTTI = Rtti_Item
static

The documentation for this class was generated from the following files: