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. Order of Components Created inside an QML page

Order of Components Created inside an QML page

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 988 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.
  • B Offline
    B Offline
    Beemaneni Bala
    wrote on last edited by
    #1

    Hi Guys,
    I need to understand how components inside an QML page gets created (i.e., order of creation). As per my understanding as QML is interpreter, it instantiates as it finds the components.I mean my mainwindow being a rectangle , i have Listmodel , Rectangle,Tumblers,Item,Radiobutton respectively. Here i need to know how it cretaes the order of components.

    In my case radiobutton gets created , before that oncheckedChanged signal gets emitted.

    Regards
    Bala B

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Check with Component.onCompleted SignalHandler. This signal will be sent when the corresponding object has been created. Place this signal handler in every object which is created. It will give you the flow of object creation.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      4
      • B Offline
        B Offline
        Beemaneni Bala
        wrote on last edited by
        #3

        Thank you sir for the reply.But i want to know on what basis does that create the object ?

        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