How can i draw a special HalfCircle in QGraphicsView?



  • i know how to draw a exact half circle in QGraphicsView, but what i want is that:
    the "top" line can move from the top of the circle to the bottom,
    and i found that inherite from QGraphicsEllipseItem is hard to realize this effect.
    if there is no way to directly change the point postion of this special circle, can i use some mask to do this?and how?
    thank you
    what i want is like this pic below, but the "top line" can be anywhere in y axis but not only at the exact half position.
    !http://ts4.mm.bing.net/th?id=HN.608023835987281100&pid=1.7(b)!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.