GammaRay Tutorials (Part 7) - How to Visualize Bindings
Bindings are a fundamental feature of the QML language. Due to the declarative nature of QML, when one property is bound to another (or to several others), it may be kind of hard to understand why the value of that property has changed – and maybe also hard to track down why it has changed to a wrong value, for whatever reason. We can't just place a "breakpoint," as we would normally do in imperative code. Enter GammaRay!
GammaRay's Qt Quick inspector tool allows us to inspect not only all the current values for the properties of the items in our scenes, but also to visualize whether those properties are bound to something else.
Now, if you are new to QML programming and all of this sounds quite mysterious to you, don't worry! We are publishing a comprehensive series of videos explaining QML and Qt Quick; you can find them all in this playlist: https://www.youtube.com/playlist?list=PL6CJYn40gN6hdNC1IGQZfVI707dh9DPRc .
The focus of this video is property bindings and binding loops, which are discussed in detail in this video https://www.youtube.com/watch?v=2rtz9vkuxio as well as in this one https://www.youtube.com/watch?v=aSMEcAmcPDc.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv
This video is presented by Giuseppe D'Angelo, who is a Senior Software Engineer at KDAB. He has used Qt for almost two decades, is an active contributor to Qt, and regularly teaches Qt and C++.
KDAB offers experienced software experts to help you deliver functional, high-performing and innovative software across embedded, mobile and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D and more. https://www.kdab.com/software-services
KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
Contact us to find out more at firstname.lastname@example.org or visit our website: https://www.kdab.com/software-services/scheduled-training/
We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK and the USA. https://www.kdab.com/about/contact/