[PyQt] Define/edit a path

Frédéric frederic.mantegazza at gbiloba.org
Tue May 12 19:42:41 BST 2009


Hi,

For my panohead controller software[1], I need to allow the user perfom the 
following steps:

1) move the head using the arrow keys (done)
2) validate several points to define a path
3) display each point/lines on a widget
3) let him edit that path by draging the points and move them arround
4) toggle from line segments to spline curve for smooth path

Could you point me on the correct way to implement this? I alread used 
QGraphicsView and so. Is it the best way to do, or are there better 
widgets?

Thanks for your help,

[1] http://www.papywizard.org

-- 
    Frédéric

    http://www.gbiloba.org



More information about the PyQt mailing list