Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
315 B

#include "sampleview.h"
#include "ui_sampleview.h"
SampleView::SampleView(QtMvvm::ViewModel *viewModel, QWidget *parent) :
QMainWindow(parent),
_viewModel(static_cast<SampleViewModel*>(viewModel)),
ui(new Ui::SampleView)
{
Q_ASSERT(_viewModel);
ui->setupUi(this);
}
SampleView::~SampleView()
{
delete ui;
}