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. QDeclarativeview zvalue problem
Qt 6.11 is out! See what's new in the release blog

QDeclarativeview zvalue problem

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

    Hi
    I cant get the declarativeview to update when a object get a new value on z. The object has the right z when I look on it the debugger. If i change x or y the view updates the position immediately. I thought that x,y and z worked the same way. Anyone have an idea how to make the view update when z is changed?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      The "z" value often works not in the way we mere mortals think about it :) This is mostly due to parent-child relationships of QObjects. Please verify whether moving the components about in the parent-child tree works or not (move your component declarations inside your QML file and see how it changes the behaviour and positioning).

      (Z(:^

      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