QwtPlotCurve 点(Point)鼠标移动
因工作需要,要利用鼠标移动曲线上的数据点,采用的控件是Qwt 。
QwtPlot的鼠标移动操作有点麻烦,费了一下午时间才调通,参考了官方例程 itemeditor
主要的几个函数是下面的
private:
bool pressed( const QPoint & );
bool moved( const QPoint & );
void releas...
原创
2018-09-26 17:16:40 ·
2412 阅读 ·
1 评论