src/mainwindow.h

changeset 1199
613a981223a6
parent 1198
f7151e4cd90f
child 1206
743dc95e0be6
equal deleted inserted replaced
1198:f7151e4cd90f 1199:613a981223a6
33 class QToolButton; 33 class QToolButton;
34 class Canvas; 34 class Canvas;
35 class Toolset; 35 class Toolset;
36 class Configuration; 36 class Configuration;
37 class PrimitiveManager; 37 class PrimitiveManager;
38 class Grid;
39 class DocumentManager; 38 class DocumentManager;
40 class LDDocument; 39 class LDDocument;
41 40
42 class ColorToolbarItem 41 class ColorToolbarItem
43 { 42 {
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;

mercurial