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. SVG images overlapping and event handling
Forum Updated to NodeBB v4.3 + New Features

SVG images overlapping and event handling

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    moondowner
    wrote on last edited by
    #1

    Hi!

    I'm new in Qt, and I have a question.

    I want to display several SVG images which may overlap eachoter and may have empty areas in them.

    Now - if I click/touch on a svg image (and not on a empty area - but on a svg path) from an image that is under another svg image (which has an empty area in there), can a trigger event be associated with that one instead of the top image? And for example this trigger to change the color of the svg?

    I've tried this and it works in a normal browser with JavaScript, and now I want to do it in Quick.

    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