src/document.h

changeset 188
64ea7282611e
parent 178
a23024fc98e0
child 191
d355d4c52d51
equal deleted inserted replaced
187:30204975694a 188:64ea7282611e
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);

mercurial