~/talk

Qt Quick Best Practices and Design Patterns

links:none on file
slides:none on file

Built a working Qt Media Hub clone (XBMC-like) to test QML at scale and finds the decisive pattern: move business logic into C++ as a one-way runtime and keep QML strictly presentation. Use register C++ types not context properties so QML controls lifetime; prefer typed Q_PROPERTY with notify over QVariant; create models on demand (QAbstractItemModel configurable from QML) and use QDeclarativeParserStatus to batch initialization. Share stateless JS with pragma library, expose collections via QDeclarativePropertyMap, and package downloadable skins via a custom QNAM scheme.

AI-written summary · about

  1. 0:00Introduction and background
  2. 12:43C++ and QML separation
  3. 25:19QML component design
  4. 39:30JavaScript in QML
  5. 43:36Model-view interactions
  6. 45:01Graphics performance tips
  7. 48:21Downloadable skins and sandboxing
  8. 52:12Resolution and focus handling
  9. 53:00Q&A
~/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.