46 void setCanvasOverpaintCallback(Canvas::OverpaintCallback fn); |
46 void setCanvasOverpaintCallback(Canvas::OverpaintCallback fn); |
47 std::unique_ptr<ModelEditor> editModel(); |
47 std::unique_ptr<ModelEditor> editModel(); |
48 void applyToVertices(VertexMap::ApplyFunction fn) const; |
48 void applyToVertices(VertexMap::ApplyFunction fn) const; |
49 void handleKeyPress(QKeyEvent* event); |
49 void handleKeyPress(QKeyEvent* event); |
50 void adjustGridToView(); |
50 void adjustGridToView(); |
|
51 const glm::mat4& currentGrid() const; |
51 const Model& getModel() const; |
52 const Model& getModel() const; |
52 const QSet<ldraw::id_t> selectedObjects() const; |
53 const QSet<ldraw::id_t> selectedObjects() const; |
53 const ldraw::ColorTable& colorTable; |
54 const ldraw::ColorTable& colorTable; |
54 Q_SIGNALS: |
55 Q_SIGNALS: |
55 void newStatusText(const QString& newStatusText); |
56 void newStatusText(const QString& newStatusText); |