src/mainwindow.h

changeset 1428
ece049033adc
parent 1419
f7c53002a990
child 1432
4cc687851fbb
equal deleted inserted replaced
1427:b7ba2af33c13 1428:ece049033adc
75 LDColor getUniformSelectedColor(); 75 LDColor getUniformSelectedColor();
76 Canvas* getRendererForDocument(LDDocument* document); 76 Canvas* getRendererForDocument(LDDocument* document);
77 Grid* grid(); 77 Grid* grid();
78 class GuiUtilities* guiUtilities(); 78 class GuiUtilities* guiUtilities();
79 void loadShortcuts(); 79 void loadShortcuts();
80 LDDocument* newDocument (bool cache = false);
81 void openDocumentForEditing(LDDocument* document); 80 void openDocumentForEditing(LDDocument* document);
82 PrimitiveManager* primitives(); 81 PrimitiveManager* primitives();
83 Canvas* renderer(); 82 Canvas* renderer();
84 void refresh(); 83 void refresh();
85 void replaceSelection(const QItemSelection& selection); 84 void replaceSelection(const QItemSelection& selection);
110 void closeTab (int tabindex); 109 void closeTab (int tabindex);
111 void historyTraversed(); 110 void historyTraversed();
112 void tabSelected(); 111 void tabSelected();
113 void documentClosed(LDDocument* document); 112 void documentClosed(LDDocument* document);
114 void updateTitle(); 113 void updateTitle();
114 void newDocument (LDDocument* document, bool cache = false);
115 115
116 protected: 116 protected:
117 void closeEvent (QCloseEvent* event); 117 void closeEvent (QCloseEvent* event);
118 118
119 private: 119 private:

mercurial