Important: Please read the Qt Code of Conduct -

displaying and applying transformation matrix to shapes

  • Hello,
    I have an existing GUI, to which I would like to add a circle, to which I shall apply a transformation matrix and change its location, based on user input.
    How can this be done?
    After some searching, I seem to be able to do this by creating a widget, in which I define a painter, draw a circle in it and apply a QMatrix to the painted area.
    The problem is that this takes effect on, which creates a new window, while I want to embed the image in an existing window.
    How can this be done?
    Is there a better way of doing this?

Log in to reply