Y
Y
Yu Yu2016-08-07 17:02:20
Qt
Yu Yu, 2016-08-07 17:02:20

Where can I read about the MVC paradigm in QML for dummies?

Recently got interested in QML technology. There is a problem, data visualization from a DB. I once wrote a couple of applications on Qt.
I'm trying to figure out the model-view paradigm in QML, but I can't understand anything. How everything got mixed up.
What is a delegate for?
How does it communicate with the model?
Nobody met the literature about these topics for dummies?
And yes.
https://habrahabr.ru/post/184416/
I'm trying to understand the essence of this series of articles.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jacob E, 2016-08-07
@Zifix

A series of articles is good, you will not find anything better in Russian. Yes, and there is nothing supernatural there, you just need to take a ready-made example from the article, reduce it yourself to the minimum working one, modify it somehow.
A delegate is a component that draws data from the model in an arbitrary way. In the simplest case, it's just Text { text: model.field }
A model with a delegate is bound inside standard views, such as a ListView.

M
Maxim Rybas, 2016-08-23
@MaxQwerty

If you have knowledge of English, take a look here:
https://qmlbook.github.io/en/ch06/index.html
In general, a monumental work that reveals a lot of aspects in QML.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question