PDA

View Full Version : How to create a 2d curve editor?



vinaym
20th July 2010, 19:57
I want to create a curve editor with following requirements.
- It should plot a curve with given set of points.
- Input Points should be shown as dots
- User should be able to add points to the curve.
- User should be able to remove points to the curve.
- User should be able to redefine the curve by dragging the points (dots)

Is it possible using Qwt?
Do we have some example somewhere which I can refer to?

Thanks.

pyzhangxiang
4th June 2013, 06:29
I wrote a Qt curve editor with OpenGL widget, you can try it.

http://www.shannap.com/qt-curve-editor-en.html