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