Sun, 19 Jan 2020 02:54:48 +0200
commit work on GL rendering
#pragma once #include <memory> #include <QWidget> #include "gl/partrenderer.h" namespace Ui { class Document; } class Model; class Document : public QWidget { Q_OBJECT public: explicit Document(Model* model, DocumentManager* documents, QWidget *parent = nullptr); ~Document(); QByteArray saveSplitterState() const; void restoreSplitterState(const QByteArray& state); signals: void splitterChanged(); private: Model* model; DocumentManager* const documents; PartRenderer* renderer; Ui::Document& ui; };