~/talk

Best Practices for using QML and QtQuick

links:none on file
slides:none on file

Keep QML files small, aim for keep files under 300 lines and split components when they exceed ~500; set an ID on every item and name the root item "root" for clear references; expose only interface properties at the top and hide internals with a QtObject id trick; avoid findChildren/objectName; prefer QQmlObjectListModel for models and batch-insert items; use fast reload (filesystem watcher or Ctrl+R), printf-style console.log snippets, and Image.sourceSize for thumbnail performance.

AI-written summary · about

  1. 0:00Intro
  2. 0:56About me
  3. 1:34General rules
  4. 4:30Dependencies
  5. 6:50Examples
  6. 8:01Reload UI
  7. 9:24Debugging
  8. 10:53Visualization
  9. 12:54Environment Variable
  10. 13:38Integration with C
  11. 18:00Performance
  12. 22:43Questions
~/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.