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. How to get a rectangle's child to draw on top of another sibling rectangle?

How to get a rectangle's child to draw on top of another sibling rectangle?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 789 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.
  • Q Offline
    Q Offline
    qttester5
    wrote on last edited by
    #1

    I have objects and since I have not set clip, they all have clip as false. When one object spawns a child item, it cannot draw over its parents siblings in the scene, but I'd like it to. I tried adjusting the Z on the child to a higher number, but this doesn't help. I currently have no z values on anything. Is there a way to force a child of a rectangle to overlap any other items in the scene it might share space with?

    1 Reply Last reply
    0
    • O Offline
      O Offline
      onek24
      wrote on last edited by
      #2

      There might be a way to do that but the only way i know is by modifying the z-achsis.

      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