24 DocumentManager* documents, |
24 DocumentManager* documents, |
25 const ldraw::ColorTable& colorTable, |
25 const ldraw::ColorTable& colorTable, |
26 QWidget* parent = nullptr); |
26 QWidget* parent = nullptr); |
27 const PreviewLayer& getPreviewLayer(PreviewLayerName name) const; |
27 const PreviewLayer& getPreviewLayer(PreviewLayerName name) const; |
28 PreviewLayer& modifyPreviewLayer(PreviewLayerName name); |
28 PreviewLayer& modifyPreviewLayer(PreviewLayerName name); |
|
29 void clearSelection(); |
|
30 void addToSelection(ldraw::id_t id); |
29 public slots: |
31 public slots: |
30 void handleSelectionChange(const QSet<ldraw::id_t>& selectedIds, const QSet<ldraw::id_t>& deselectedIds); |
32 void handleSelectionChange(const QSet<ldraw::id_t>& selectedIds, const QSet<ldraw::id_t>& deselectedIds); |
31 protected: |
33 protected: |
32 void mouseMoveEvent(QMouseEvent* event) override; |
34 void mouseMoveEvent(QMouseEvent* event) override; |
33 void mousePressEvent(QMouseEvent* event) override; |
35 void mousePressEvent(QMouseEvent* event) override; |