a curve editor widget for qt with multiple spline types