TimelineGraphicsItem Class Reference

Class for graphics items representing keys in the Curve Editor panel. More...

#include <TimelineGraphicsItem.h>

List of all members.

Public Member Functions

 TimelineGraphicsItem (const int height)
 Constructor of the TimelineGraphicsItem class.
QRectF boundingRect () const
 Returns a rectangle describing the bounding region of the key item.
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 The paint function of the node.

Private Attributes

int m_height
 the height of the timeline


Detailed Description

Class for graphics items representing keys in the Curve Editor panel.

Constructor & Destructor Documentation

TimelineGraphicsItem::TimelineGraphicsItem ( const int  height  ) 

Constructor of the TimelineGraphicsItem class.

Constructors and Destructors.

Parameters:
curveEditorGraphicsView The graphics view in which the key graphics item is contained.
Constructor of the TimelineGraphicsItem class.

Parameters:
curveEditorGraphicsView The graphics view in which the key graphics item is contained.


Member Function Documentation

QRectF TimelineGraphicsItem::boundingRect (  )  const

Returns a rectangle describing the bounding region of the key item.

Public Functions.

Returns:
A rectangle describing the bounding region of the key item.
Returns a rectangle describing the bounding region of the key item.

Returns:
A rectangle describing the bounding region of the key item.

void TimelineGraphicsItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
) [virtual]

The paint function of the node.


Member Data Documentation

the height of the timeline


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

Generated on Wed Feb 24 15:01:03 2010 for Frapper by  doxygen 1.5.9