83 QVariant getConfigValue (QString name); |
82 QVariant getConfigValue (QString name); |
84 QTreeWidget* getPrimitivesTree() const; |
83 QTreeWidget* getPrimitivesTree() const; |
85 class QSettings* getSettings() { return m_settings; } |
84 class QSettings* getSettings() { return m_settings; } |
86 LDColor getUniformSelectedColor(); |
85 LDColor getUniformSelectedColor(); |
87 Canvas* getRendererForDocument(LDDocument* document); |
86 Canvas* getRendererForDocument(LDDocument* document); |
88 Grid* grid(); |
|
89 void loadShortcuts(); |
87 void loadShortcuts(); |
90 MessageManager* messageLog() const; |
88 MessageManager* messageLog() const; |
91 LDDocument* newDocument (bool cache = false); |
89 LDDocument* newDocument (bool cache = false); |
92 void openDocumentForEditing(LDDocument* document); |
90 void openDocumentForEditing(LDDocument* document); |
93 PrimitiveManager* primitives(); |
91 PrimitiveManager* primitives(); |
144 struct ToolInfo; |
142 struct ToolInfo; |
145 |
143 |
146 MessageManager* m_messageLog = nullptr; |
144 MessageManager* m_messageLog = nullptr; |
147 QMap<LDDocument*, Canvas*> m_renderers; |
145 QMap<LDDocument*, Canvas*> m_renderers; |
148 PrimitiveManager* m_primitives; |
146 PrimitiveManager* m_primitives; |
149 Grid* m_grid; |
|
150 QVector<LDObject*> m_sel; |
147 QVector<LDObject*> m_sel; |
151 QVector<ColorToolbarItem> m_quickColors; |
148 QVector<ColorToolbarItem> m_quickColors; |
152 QList<QToolButton*> m_colorButtons; |
149 QList<QToolButton*> m_colorButtons; |
153 ResourceVector<QAction> m_recentFiles; |
150 ResourceVector<QAction> m_recentFiles; |
154 class Ui_MainWindow& ui; |
151 class Ui_MainWindow& ui; |