Mouse hover tracking.
More...
#include <PlotTracker.hh>
Inherits QwtPlotPicker.
|
| | PlotTracker (QwtPlotCanvas *_canvas) |
| | Constructor.
|
| void | Update () |
| | Update the tracker text.
|
|
| virtual QwtText | trackerTextF (const QPointF &_pos) const |
| | Overriden to provide customized hover text.
|
| virtual void | updateDisplay () |
| | Overriden to update the hover line and tracker text.
|
| virtual void | widgetMousePressEvent (QMouseEvent *_e) |
| | Mouse press event used to determine when to show/hide hover line.
|
| virtual void | widgetMouseReleaseEvent (QMouseEvent *_e) |
| | Mouse release event used to determine when to show/hide hover line.
|
◆ PlotTracker()
Constructor.
- Parameters
-
| [in] | _canvas | Canvas the tracker will be attached to. |
◆ trackerTextF()
| virtual QwtText trackerTextF |
( |
const QPointF & | _pos | ) |
const |
|
protectedvirtual |
Overriden to provide customized hover text.
- Parameters
-
- Returns
- Text to display
◆ Update()
◆ updateDisplay()
| virtual void updateDisplay |
( |
| ) |
|
|
protectedvirtual |
Overriden to update the hover line and tracker text.
◆ widgetMousePressEvent()
| virtual void widgetMousePressEvent |
( |
QMouseEvent * | _e | ) |
|
|
protectedvirtual |
Mouse press event used to determine when to show/hide hover line.
- Parameters
-
◆ widgetMouseReleaseEvent()
| virtual void widgetMouseReleaseEvent |
( |
QMouseEvent * | _e | ) |
|
|
protectedvirtual |
Mouse release event used to determine when to show/hide hover line.
- Parameters
-
The documentation for this class was generated from the following file: