| 59 void endAction(); |
59 void endAction(); |
| 60 class ExtProgramToolset* externalPrograms(); |
60 class ExtProgramToolset* externalPrograms(); |
| 61 LDColor getUniformSelectedColor(); |
61 LDColor getUniformSelectedColor(); |
| 62 Canvas* getRendererForDocument(LDDocument* document); |
62 Canvas* getRendererForDocument(LDDocument* document); |
| 63 Grid* grid(); |
63 Grid* grid(); |
| 64 class GuiUtilities* guiUtilities(); |
|
| 65 void loadShortcuts(); |
64 void loadShortcuts(); |
| 66 void openDocumentForEditing(LDDocument* document); |
65 void openDocumentForEditing(LDDocument* document); |
| 67 PrimitiveManager* primitives(); |
66 PrimitiveManager* primitives(); |
| 68 Canvas* renderer(); |
67 Canvas* renderer(); |
| 69 void refresh(); |
68 void refresh(); |
| 102 void closeEvent (QCloseEvent* event); |
101 void closeEvent (QCloseEvent* event); |
| 103 |
102 |
| 104 private: |
103 private: |
| 105 struct ToolInfo; |
104 struct ToolInfo; |
| 106 |
105 |
| 107 class GuiUtilities* m_guiUtilities; |
|
| 108 QMap<LDDocument*, Canvas*> m_renderers; |
106 QMap<LDDocument*, Canvas*> m_renderers; |
| 109 QMap<LDDocument*, QItemSelectionModel*> m_selections; |
107 QMap<LDDocument*, QItemSelectionModel*> m_selections; |
| 110 PrimitiveManager* m_primitives; |
108 PrimitiveManager* m_primitives; |
| 111 Grid* m_grid; |
109 Grid* m_grid; |
| 112 QVector<QToolButton*> m_colorButtons; |
110 QVector<QToolButton*> m_colorButtons; |