Solved Drawing a clean line by QGraphicsScene
I'm using QGraphicsScene.addLine() to draw some gradient lines. But the drawn lines are not so clear and do not have a flat outline, as the middle one in the picture below, looks like stairs.
While the ideal shape for my usage should be something like picture below.
I'm impressed with your answer. I just add that line and it's working very well.
Thank you very much.