PDA

View Full Version : QwtPlotCurve Selection



WXNSNW
4th August 2009, 12:40
Hi,

I have created a QwtPlotCurve and attached to a QwtPlot as follows:

QWaveFormPlot::QWaveFormPlot(void) // this is derived from QwtPlot
{
QwtPlotCurve* SigCurve = new QwtPlotCurve("Curve1");
SigCurve->attach(this);
}

How to select the curve in the plot and highlight it?

Thanks & Regards,
WXNSNW

Uwe
5th August 2009, 07:41
Have a look at the CanvasPicker class from the event_filter example.

Uwe