~/talk

Qt Quick Best Practices and Design Patterns

links:none on file
slides:none on file

Open-source Qt Media Hub (an XBMC clone) shows QML for presentation and C++ as the runtime: keep business logic and models in C++, expose types with qmlRegisterType not context properties, prefer typed Q_PROPERTY with notify and avoid QVariant, use QDeclarativeListProperty for mutable lists, implement one-time init in componentComplete via QDeclarativeParserStatus, share stateless JS with pragma library, control image memory with sourceSize, and favor many small QML components over huge files.

AI-written summary · about

  1. 0:00Introduction
  2. 2:15Agenda
  3. 2:58What is Qt
  4. 3:47Qt vs JavaScript
  5. 5:11ModelView Pattern
  6. 5:30Presentation Layer Pattern
  7. 5:45One Way Traffic
  8. 6:10Qt Strength
  9. 7:15Two Ways in Qt
  10. 7:26MyButton
  11. 7:47Person
  12. 8:18Context Properties
  13. 9:35Exporting C to Qt
  14. 10:46Properties in Qt
  15. 13:36Property Groups
  16. 14:36Multiple Signals
  17. 15:39Qt Variant Properties
  18. 18:01Qt declarative properties
  19. 18:24Qt declarative property map
  20. 18:57Questions
  21. 19:42Design declaratively
  22. 21:28Order of components
  23. 22:20Dynamic scoping
  24. 24:00Quiz
  25. 26:38QML
  26. 30:18Other Tips
  27. 31:39JavaScript Stuff
  28. 33:46Model Layout
  29. 35:22Model Data
  30. 36:28Graphics Performance
  31. 37:59Image Friendly UI
  32. 38:52Qt Media Hub
~/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.