Skip to content
nucularmoo edited this page Jun 25, 2018 · 3 revisions

Context Properties (P0 | 1h)

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

Back to Week 4

Objective: Exposing data from C++ to QML as properties

Tino: It should be emphasised from the beginning that typically data (and functions) are provided fro C++ to QML and not vice versa, even though it is technically possible. Of course, in this session we do not even try to access any QML stuff from C++

Beginner

  • What is a property?
  • How a property is identified in QML?
  • What are value types?

Intermediate

  • What is a context in QML?
  • How to access the root context?
  • How to create a sub-context?
  • When a sub-context is created?
  • How properties are accessible in the context?

Expert

  • How does ListView give the index property to delegates?

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