#ifndef DUST3D_APPLICATION_BONE_PROPERTY_WIDGET_H_ #define DUST3D_APPLICATION_BONE_PROPERTY_WIDGET_H_ #include "document.h" #include #include class QLineEdit; class BonePropertyWidget : public QWidget { Q_OBJECT signals: void renameBone(const dust3d::Uuid& boneId, const QString& name); void groupOperationAdded(); public: BonePropertyWidget(Document* document, const std::vector& boneIds, QWidget* parent = nullptr); private slots: void nameEditChanged(); private: Document* m_document = nullptr; std::vector m_boneIds; dust3d::Uuid m_boneId; const Document::Bone* m_bone = nullptr; QLineEdit* m_nameEdit = nullptr; void prepareBoneIds(); }; #endif