| 38 const ldraw::ColorTable& colorTable, |
38 const ldraw::ColorTable& colorTable, |
| 39 QWidget *parent = nullptr); |
39 QWidget *parent = nullptr); |
| 40 ~Document(); |
40 ~Document(); |
| 41 QByteArray saveSplitterState() const; |
41 QByteArray saveSplitterState() const; |
| 42 void restoreSplitterState(const QByteArray& state); |
42 void restoreSplitterState(const QByteArray& state); |
| 43 void setRenderStyle(gl::RenderStyle newRenderStyle); |
43 void setRenderPreferences(const gl::RenderPreferences& newPreferences); |
| 44 signals: |
44 signals: |
| 45 void splitterChanged(); |
45 void splitterChanged(); |
| 46 private: |
46 private: |
| 47 Model* model; |
47 Model* model; |
| 48 DocumentManager* const documents; |
48 DocumentManager* const documents; |