#include <plot_viewer_panel.hh>
Public Slots | |
| void | OnZoomX (int delta, QPoint pos) |
| void | OnZoomY (int delta, QPoint pos) |
| void | OnTranslate (Real dx, Real dy) |
| void | update () |
Signals | |
| void | rangeChanged (Real start, Real end, Real delta) |
Public Member Functions | |
| PlotViewerPanel (QGraphicsScene *scene, QWidget *parent=0) | |
| virtual | ~PlotViewerPanel () |
| void | SetMinimumX (Real x) |
| void | SetMaximumX (Real x) |
| void | SetMinimumY (Real x) |
| void | SetMaximumY (Real x) |
| void | SetMinMax (Real xmin, Real maxx, Real miny, Real maxy) |
| void | SetAutofit (bool fit=true) |
| Real | GetMinimumX () const |
| Real | GetMaximumX () const |
| Real | GetMinimumY () const |
| Real | GetMaximumY () const |
| Real | GetDelta () const |
Protected Member Functions | |
| virtual void | wheelEvent (QWheelEvent *e) |
| virtual void | resizeEvent (QResizeEvent *event) |
| virtual void | scrollContentsBy (int dx, int dy) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| void | UpdateAxes () |
| QTransform | GetTransform (QRectF scenerect, QRect viewrect) |
Protected Attributes | |
| PlotAxisHorizontal * | axis_horizontal_ |
| PlotAxisVertical * | axis_vertical_ |
| QPointF | global_mouse_pos_ |
| bool | autofit_ |
Definition at line 36 of file plot_viewer_panel.hh.
| PlotViewerPanel | ( | QGraphicsScene * | scene, | |
| QWidget * | parent = 0 | |||
| ) |
| virtual ~PlotViewerPanel | ( | ) | [virtual] |
| Real GetDelta | ( | ) | const |
| Real GetMaximumX | ( | ) | const |
| Real GetMaximumY | ( | ) | const |
| Real GetMinimumX | ( | ) | const |
| Real GetMinimumY | ( | ) | const |
| QTransform GetTransform | ( | QRectF | scenerect, | |
| QRect | viewrect | |||
| ) | [protected] |
| virtual void mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
| virtual void mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
| void OnZoomX | ( | int | delta, | |
| QPoint | pos | |||
| ) | [slot] |
| void OnZoomY | ( | int | delta, | |
| QPoint | pos | |||
| ) | [slot] |
| virtual void resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
| virtual void scrollContentsBy | ( | int | dx, | |
| int | dy | |||
| ) | [protected, virtual] |
| void SetAutofit | ( | bool | fit = true |
) |
| void SetMaximumX | ( | Real | x | ) |
| void SetMaximumY | ( | Real | x | ) |
| void SetMinimumX | ( | Real | x | ) |
| void SetMinimumY | ( | Real | x | ) |
| void update | ( | ) | [slot] |
| void UpdateAxes | ( | ) | [protected] |
| virtual void wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
bool autofit_ [protected] |
Definition at line 71 of file plot_viewer_panel.hh.
PlotAxisHorizontal* axis_horizontal_ [protected] |
Definition at line 68 of file plot_viewer_panel.hh.
PlotAxisVertical* axis_vertical_ [protected] |
Definition at line 69 of file plot_viewer_panel.hh.
QPointF global_mouse_pos_ [protected] |
Definition at line 70 of file plot_viewer_panel.hh.
1.5.8