1 #ifndef _SEQUENCE_DESCRIPTION_H
2 #define _SEQUENCE_DESCRIPTION_H
4 #include <boost/shared_ptr.hpp>
13 #include "alg/glsequence.hpp"
15 class SequenceDescription : public QFrame
20 SequenceDescription(QWidget *parent=0);
21 SequenceDescription(boost::shared_ptr<GlSequence>, QWidget *);
22 void setName(std::string name);
24 boost::shared_ptr<GlSequence> glsequence();
25 std::string name() const;
30 //! Display the passed GlSequence information
31 void setGlSequence(boost::shared_ptr<GlSequence>);
32 //! set the name for our sequence
33 void setName(const QString& name);
34 void setPosition(int pos);
37 void glsequenceChanged(boost::shared_ptr<GlSequence>);
38 void nameChanged(const QString& name);
39 void positionChanged(int pos);
44 QLabel position_label;
46 boost::shared_ptr<GlSequence> glsequence_;
50 //! format the length and set the QLabel
51 void setLength(int length);