|
|
virtual bool | eventFilter (QObject *obj, QEvent *e) override |
| |
|
void | rebuildCache () |
| | Rebuild all cache data; must be called when a new parasite plot is added to cache the plot's axes
|
| |
|
virtual bool | handleMousePress (QwtPlot *bindPlot, QMouseEvent *e) |
| |
|
virtual bool | handleMouseMove (QwtPlot *bindPlot, QMouseEvent *e) |
| |
|
virtual bool | handleMouseRelease (QwtPlot *bindPlot, QMouseEvent *e) |
| |
|
virtual bool | handleWheelEvent (QwtPlot *bindPlot, QWheelEvent *e) |
| |
|
QwtScaleWidget * | findTargetOnScale (const QPoint &pos) |
| |
Event filter for parasitic plots, handling axis interactions
Since parasitic plots are child windows of host plots, events from multiple parasitic plots' widgets cannot be passed to other parasitic plots' widgets. For example, with 2 parasitic plots, their axis areas overlap. The top-level parasitic plot's axis widget has the same size as the lower-level and host plot's axis widgets. Only the top-level parasitic axis widget receives events. Even if ignored, events only fall to the current parasitic plot window, not the next level's axis widget. This class is designed to solve this problem. Axis actions are executed here as event handlers rather than event propagators.