Skip to content
Tino Pyssysalo edited this page May 6, 2018 · 5 revisions

Custom QObjects (P0 | 3h)

Tino: Using C++ models in QML

Explanation of the contents of a topic page @ Topic reference page

Back to Week 4

Objective: Deriving good types for QML

Tino: Learn how to create QML compatible abstract item models

Tino: This should replace 3.05 and 3.06. I would put both here.

Beginner

  • What is an abstract item model?

Intermediate

  • What is abstract item model index?
  • What is abstract item model role?
  • What is QML model named role?
  • How to map abstract item model index to a need role?
  • What is the purpose of roleNames() function in abstract item model?
  • What is required to make an abstract model writable?

Expert

Omitted


Course material content

Instructions and description for the exercise of the topic


Exhaustive reference material mentioned in this topic

Further reading topics/links:

Clone this wiki locally