Skip to content
/ qt-mvvm Public

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.

Notifications You must be signed in to change notification settings

hywing/qt-mvvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published