Qt & Technical Deep Dive

QML Component Design: the two-way binding problem


B07 5.11.2019 14:30 - 15:00

Bookmark and Share

André Somers
André Somers
KDAB

Did you ever create QML components that both display and manipulate a state that is stored in some kind of back-end? How do you ensure a property binding set by the user of your component stays in tact? What should happen if that backed is slow, or rejects your changes? In this talk, we will explore this problem in some more detail, and demonstrate a few possible solutions that deal with the challenges raised in different ways. The goal is that at the end of this talk, you will have the tools available to make UI components that behave predictably and are intuitive to use in your applications.