#include <vtkQtChartScene.h>
Definition at line 37 of file vtkQtChartScene.h.
Public Member Functions | |
vtkQtChartScene (QObject *parent=0) | |
Creates a chart scene. | |
virtual | ~vtkQtChartScene () |
void | setMouseBox (vtkQtChartMouseBox *box) |
Sets the chart mouse box. | |
Protected Member Functions | |
virtual void | drawItems (QPainter *painter, int numItems, QGraphicsItem **items, const QStyleOptionGraphicsItem *options, QWidget *widget=0) |
Allows the chart layers to clip their objects. | |
virtual void | drawForeground (QPainter *painter, const QRectF &area) |
Draws the chart mouse box in the foreground. |
vtkQtChartScene::vtkQtChartScene | ( | QObject * | parent = 0 |
) |
Creates a chart scene.
parent | The parent object. |
virtual vtkQtChartScene::~vtkQtChartScene | ( | ) | [inline, virtual] |
Definition at line 44 of file vtkQtChartScene.h.
void vtkQtChartScene::setMouseBox | ( | vtkQtChartMouseBox * | box | ) | [inline] |
Sets the chart mouse box.
box | The chart mouse box. |
Definition at line 49 of file vtkQtChartScene.h.
virtual void vtkQtChartScene::drawItems | ( | QPainter * | painter, | |
int | numItems, | |||
QGraphicsItem ** | items, | |||
const QStyleOptionGraphicsItem * | options, | |||
QWidget * | widget = 0 | |||
) | [protected, virtual] |
Allows the chart layers to clip their objects.
painter | The painter to use. | |
numItems | The length of the items array. | |
items | The list of graphics items to draw. | |
options | The graphics item painting options. | |
widget | The widget being painted. |
virtual void vtkQtChartScene::drawForeground | ( | QPainter * | painter, | |
const QRectF & | area | |||
) | [protected, virtual] |
Draws the chart mouse box in the foreground.
painter | The painter to use. | |
area | The area to update. |