Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Visual Parent vs Object Parent in QML
Forum Updated to NodeBB v4.3 + New Features

Visual Parent vs Object Parent in QML

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 333 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.
  • V Offline
    V Offline
    Vinoth Rajendran4
    wrote on last edited by
    #1

    Hi All,
    I came across visual parent from some blog, but not able to get a good understanding of it.

    Can someone please help me understand the concept. (some good link or some basic example of it use-case)

    Thanks in advance!

    Pl45m4P 1 Reply Last reply
    0
    • V Vinoth Rajendran4

      Hi All,
      I came across visual parent from some blog, but not able to get a good understanding of it.

      Can someone please help me understand the concept. (some good link or some basic example of it use-case)

      Thanks in advance!

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @Vinoth-Rajendran4

      Use the official Qt docs:

      Visual Parent
      https://doc.qt.io/qt-5/qtquick-visualcanvas-visualparent.html#visual-parent
      Also this
      https://doc.qt.io/qt-5/qtquick-visualcanvas-topic.html#visual-parent

      Here is an example of visual (render) parent + childs.
      (Have a look at the item coordinate systems)
      https://doc.qt.io/qt-5/qtquick-visualcanvas-coordinates.html#worked-example

      See: QObject tree
      https://doc.qt.io/qt-5/qobject.html


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      2

      • Login

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