src/mainwindow.h

changeset 1023
9450ac3cd930
parent 1018
49358df9495b
child 1024
67ba0ee049eb
equal deleted inserted replaced
1022:a7f8ce5aa858 1023:9450ac3cd930
36 class QComboBox; 36 class QComboBox;
37 class QProgressBar; 37 class QProgressBar;
38 class Toolset; 38 class Toolset;
39 class Configuration; 39 class Configuration;
40 class PrimitiveManager; 40 class PrimitiveManager;
41 class Grid;
41 42
42 class ColorToolbarItem 43 class ColorToolbarItem
43 { 44 {
44 public: 45 public:
45 ColorToolbarItem (LDColor color, QToolButton* toolButton); 46 ColorToolbarItem (LDColor color, QToolButton* toolButton);
92 class ExtProgramToolset* externalPrograms(); 93 class ExtProgramToolset* externalPrograms();
93 QVariant getConfigValue (QString name); 94 QVariant getConfigValue (QString name);
94 QTreeWidget* getPrimitivesTree() const; 95 QTreeWidget* getPrimitivesTree() const;
95 class QSettings* getSettings() { return m_settings; } 96 class QSettings* getSettings() { return m_settings; }
96 LDColor getUniformSelectedColor(); 97 LDColor getUniformSelectedColor();
98 Grid* grid();
97 class GuiUtilities* guiUtilities(); 99 class GuiUtilities* guiUtilities();
98 void loadShortcuts(); 100 void loadShortcuts();
99 LDDocument* newDocument (bool cache = false); 101 LDDocument* newDocument (bool cache = false);
100 PrimitiveManager* primitives(); 102 PrimitiveManager* primitives();
101 GLRenderer* renderer(); 103 GLRenderer* renderer();
138 140
139 Configuration& m_config; 141 Configuration& m_config;
140 class GuiUtilities* m_guiUtilities; 142 class GuiUtilities* m_guiUtilities;
141 GLRenderer* m_renderer; 143 GLRenderer* m_renderer;
142 PrimitiveManager* m_primitives; 144 PrimitiveManager* m_primitives;
145 Grid* m_grid;
143 LDObjectList m_sel; 146 LDObjectList m_sel;
144 QList<ColorToolbarItem> m_quickColors; 147 QList<ColorToolbarItem> m_quickColors;
145 QList<QToolButton*> m_colorButtons; 148 QList<QToolButton*> m_colorButtons;
146 QList<QAction*> m_recentFiles; 149 QList<QAction*> m_recentFiles;
147 class Ui_MainWindow& ui; 150 class Ui_MainWindow& ui;

mercurial