
Originally Posted by
Uwe
The symbol size is integer based ( something in pixels), so setting a size of (0.5, 0.5) is rounded to (0, 0). And don't expect to see much of a circle, when the size is below several pixels.
Uwe
Thank you Uwe,
Now I have changed the size to (10,10) and the circle is shown now, but it still cannot be dragged. Does using the standard QwtPickerPlot allows to dragg plot items or does it only provide the selection? I use now:
// create QwtPlotPicker to allow user moving the points on the plot
this->canvas());
// create QwtPlotPicker to allow user moving the points on the plot
picker = new QwtPlotPicker(QwtPlot::xBottom, QwtPlot::yLeft,
QwtPicker::PointSelection | QwtPicker::DragSelection,
QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOn,
this->canvas());
To copy to clipboard, switch view to plain text mode
Bookmarks