How to support MVC pattern in QT

I need to create one application in QT using MVC.So, how to save MVC template in qt application. How to create a controller in QT?

Any help?

+4
source share
1 answer

MVC stands for split levels of model view control. If you can do this, put each layer class in its own library.

The controller level is the glue between the layers of the model and view. It has the simplest form, it simply connects their signal and slots. More sophisticated controllers use lambda functions and do more in their methods.

+1
source

Source: https://habr.com/ru/post/1490426/


All Articles