Class for graphics items representing keys in the Curve Editor panel.
More...
#include <TimelineGraphicsItem.h>
|
| TimelineGraphicsItem (const float height) |
| Constructor of the TimelineGraphicsItem class.
|
|
void | setWidth (const float width) |
| Sets the with by the given value.
|
|
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.
|
|
|
float | m_height |
| the height of the timeline
|
|
float | m_width |
| the width of the timeline
|
|
Class for graphics items representing keys in the Curve Editor panel.
Frapper::TimelineGraphicsItem::TimelineGraphicsItem |
( |
const float |
height | ) |
|
Constructor of the TimelineGraphicsItem class.
Constructors and Destructors.
- Parameters
-
height | The height of th item. |
Constructor of the TimelineGraphicsItem class.
- Parameters
-
curveEditorGraphicsView | The graphics view in which the key graphics item is contained. |
void Frapper::TimelineGraphicsItem::setWidth |
( |
const float |
width | ) |
|
Sets the with by the given value.
Public Functions.
- Parameters
-
width | The value to set the item width. |
Sets the with by the given value.
- Parameters
-
width | The value to set the item width. |
QRectF Frapper::TimelineGraphicsItem::boundingRect |
( |
| ) |
const |
Returns a rectangle describing the bounding region of the key item.
- Returns
- A rectangle describing the bounding region of the key item.
void Frapper::TimelineGraphicsItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
|
virtual |
The paint function of the node.
float Frapper::TimelineGraphicsItem::m_height |
|
private |
the height of the timeline
float Frapper::TimelineGraphicsItem::m_width |
|
private |
the width of the timeline
The documentation for this class was generated from the following files: