Event filter for parasitic plots, handling axis interactions.
More...
#include <qwt_plot_scale_event_dispatcher.h>
|
|
virtual bool | eventFilter (QObject *obj, QEvent *e) override |
| |
|
void | rebuildCache () |
| | 重建所有缓存数据,在有新的寄生绘图添加时,都需要调用此函数,把绘图的坐标轴缓存
|
| |
|
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.
◆ QwtPlotScaleEventDispatcher()
| QwtPlotScaleEventDispatcher::QwtPlotScaleEventDispatcher |
( |
QwtPlot * |
plot, |
|
|
QObject * |
par = nullptr |
|
) |
| |
|
explicit |
◆ findAxisIdByScaleWidget()
| QwtAxisId QwtPlotScaleEventDispatcher::findAxisIdByScaleWidget |
( |
const QwtPlot * |
plot, |
|
|
const QwtScaleWidget * |
scaleWidget |
|
) |
| |
|
static |
◆ isEnable()
| bool QwtPlotScaleEventDispatcher::isEnable |
( |
| ) |
const |
◆ setEnable
| void QwtPlotScaleEventDispatcher::setEnable |
( |
bool |
on = true | ) |
|
|
slot |
◆ updateCache
| void QwtPlotScaleEventDispatcher::updateCache |
( |
| ) |
|
|
slot |
Update cache.
Update cache, rebuild if necessary.
The documentation for this class was generated from the following files: