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. C++ QML mapping through signals and slots

C++ QML mapping through signals and slots

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

    Hello,
    My application needs some signals from C++ to call slots in QML
    the slots will be in many QML pages.....how can we call slots in many QML files form C++?
    If it is of one qml page,,,,can we use QDeclarativeView?
    Can someone help me in calling SLOTS in many QML pages through C++ signals?

    Thanks in advance:)

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      See the second example "here.":http://doc.trolltech.com/4.8/qtbinding.html#receiving-signals I think it's doing what you want. You'll most likely want to explore the "Connections":http://qt-project.org/doc/qt-4.8/qml-connections.html element.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      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