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.

26 lines
387 B

#ifndef %{WindowGuard}
#define %{WindowGuard}
#include <QtWidgets/QMainWindow>
#include <%{VmHdrName}>
namespace Ui {
class %{WindowCn};
}
class %{WindowCn} : public QMainWindow
{
Q_OBJECT
public:
Q_INVOKABLE %{WindowCn}(QtMvvm::ViewModel *viewModel, QWidget *parent = nullptr);
~%{WindowCn}();
private:
%{VmCn} *_viewModel;
Ui::%{WindowCn} *_ui;
};
#endif // %{WindowGuard}