#ifndef DUST3D_VERTEBRATA_MOVE_MOTION_PARAMETERS_WIDGET_H #define DUST3D_VERTEBRATA_MOVE_MOTION_PARAMETERS_WIDGET_H #include #include #include #include "vertebratamovemotionbuilder.h" class VertebrataMoveMotionParametersWidget : public QWidget { Q_OBJECT signals: void parametersChanged(); public: VertebrataMoveMotionParametersWidget(const std::map ¶meters=std::map()); const std::map &getParameters() const { return m_parameters; } static std::map fromVertebrataMoveMotionParameters(const VertebrataMoveMotionBuilder::Parameters &from); static VertebrataMoveMotionBuilder::Parameters toVertebrataMoveMotionParameters(const std::map ¶meters); private: std::map m_parameters; VertebrataMoveMotionBuilder::Parameters m_vertebrataMotionParameters; }; #endif