src/mainwindow.h

changeset 1194
99085cfaeabd
parent 1192
317f4ce38f3f
child 1198
f7151e4cd90f
equal deleted inserted replaced
1193:b78b6cf02213 1194:99085cfaeabd
85 QTreeWidget* getPrimitivesTree() const; 85 QTreeWidget* getPrimitivesTree() const;
86 class QSettings* getSettings() { return m_settings; } 86 class QSettings* getSettings() { return m_settings; }
87 LDColor getUniformSelectedColor(); 87 LDColor getUniformSelectedColor();
88 Canvas* getRendererForDocument(LDDocument* document); 88 Canvas* getRendererForDocument(LDDocument* document);
89 Grid* grid(); 89 Grid* grid();
90 class GuiUtilities* guiUtilities();
91 void loadShortcuts(); 90 void loadShortcuts();
92 MathFunctions* mathFunctions() const; 91 MathFunctions* mathFunctions() const;
93 MessageManager* messageLog() const; 92 MessageManager* messageLog() const;
94 LDDocument* newDocument (bool cache = false); 93 LDDocument* newDocument (bool cache = false);
95 void openDocumentForEditing(LDDocument* document); 94 void openDocumentForEditing(LDDocument* document);
144 void closeEvent (QCloseEvent* ev); 143 void closeEvent (QCloseEvent* ev);
145 144
146 private: 145 private:
147 struct ToolInfo; 146 struct ToolInfo;
148 147
149 class GuiUtilities* m_guiUtilities;
150 MessageManager* m_messageLog = nullptr; 148 MessageManager* m_messageLog = nullptr;
151 QMap<LDDocument*, Canvas*> m_renderers; 149 QMap<LDDocument*, Canvas*> m_renderers;
152 PrimitiveManager* m_primitives; 150 PrimitiveManager* m_primitives;
153 Grid* m_grid; 151 Grid* m_grid;
154 MathFunctions* m_mathFunctions; 152 MathFunctions* m_mathFunctions;

mercurial