#ifndef DUST3D_APPLICATION_BONE_PREVIEW_GRID_WIDGET_H_ #define DUST3D_APPLICATION_BONE_PREVIEW_GRID_WIDGET_H_ #include "bone_list_model.h" #include "document.h" #include "preview_grid_view.h" #include #include #include class BonePreviewGridWidget : public PreviewGridView { Q_OBJECT signals: void unselectAllOnCanvas(); void selectNodeOnCanvas(const dust3d::Uuid& nodeId); public: BonePreviewGridWidget(Document* document, QWidget* parent = nullptr); BoneListModel* boneListModel(); std::vector getSelectedBones() const; std::vector getSelectedBoneIds() const; private: std::unique_ptr m_boneListModel; Document* m_document = nullptr; }; #endif