24 #ifndef _vtkQtChartSeriesSelectionHandler_h
25 #define _vtkQtChartSeriesSelectionHandler_h
27 #include "vtkQtChartExport.h"
31 class vtkQtChartSeriesSelectionHandlerInternal;
50 void setModeNames(
const QString &series,
const QString &
points);
69 void setMousePressModifiers(Qt::KeyboardModifiers series,
70 Qt::KeyboardModifiers points);
107 vtkQtChartSeriesSelectionHandlerInternal *Internal;
virtual bool mousePressEvent(const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0
Handles the mouse press event.
virtual void startMouseMove(const QString &mode, vtkQtChartArea *chart)=0
Starts a mouse move for the given mode.
virtual void getModeList(QStringList &list) const =0
Gets the list of mouse mode names.
virtual bool isMouseMoveAvailable(const QString &mode) const =0
Gets whether or not mouse move is available for the given mode.
virtual void finishMouseMove(const QString &mode, vtkQtChartArea *chart)=0
Finishes a mouse move for the given mode.
void setLayer(vtkQtChartSeriesLayer *layer)
Sets the chart layer associated with the handler.
The vtkQtChartMouseSelectionHandler class is the base class for all selection handlers.
The vtkQtChartSeriesSelectionHandler class handles mouse selection for chart series layers...
The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart series model...
virtual bool mouseReleaseEvent(const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0
Handles the mouse release event.
vtkQtChartSeriesLayer * getLayer() const
Gets the chart layer associated with the handler.
The vtkQtChartArea class manages the chart axes and layers.
virtual int getNumberOfModes() const =0
Gets the number of mouse modes.
virtual void mouseMoveEvent(const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0
Handles the mouse move event.
vtkQtChartSeriesLayer * Layer
Stores the chart layer.
virtual bool mouseDoubleClickEvent(const QString &mode, QMouseEvent *e, vtkQtChartArea *chart)=0
Handles the mouse double click event.