Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. displaying and applying transformation matrix to shapes
Qt 6.11 is out! See what's new in the release blog

displaying and applying transformation matrix to shapes

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 239 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ilan_sw
    wrote on last edited by
    #1

    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 widget.show(), 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?
    Thanks!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved