https://github.com/hywing/qt-mvvm
This mvvm structure is helpful for extracting the ui model from your application when there are a lot of modules in your code project, then you can have distinct view and model not the mix of them.
https://github.com/hywing/qt-mvvm
cpp mvvm qt
Last synced: 3 days ago
JSON representation
This mvvm structure is helpful for extracting the ui model from your application when there are a lot of modules in your code project, then you can have distinct view and model not the mix of them.
- Host: GitHub
- URL: https://github.com/hywing/qt-mvvm
- Owner: hywing
- Created: 2023-08-03T08:09:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-20T08:06:08.000Z (almost 3 years ago)
- Last Synced: 2025-08-18T01:37:54.313Z (11 months ago)
- Topics: cpp, mvvm, qt
- Language: C++
- Homepage: https://github.com/hywing/qt-mvvm
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qt-mvvm
This `mvvm` structure is helpful for extracting the ui model from your application when there are a lot of modules in your code project, then you can have distinct `view` and `model` not the mix of them, remember it is only a methodology and not suitable for every situation.
## View
View stands for the ui interface, such as
- Menu
- Dialog
- Painting
## Model
Model stands for the ui model, such as
- Menu Model
- Dialog Model
- Painting Model
## ViewModel
ViewModel has some functionalities, like
- init Model when app starts
- init View with property
- bind func to connect Model and View