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 all the elements of qml file dynamically in C++ class
QtWS25 Last Chance

How to get all the elements of qml file dynamically in C++ class

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

    I have one qml file. I want to access all the elements and their property in c++ file dynamically.
    How i can get it. Its very helpful anybody suggest idea. I am using QtQuick1.0 with Qt version 5.2.1

    Thanks in advance

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tân Ngọc Đỗ
      wrote on last edited by
      #2

      Is it enough for you: http://qt-project.org/doc/qt-5/qtqml-cppintegration-interactqmlfromcpp.html ?

      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