Hi everybody,
in my application I show the xy coordinate of the mouse near the mouse pointer.
Is it possible to get the coordinate from a QwtPicker object and manipulate to insert in a QLabel widget? I have not find anyting about this.
This is my code for show the QwtPicker
main_picker = new QwtPlotPicker(this->canvas());
picker_main = new QwtPlotPicker(this->xBottom,this->yLeft,QwtPicker::AlwaysOn, QwtPlotPicker::NoRubberBand, QwtPlotPicker::AlwaysOn,this->canvas());
QFont trackerFont = picker_main->trackerFont();
trackerFont.setFamily("Tahoma");
trackerFont.setBold(true);
trackerFont.setPointSize(18);
picker_main->setTrackerFont(trackerFont);
Thanks in advance for any help




Reply With Quote
Bookmarks