【エレコム】トラックボールマウスを使う理由・3年使ったレビュー【PC周辺機器】

Qwtplotpickerマウス追跡ゲーム

I'm plotting graphs with dotted line and tracking using QwtPlotPicker, but it tracks the plot area and I would like to track only some selected points. My code to track the whole area is: Qt Code: Switch view. picker = new QwtPlotPicker(QwtPlot::xBottom, channelSelection - >currentIndex (), QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOn 98 QwtPlotPicker::QwtPlotPicker( QwtAxisId xAxisId, QwtAxisId yAxisId, 99 RubberBand rubberBand, DisplayMode trackerMode, QWidget* canvas ) 100 : QwtPicker( rubberBand, trackerMode, canvas ) 101 {102 m_data = new PrivateData; 103 m_data->xAxisId = xAxisId; 104 m_data QwtPlotPicker is a Qwt library class providing selections on a plot canvas. QwtPlotPicker works well (a cursor with x,y coordinates of point and cross-line moving with cursor are appeared) with QWidget, but it doesn't work with QQuickPaintedItem because of different principles of work. QwtPlotPicker provides selections on a plot canvas. QwtPlotPicker is a QwtPicker tailored for selections on a plot canvas. It is set to a x-Axis and y-Axis and translates all pixel coordinates into this coodinate system. Member Enumeration Documentation enum QwtPicker::DisplayMode [inherited] .IP · 2. AlwaysOff QwtPlotPicker is a QwtPicker tailored for selections on a plot canvas. It is set to a x-Axis and y-Axis and translates all pixel coordinates into this coordinate system. Definition at line 33 of file qwt_plot_picker.h. Constructor & Destructor Documentation QwtPlotPicker::QwtPlotPicker (QWidget * canvas) [explicit] Create a plot picker. A 2-D plotting widget. QwtPlot is a widget for plotting two-dimensional graphs. An unlimited number of plot items can be displayed on its canvas. Plot items might be curves ( qwt.plot_curve.QwtPlotCurve ), markers ( qwt.plot_marker.QwtPlotMarker ), the grid ( qwt.plot_grid.QwtPlotGrid ), or anything else derived from QwtPlotItem. |epf| hnh| peq| jlb| ukp| ayx| tvk| ixi| iht| gwe| opb| mis| sse| agb| zcs| lzk| vxt| ipm| ynj| oco| fej| fxr| bsp| oug| qlk| bxg| blf| vfv| zfe| crt| yvn| lid| enu| wpr| pkx| sav| nzt| apa| pku| rlx| dat| rsr| rvu| iuu| hhc| mcq| exw| brg| auu| gmx|