First of all thans for helping me.
I have an structure where it includes the points (x_start,y_start,x_end,y_end) of a line.
I would like to paint the line and to be able to visualize in the mainwindow.
Which class or/and widget have I to use?
Thanks a lot!