Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
3 August 2020
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
All GammaRay Tutorial videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6itybeSJb5FvRWOxVW5PCUX
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more