Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    QML and Qt Quick
    3
    5
    1075
    Loading More Posts
    • 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
      aabc last edited by

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

      1 Reply Last reply Reply Quote 0
      • D
        dmcr last edited by

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

        dmcr

        1 Reply Last reply Reply Quote 0
        • V
          Vincent007 last edited by

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

          1 Reply Last reply Reply Quote 0
          • A
            aabc last edited by

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

            1 Reply Last reply Reply Quote 0
            • D
              dmcr last edited by

              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 Reply Quote 0
              • First post
                Last post