src/document.cpp

Sun, 03 Nov 2019 12:17:41 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 03 Nov 2019 12:17:41 +0200
changeset 8
44679e468ba9
child 9
8b9780700b5e
permissions
-rw-r--r--

major update with many things

#include "document.h"
#include "ui_document.h"
#include "model.h"

Document::Document(Model* model, QWidget* parent) :
	QWidget{parent},
	model{model},
	ui{*new Ui::Document}
{
	this->ui.setupUi(this);
	this->ui.listView->setModel(model);
}

Document::~Document()
{
	delete &this->ui;
}

mercurial