src/document.h

Sat, 14 Dec 2019 23:00:01 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 14 Dec 2019 23:00:01 +0200
changeset 20
cef43609a374
parent 9
8b9780700b5e
child 21
0133e565e072
permissions
-rw-r--r--

fixed build

#pragma once
#include <memory>
#include <QWidget>

namespace Ui
{
	class Document;
}

class Model;

class Document : public QWidget
{
	Q_OBJECT
public:
	explicit Document(Model* model, QWidget *parent = nullptr);
	~Document();
	QByteArray saveSplitterState() const;
	void restoreSplitterState(const QByteArray& state);
signals:
	void splitterChanged();
private:
	Model* model;
	Ui::Document& ui;
};

mercurial