109 void updateDocumentListItem (LDDocument* f); |
109 void updateDocumentListItem (LDDocument* f); |
110 int getSelectedColor(); |
110 int getSelectedColor(); |
111 LDObject::Type getUniformSelectedType(); |
111 LDObject::Type getUniformSelectedType(); |
112 void scrollToSelection(); |
112 void scrollToSelection(); |
113 void spawnContextMenu (const QPoint pos); |
113 void spawnContextMenu (const QPoint pos); |
114 void deleteObjects (QList<LDObject*> objs); |
114 void deleteObjects (LDObjectList objs); |
115 int deleteSelection(); |
115 int deleteSelection(); |
116 void deleteByColor (const int colnum); |
116 void deleteByColor (const int colnum); |
117 bool save (LDDocument* f, bool saveAs); |
117 bool save (LDDocument* f, bool saveAs); |
118 void updateActions(); |
118 void updateActions(); |
119 |
119 |
234 protected: |
234 protected: |
235 void closeEvent (QCloseEvent* ev); |
235 void closeEvent (QCloseEvent* ev); |
236 |
236 |
237 private: |
237 private: |
238 GLRenderer* m_renderer; |
238 GLRenderer* m_renderer; |
239 QList<LDObject*> m_sel; |
239 LDObjectList m_sel; |
240 QList<LDQuickColor> m_quickColors; |
240 QList<LDQuickColor> m_quickColors; |
241 QList<QToolButton*> m_colorButtons; |
241 QList<QToolButton*> m_colorButtons; |
242 QList<QAction*> m_recentFiles; |
242 QList<QAction*> m_recentFiles; |
243 MessageManager* m_msglog; |
243 MessageManager* m_msglog; |
244 Ui_LDForgeUI* ui; |
244 Ui_LDForgeUI* ui; |