vtkQtChartGridLayer Class Reference

#include <vtkQtChartGridLayer.h>

Inheritance diagram for vtkQtChartGridLayer:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartGridLayer:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartGridLayer class is used to dislpay the chart background grid.

Definition at line 37 of file vtkQtChartGridLayer.h.


Public Types

enum  { Type = vtkQtChart_GridLayerType }

Public Slots

void setXOffset (float xOffset)
 Sets the x-axis pan offset.
void setYOffset (float yOffset)
 Sets the y-axis pan offset.

Public Member Functions

 vtkQtChartGridLayer ()
virtual ~vtkQtChartGridLayer ()
virtual void setChartArea (vtkQtChartArea *area)
 Sets the chart area that contains this layer.
virtual void layoutChart (const QRectF &area)
 Used to layout the chart layer.
virtual QRectF boundingRect () const
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)

Member Enumeration Documentation

anonymous enum

Enumerator:
Type 

Definition at line 42 of file vtkQtChartGridLayer.h.


Constructor & Destructor Documentation

vtkQtChartGridLayer::vtkQtChartGridLayer (  ) 

virtual vtkQtChartGridLayer::~vtkQtChartGridLayer (  )  [virtual]


Member Function Documentation

virtual void vtkQtChartGridLayer::setChartArea ( vtkQtChartArea area  )  [virtual]

Sets the chart area that contains this layer.

The chart area will call this method when the layer is added to it. The layer can overload this method to perform any setup it needs to.

Parameters:
area The new chart area.

Reimplemented from vtkQtChartLayer.

virtual void vtkQtChartGridLayer::layoutChart ( const QRectF &  area  )  [virtual]

Used to layout the chart layer.

Use the AxisDomain from the relevant axes to determine if the chart data can be displayed. The domain priority for the axes can override a layer's desired domain.

Parameters:
area The area the chart should occupy.

Implements vtkQtChartLayer.

virtual QRectF vtkQtChartGridLayer::boundingRect (  )  const [virtual]

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

void vtkQtChartGridLayer::setXOffset ( float  xOffset  )  [slot]

Sets the x-axis pan offset.

Parameters:
xOffset The new x-axis pan offset.

void vtkQtChartGridLayer::setYOffset ( float  yOffset  )  [slot]

Sets the y-axis pan offset.

Parameters:
yOffset The new y-axis pan offset.


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

Generated on Mon Sep 27 18:44:12 2010 for VTK by  doxygen 1.5.6