Skip to content

OBSOLETE3.05

nucularmoo edited this page May 15, 2018 · 1 revision

Custom Models (P1 | 3h)

Tino: Perhaps more generic title: Custom models

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

Back to Week 3

Objective: OBJECTIVE

Tino: Objective: Creating and using custom models in QML

Beginner

  • Why to create a custom model instead of using a standard item model?

Intermediate

  • What is needed in the simplest custom model?

Tino: rowCount() and data()

  • How to make a model writable?
  • What is require for a custom editable model?
  • How to map table columns to named roles?

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