~/talk

Lightning Talk, A new way for creating QML models from C++

Talkat Qt World Summit 2015 · 2015-10-06..10-07· [developer-experience]
links:none on file
slides:none on file

Provides a template + metaobject-based class called the qql object list model that creates a QObject-backed QAbstractListModel with one line of C++, auto-generates role names from QObject properties, and wires each property change signal to emit dataChanged so delegates update incrementally. It offers primary key indexing, memory ownership rules, nested models, and a special cute object role to access the underlying QObject. Implementation uses a large macro to cut property boilerplate, has a qql variant list model alternative, is open source and battle tested in multiple projects.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:09C++ and QML integration rules
  3. 6:51Model View Controller in Qt
  4. 9:22Types of models in Qt Quick
  5. 13:16QAbstractListModel limitations
  6. 16:33Ideal model solution requirements
  7. 19:03QQmlObjectListModel introduction
  8. 22:14Simplifying QML properties in C++
  9. 25:09Live code demonstration
  10. 35:18Nested models and real-world example
  11. 37:56Performance and implementation details
  12. 40:24Technical design choices
  13. 41:52Resources and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.