#ifndef DUST3D_POSE_MANAGE_WIDGET_H #define DUST3D_POSE_MANAGE_WIDGET_H #include #include "document.h" #include "poselistwidget.h" class PoseManageWidget : public QWidget { Q_OBJECT signals: void registerDialog(QWidget *widget); void unregisterDialog(QWidget *widget); public: PoseManageWidget(const Document *document, QWidget *parent=nullptr); PoseListWidget *poseListWidget(); protected: virtual QSize sizeHint() const; public slots: void showAddPoseDialog(); void showPoseDialog(QUuid poseId); private: const Document *m_document = nullptr; PoseListWidget *m_poseListWidget = nullptr; }; #endif