What is the QML "Connection" element on C++ ?
QML and Qt Quick
5
Posts
3
Posters
1.3k
Views
1
Watching
-
wrote on 13 Jan 2014, 11:22 last edited by
What is the QML "Connection" element on C++ ?
-
wrote on 13 Jan 2014, 12:51 last edited by
same as
QObject::connect(o1, SIGNAL (...) , o2, SLOT (...) ) -
wrote on 13 Jan 2014, 13:51 last edited by
"Connecting to QML Signals":http://doc-snapshot.qt-project.org/qdoc/qtqml-cppintegration-interactqmlfromcpp.html#connecting-to-qml-signals
-
wrote on 14 Jan 2014, 07:04 last edited by
So how can I connect 2 QML signals (from QML elements) through C++ ?
-
wrote on 14 Jan 2014, 07:48 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
4/5