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. What is the QML "Connection" element on C++ ?
QtWS25 Last Chance

What is the QML "Connection" element on C++ ?

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 1.3k 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #1

    What is the QML "Connection" element on C++ ?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dmcr
      wrote on last edited by
      #2

      same as
      QObject::connect(o1, SIGNAL (...) , o2, SLOT (...) )

      dmcr

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Vincent007
        wrote on last edited by
        #3

        "Connecting to QML Signals":http://doc-snapshot.qt-project.org/qdoc/qtqml-cppintegration-interactqmlfromcpp.html#connecting-to-qml-signals

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aabc
          wrote on last edited by
          #4

          So how can I connect 2 QML signals (from QML elements) through C++ ?

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dmcr
            wrote on last edited by
            #5

            Hello,
            As Vincent007 gives you the link, you can just have to use a signal in the SLOT(.... ) connection, and then use any javascript you want.
            However i don't really see the point to do this.
            And you may change the title of your post, it's better than creating new post.
            dmcr

            dmcr

            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